git » python-structlog.git » commit ee1747e

Switch to python-installer from python-install

author Daniel M. Capella
2022-02-16 23:46:54 UTC
committer Daniel M. Capella
2022-02-16 23:46:54 UTC
parent 183a8cc53b3ab396ad3371b259eab59400e95882

Switch to python-installer from python-install

PKGBUILD +2 -2

diff --git a/PKGBUILD b/PKGBUILD
index 341387c..4a040e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ url="https://www.structlog.org"
 license=('Apache')
 arch=('any')
 depends=('python')
-makedepends=('python-build' 'python-flit-core' 'python-install')
+makedepends=('python-build' 'python-flit-core' 'python-installer')
 checkdepends=('python-pytest' 'python-freezegun' 'python-pretend' 'python-simplejson'
               'python-twisted' 'python-rapidjson' 'python-greenlet' 'python-pytest-asyncio'
               'python-rich')
@@ -29,5 +29,5 @@ check() {
 
 package() {
   cd structlog-$pkgver
-  python -m install --optimize 0 1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }