[arch-commits] Commit in rofimoji/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Wed Jun 24 22:53:35 UTC 2020


    Date: Wednesday, June 24, 2020 @ 22:53:34
  Author: polyzen
Revision: 652544

Build and install wheel

https://github.com/pypa/setuptools/issues/510

The previous commit seems to have included some unintended changes.

Modified:
  rofimoji/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-24 22:50:40 UTC (rev 652543)
+++ PKGBUILD	2020-06-24 22:53:34 UTC (rev 652544)
@@ -2,7 +2,7 @@
 
 pkgname=rofimoji
 pkgver=4.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Character picker for rofi'
 arch=('any')
 url=https://github.com/fdw/rofimoji
@@ -9,18 +9,18 @@
 license=('MIT')
 depends=('emoji-font' 'python-configargparse' 'python-setuptools' 'python-xdg'
          'rofi' 'xdotool' 'xsel')
-makedepends=('python-wheel')
+makedepends=('python-pip' 'python-wheel')
 source=("$url/archive/$pkgver/rofimoji-$pkgver.tar.gz")
 sha512sums=('8ca611b1b3c7388671c89235b8fc859680350aba5ae2401764e64f3e631ec538e004ec2fdfce5d392d44450fc3b5a2f00d6c687be9c4429fb03630a3537e83ba')
 
 build() {
   cd rofimoji-$pkgver
-  python setup.py build
+  python setup.py bdist_wheel
 }
 
 package() {
   cd rofimoji-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list