diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-30 01:12:10 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-30 01:44:04 -0300 |
commit | 1c354778159c3980bcdd1c5a1314951aad6a15f7 (patch) | |
tree | 13758e0efd9b07be4cf1f36a6359cb415fa26cae /testing/py3-vine | |
parent | aa7e37f703fdfc2998489b8bd6fca358fb444bcf (diff) | |
download | aports-1c354778159c3980bcdd1c5a1314951aad6a15f7.tar.bz2 aports-1c354778159c3980bcdd1c5a1314951aad6a15f7.tar.xz |
testing/py3-vine: upgrade to 1.3.0
Diffstat (limited to 'testing/py3-vine')
-rw-r--r-- | testing/py3-vine/APKBUILD | 50 |
1 files changed, 17 insertions, 33 deletions
diff --git a/testing/py3-vine/APKBUILD b/testing/py3-vine/APKBUILD index 2c2c77a567..db2a2fc500 100644 --- a/testing/py3-vine/APKBUILD +++ b/testing/py3-vine/APKBUILD @@ -1,46 +1,30 @@ -# Maintainer: -pkgname=py-vine -pkgver=1.1.4 -pkgrel=1 +# Maintainer: +pkgname=py3-vine +pkgver=1.3.0 +pkgrel=0 pkgdesc="futures and promises implementation for python" -url="https://pypi.python.org/pypi/vine/" +url="https://github.com/celery/vine" arch="noarch" -license="BSD" -depends="" -makedepends="python2-dev python3-dev py-setuptools" -install="" -subpackages="py2-vine:py2 py3-vine:py3" +license="BSD-3-Clause" +depends="python3" +makedepends="py3-setuptools" +checkdepends="py3-pytest py3-case py3-nose" source="https://files.pythonhosted.org/packages/source/v/vine/vine-$pkgver.tar.gz" builddir="$srcdir/vine-$pkgver" +replaces="py-vine" # Backwards compatibility +provides="py-vine=$pkgver-r$pkgrel" # Backwards compatibility + build() { - cd "$_builddir" - python2 setup.py build python3 setup.py build } -package() { - mkdir -p "$pkgdir" -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc ${python#python}" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -py2() { - cd "$builddir" - _py python2 +check() { + python3 -m pytest } -py3() { - cd "$builddir" - _py python3 +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="b85438cd30b3cb6c642380b3da120783cf2d4306366e04a141061d40cf6b8ce5b52ca15562b71f28392ad376c1f160b39162fa7933665b5c21179b0994347460 vine-1.1.4.tar.gz" +sha512sums="f7242378ebc9b591b6e0a7b6263514f32cee4b996bc6461313221b9a391dd0dd1d833591d6e9ca72ae003f6ce5c4204856d49bb5e57c69a125072cac25758688 vine-1.3.0.tar.gz" |