Mail archive
alpine-aports

Re: [alpine-aports] [PATCH v3 04/10] py-dateutil: adopt, upgrade to 2.8.0

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Thu, 4 Apr 2019 14:12:41 +0200

On Wed, 3 Apr 2019 16:16:36 -0400
Drew DeVault <sir_at_cmpwn.com> wrote:

> ---
> main/py-dateutil/APKBUILD | 61 +++++++++++++++++++++++++--------------
> 1 file changed, 39 insertions(+), 22 deletions(-)
>
> diff --git a/main/py-dateutil/APKBUILD b/main/py-dateutil/APKBUILD
> index 813966756b..d56419baf3 100644
> --- a/main/py-dateutil/APKBUILD
> +++ b/main/py-dateutil/APKBUILD
> _at_@ -1,23 +1,41 @@
> -# Contributor:
> -# Maintainer:
> +# Maintainer: Drew DeVault <sir_at_cmpwn.com>
> pkgname=py-dateutil
> -_pkgname=python-dateutil
> -pkgver=2.7.3
> +_pyname=python-dateutil
> +pkgver=2.8.0
> pkgrel=0
> pkgdesc="Python extensions for datetime module"
> url="https://dateutil.readthedocs.io"
> arch="noarch"
> -license="BSD"
> -depends="py-six"
> -makedepends="python2-dev python3-dev py-setuptools"
> +license="Apache-2.0"
> +_py2_deps="py2-six"
> +_py3_deps="py3-six"
> +makedepends="
> + $_py2_deps $_py3_deps python2-dev python3-dev py2-setuptools py3-setuptools
> +"
> +checkdepends="
> + pytest py3-pytest py2-hypothesis py3-hypothesis py2-freezegun py3-freezegun
> +"

Adding py-freezegun introduces a circular dependency, as freezegun
depends on dateutil.

We dont really have any good strategy yet how to deal with packages
needing bootstrap. We could have things like stage1_makdepends,
stage1_checkdepends or similar, and then rebuild all packages with
stage1_* set as a second stage.

But this is a can of worms, so I think for now we should keep things
simple and just disable tests. At least til after 3.10 release.

-nc


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Apr 04 2019 - 14:12:41 UTC