[arch-commits] Commit in python-histoprint/trunk (PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Mon Jun 13 13:41:00 UTC 2022
Date: Monday, June 13, 2022 @ 13:41:00
Author: kgizdov
Revision: 1237517
upgpkg: python-histoprint 2.4.0-1
Modified:
python-histoprint/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-13 13:40:51 UTC (rev 1237516)
+++ PKGBUILD 2022-06-13 13:41:00 UTC (rev 1237517)
@@ -2,7 +2,7 @@
_pkgname='histoprint'
pkgname="python-${_pkgname}"
-pkgver='2.2.1'
+pkgver='2.4.0'
pkgrel=1
pkgdesc="Pretty print Numpy (and other) histograms to the console."
arch=('any')
@@ -9,7 +9,7 @@
url='https://github.com/scikit-hep/histoprint'
license=('MIT')
depends=('python-numpy' 'python-click' 'python-uhi')
-makedepends=('git' 'python-setuptools' 'python-setuptools-scm' 'python-toml')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm' 'python-toml')
checkdepends=('python-pytest')
source=("${pkgname}-${pkgver}::git+${url}#tag=v${pkgver}")
sha256sums=('SKIP')
@@ -16,7 +16,7 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
@@ -26,6 +26,6 @@
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py install --skip-build --root="${pkgdir}/" --optimize=1
+ python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list