[arch-commits] Commit in jupymake/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Jul 17 16:39:20 UTC 2022
Date: Sunday, July 17, 2022 @ 16:39:19
Author: arojas
Revision: 1254321
polymake 4.7 rebuild, switch to PEP517
Modified:
jupymake/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-17 16:32:27 UTC (rev 1254320)
+++ PKGBUILD 2022-07-17 16:39:19 UTC (rev 1254321)
@@ -4,22 +4,22 @@
pkgbase=jupymake
pkgname=python-jupymake
pkgver=0.9
-pkgrel=13
+pkgrel=14
pkgdesc='A Python interface to Polymake'
arch=(x86_64)
url='https://github.com/sebasguts/JuPyMake'
license=(GPL2)
depends=(python polymake)
-makedepends=(python-setuptools)
+makedepends=(python-build python-installer python-setuptools python-wheel)
source=(https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz)
sha256sums=('4c756cd6a6056a20cd71f7b5e463c79dad0257241bbd32a40b750882fafdb545')
build() {
cd $_name-$pkgver
- python setup.py build
+ python -m build --wheel --no-isolation
}
package_python-jupymake() {
cd $_name-$pkgver
- python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
More information about the arch-commits
mailing list