Skip to content
Snippets Groups Projects
Commit d15796cb authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/py3-pyee: upgrade to 11.0.0

parent c4ad0ac9
No related branches found
No related tags found
1 merge request!48415community/py3-pyee: upgrade to 11.0.0
Pipeline #169133 canceled
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pyee
pkgver=8.2.2
pkgrel=3
pkgver=11.0.0
pkgrel=0
pkgdesc="A port of node.js's EventEmitter to Python"
url="https://github.com/jfhbrook/pyee"
arch="noarch"
......@@ -12,16 +12,16 @@ depends="
py3-trio
py3-twisted
py3-vcversioner
python3
"
makedepends="
py3-pytest-asyncio
py3-pytest-runner
py3-pytest-trio
py3-gpep517
py3-setuptools
py3-wheel
"
checkdepends="
py3-mock
py3-pytest-asyncio
py3-pytest-trio
pytest
"
subpackages="$pkgname-pyc"
......@@ -29,17 +29,22 @@ source="https://pypi.python.org/packages/source/p/pyee/pyee-$pkgver.tar.gz"
builddir="$srcdir/pyee-$pkgver"
build() {
python3 setup.py build
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
PYTHONPATH="$PWD/build/lib" pytest
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
1b2b64631c16a203b690579f20bf9ece25d438604c772dd10e9f06f0d3ef5a1452de8343c995cd50743f6f3b5311b299509209a9ecab28b72b20c1d1bec7ad37 pyee-8.2.2.tar.gz
835a0b3c954e18ae0bf60f17b161f06ce2b50e3b47f23fdf9755db5c84958c145094206e7f1ab4680f9dec9b0e540c014a3deaead730ce9256b7b245ef34a8b6 pyee-11.0.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment