Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-periphery
Commits: 44fefe1d by Rafael Fontenelle at 2024-03-08T15:19:57-03:00 Use PEP 517 - - - - - 665b1137 by Rafael Fontenelle at 2024-03-08T15:20:05-03:00 Remove python-pytest-runner - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -8,23 +8,23 @@ url="https://github.com/vsergeev/python-periphery" license=('MIT') arch=('any') depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner') +makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel') +checkdepends=('python-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/vsergeev/python-periphery/archive/v$pkgver.tar.gz") sha512sums=('34042d9364d7846252f464cffb1361ea1c4717cce9c1fd6788f4be495784a17c42fc5fcf3f296a7d7277c420ed876f6c2815f9e46936460275356405911cb50d') build() { cd python-periphery-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { cd python-periphery-$pkgver - python setup.py pytest || echo "Tests failed" + pytest || echo "Tests failed" } package() { cd python-periphery-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + 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-periphery/-/compare/462e02f25c439a57e2c01a47859f2ea714f86373...665b11371f44508c762a4dbac6734a05d65b186f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-periphery/-/compare/462e02f25c439a57e2c01a47859f2ea714f86373...665b11371f44508c762a4dbac6734a05d65b186f You're receiving this email because of your account on gitlab.archlinux.org.