mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# Contributor: Dmitry Romanenko <dmitry@romanenko.in>
|
|
# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
|
|
pkgname=py3-execnet
|
|
_pkgname=execnet
|
|
pkgver=1.7.1
|
|
pkgrel=1
|
|
pkgdesc="execnet: rapid multi-Python deployment"
|
|
url="https://github.com/pytest-dev/execnet"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-apipkg"
|
|
# tests for py-gevent are broken, jython is missing in repo, eventlet is part
|
|
# of testing
|
|
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() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
mv $builddir/doc/example/conftest.py $builddir
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="375748c03f8d955bd8fca90d5c6308073c31a978fd7a604257512e0a710f899dec5db8a91d5bb5f16de9b0656e1742da9ab513827a1a065a5125bafcf1e63a70 execnet-1.7.1.tar.gz"
|