[arch-commits] Commit in python-nkdfu/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Feb 16 23:48:52 UTC 2022
Date: Wednesday, February 16, 2022 @ 23:48:52
Author: polyzen
Revision: 1133589
Switch to python-installer from python-install
Modified:
python-nkdfu/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-16 23:48:51 UTC (rev 1133588)
+++ PKGBUILD 2022-02-16 23:48:52 UTC (rev 1133589)
@@ -9,7 +9,7 @@
url="https://github.com/Nitrokey/nkdfu"
license=('GPL2')
depends=('python-fire' 'python-tqdm' 'python-intelhex' 'python-libusb1')
-makedepends=('python-build' 'python-flit' 'python-install' 'python-wheel')
+makedepends=('python-build' 'python-flit' 'python-installer' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('63c1a89df0818b704d32167df5237afd20d26b4f9d6df3c830fa15cc02f01f90')
b2sums=('d85d7280edabfe223a0c273d30d4388c78ba50db81a649eb6a45f678df3368e2700498eac12670342fad19f000108f14167adaa010e0ec48024a85c5222be70a')
@@ -25,8 +25,6 @@
package() {
cd "$pkgname-$pkgver"
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
- # https://github.com/FFY00/python-install/pull/6
- chmod +x "$pkgdir"/usr/bin/*
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list