[arch-commits] Commit in python-sphinx-furo/trunk (PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Wed Feb 23 20:23:13 UTC 2022


    Date: Wednesday, February 23, 2022 @ 20:23:13
  Author: polyzen
Revision: 1136305

Switch to python-installer from python-pip

Modified:
  python-sphinx-furo/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-23 20:12:52 UTC (rev 1136304)
+++ PKGBUILD	2022-02-23 20:23:13 UTC (rev 1136305)
@@ -1,4 +1,5 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
 
 _pkgname=furo
 pkgname=python-sphinx-$_pkgname
@@ -9,8 +10,8 @@
 url='https://github.com/pradyunsg/furo'
 license=('MIT')
 depends=('python-sphinx' 'python-pygments' 'python-beautifulsoup4')
-makedepends=('python-build' 'python-pip' 'python-sphinx-theme-builder' 'python-flit-core'
-             'nodejs-lts-gallium' 'npm' 'expac')
+makedepends=('python-build' 'python-installer' 'python-sphinx-theme-builder' 'python-flit-core'
+             'nodejs-lts-gallium' 'npm')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
 sha512sums=('883b149e622aa020c0a2b6e5f85b463d0a13dcabace2d6068254c078dab198200a86b803f198fcdbc6d358aeeed84b2e6a292e6f2ed5f07d95659439cb2dc787')
 
@@ -37,7 +38,7 @@
 package() {
   cd $_pkgname-$pkgver
 
-  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   #install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
   #cp -r -a --no-preserve=ownership build/docs/html "$pkgdir"/usr/share/doc/$pkgname



More information about the arch-commits mailing list