Mail archive
alpine-aports

Re: [alpine-aports] [PATCH 2/9] main/py-freezegun: new APKBUILD

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Wed, 3 Apr 2019 21:21:01 +0200

On Wed, 3 Apr 2019 15:09:47 -0400
Drew DeVault <sir_at_cmpwn.com> wrote:

> ---
> main/py-freezegun/APKBUILD | 60 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 60 insertions(+)
> create mode 100644 main/py-freezegun/APKBUILD
>
> diff --git a/main/py-freezegun/APKBUILD b/main/py-freezegun/APKBUILD
> new file mode 100644
> index 0000000000..27ba843ae7

...

> +depends="py2-six py3-six py-dateutil"

...

> +_py() {
> + _python="$1"
> + pkgdesc="$pkgdesc (for $_python)"
> + depends="$depends $_python"

this means that py2-freezegun will depend on py3-six and py3-freezegun
will depend on py2-six. Is that intentional?


-nc

> + install_if="$pkgname=$pkgver-r$pkgrel $_python"
> + $_python setup.py install --prefix=/usr --root="$subpkgdir"
> +}
> +
> +sha512sums="e8b392176641d52f6ed795c9af5fbc0a62892aeedf32b42375b56ab44a9ad7a5ecd3bb81363ed0ae65204aff2ef894cd7f2e17f42be72f31d3409b2bffa59ab8 freezegun-0.3.11.tar.gz"



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Apr 03 2019 - 21:21:01 UTC