Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / python-plyvel
Commits: 46070d23 by Rafael Fontenelle at 2024-04-23T21:26:49+02:00 Use PEP 517 - - - - - 64c73282 by Rafael Fontenelle at 2024-04-23T21:27:49+02:00 Use SPDX license - - - - - a3d5c9ab by Rafael Fontenelle at 2024-04-23T21:29:22+02:00 RFC 0200 - Avoid PyPI for package source - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -6,12 +6,13 @@ pkgver=1.5.1 pkgrel=1 pkgdesc="A fast and feature-rich Python interface to LevelDB" arch=('x86_64') -license=('BSD') +license=('BSD-3-Clause') url="https://github.com/wbolster/plyvel" depends=('leveldb' 'python') makedepends=('cython' 'python-setuptools') +makedepends=('cython' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel') checkdepends=('python-pytest') -source=("https://pypi.io/packages/source/p/plyvel/plyvel-$pkgver.tar.gz") +source=("plyvel-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha512sums=('8f613197e85d085ea47e5a5d6b2bf0310f52fb51eeda6ed7f8cb559c192583f3cb25b66227876c01a08f6a355aafd5092673b7d5341b9b6e5d24546b7755d275') prepare() { @@ -23,7 +24,7 @@ prepare() { build() { cd plyvel-$pkgver make cython - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -34,6 +35,6 @@ check() { package() { cd plyvel-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-plyvel/-/compare/c84a4654e388190ab40d21bf5b63b01aa7e68233...a3d5c9ab8b374f2b5ea7a5ebe60d96e51cafeef9 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-plyvel/-/compare/c84a4654e388190ab40d21bf5b63b01aa7e68233...a3d5c9ab8b374f2b5ea7a5ebe60d96e51cafeef9 You're receiving this email because of your account on gitlab.archlinux.org.