Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / python-hpack
Commits: bacf72e1 by Rafael Fontenelle at 2024-02-28T21:45:12-03:00 Remove pytest-runner, use pypa build and installer - - - - - 1395ca4f by Daniel M. Capella at 2024-02-28T21:52:27-05:00 Add SRCINFO - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,18 @@ +pkgbase = python-hpack + pkgdesc = Pure-Python HPACK header compression + pkgver = 4.0.0 + pkgrel = 4 + url = https://hyper.rtfd.org/ + arch = any + license = MIT + checkdepends = python-pytest + checkdepends = python-hypothesis + makedepends = python-setuptools + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + depends = python + source = https://github.com/python-hyper/hpack/archive/v4.0.0/python-hpack-4.0.0.tar.gz + sha512sums = f482d086d7a82649393e3cfea55c98966ce57055cb1826bc4dec1ea334661c02708e7903f2e8e588ee1c30df41373e1de9fb960c2e7bbc18d0ace0b8f97b195b + +pkgname = python-hpack ===================================== PKGBUILD ===================================== @@ -8,23 +8,23 @@ arch=('any') url="https://hyper.rtfd.org/" license=('MIT') depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-hypothesis') +makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel') +checkdepends=('python-pytest' 'python-hypothesis') source=("https://github.com/python-hyper/hpack/archive/v$pkgver/$pkgname-$pkgver.tar.gz") sha512sums=('f482d086d7a82649393e3cfea55c98966ce57055cb1826bc4dec1ea334661c02708e7903f2e8e588ee1c30df41373e1de9fb960c2e7bbc18d0ace0b8f97b195b') build() { cd hpack-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { cd hpack-$pkgver - python setup.py pytest + PYTHONPATH="$PWD/src" pytest } package() { cd hpack-$pkgver - python setup.py install -O1 --root "$pkgdir" + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-hpack/-/compare/9c676b7e1dcde66944e2436933db28d67ec06d9f...1395ca4f24a5af17c9d33149e40d47567fdb9cd1 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-hpack/-/compare/9c676b7e1dcde66944e2436933db28d67ec06d9f...1395ca4f24a5af17c9d33149e40d47567fdb9cd1 You're receiving this email because of your account on gitlab.archlinux.org.