diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-31 02:00:21 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-31 02:00:21 -0300 |
commit | e687ccf7db0743d0faa089cfe3359af08fc94996 (patch) | |
tree | a7b85d1f9274832be3f4394046ea64ba65d116bf | |
parent | 4109d4cb585571d4404156424cfefb72a712e780 (diff) | |
download | aports-e687ccf7db0743d0faa089cfe3359af08fc94996.tar.bz2 aports-e687ccf7db0743d0faa089cfe3359af08fc94996.tar.xz |
community/py3-execnet: upgrade to 1.7.1
-rw-r--r-- | community/py3-execnet/APKBUILD | 39 |
1 files changed, 10 insertions, 29 deletions
diff --git a/community/py3-execnet/APKBUILD b/community/py3-execnet/APKBUILD index db5a30f5f2..9c7d8b8b95 100644 --- a/community/py3-execnet/APKBUILD +++ b/community/py3-execnet/APKBUILD @@ -1,54 +1,35 @@ # Contributor: Dmitry Romanenko <dmitry@romanenko.in> # Maintainer: Dmitry Romanenko <dmitry@romanenko.in> -pkgname=py-execnet +pkgname=py3-execnet _pkgname=execnet -pkgver=1.7.0 +pkgver=1.7.1 pkgrel=0 pkgdesc="execnet: rapid multi-Python deployment" url="https://github.com/pytest-dev/execnet" arch="noarch" license="MIT" -depends="py-apipkg" +depends="py3-apipkg" # tests for py-gevent are broken, jython is missing in repo, eventlet is part # of testing -checkdepends="pytest py-py" -makedepends="py3-setuptools py-setuptools py-setuptools_scm" -subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" +checkdepends="py3-pytest py3-py" +makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver +replaces="py-execnet" # Backwards compatibility +provides="py-execnet=$pkgver-r$pkgrel" # Backwards compatibility + build() { - python2 setup.py build python3 setup.py build } check() { mv $builddir/doc/example/conftest.py $builddir - python2 -m pytest python3 -m pytest } package() { - mkdir -p "$pkgdir" -} - -_py2() { - replaces="$pkgname" - _py python2 -} - -_py3() { - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="5cc77f534d6a4966250a8494c53231dea938044268d3f81efd77ed20f5548ac167aa20e1e54fc3307828ba2937f5b1af44d2e8412110998b6016125fcf984c56 execnet-1.7.0.tar.gz" +sha512sums="375748c03f8d955bd8fca90d5c6308073c31a978fd7a604257512e0a710f899dec5db8a91d5bb5f16de9b0656e1742da9ab513827a1a065a5125bafcf1e63a70 execnet-1.7.1.tar.gz" |