[arch-commits] Commit in python-cppy/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Jun 29 14:21:47 UTC 2022
Date: Wednesday, June 29, 2022 @ 14:21:47
Author: felixonmars
Revision: 1240532
upgpkg: python-cppy 1.2.1-2: fix broken distribution
Modified:
python-cppy/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-29 14:21:46 UTC (rev 1240531)
+++ PKGBUILD 2022-06-29 14:21:47 UTC (rev 1240532)
@@ -2,13 +2,13 @@
pkgname=python-cppy
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="A collection of C++ headers which make it easier to write Python C extension modules"
url="https://github.com/nucleic/cppy"
license=('BSD')
arch=('any')
depends=('python')
-makedepends=('python-setuptools-scm')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
checkdepends=('python-pytest')
source=("https://github.com/nucleic/cppy/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('f6493830a8a66f52fff7c592db9d255fd7178ba320faee6a96258f29b6f299ffeca83f001650390b05c1037eb1350b0bd4da701d77a7bcb1a1babc108b7b8f97')
@@ -17,7 +17,7 @@
build() {
cd cppy-$pkgver
- python setup.py build
+ python -m build -wn
}
check() {
@@ -27,6 +27,6 @@
package() {
cd cppy-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
+ python -m installer -d "$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
More information about the arch-commits
mailing list