[arch-commits] Commit in python-histoprint/repos/community-any (PKGBUILD PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Fri Jan 7 13:45:42 UTC 2022
Date: Friday, January 7, 2022 @ 13:45:42
Author: kgizdov
Revision: 1095893
archrelease: copy trunk to community-any
Added:
python-histoprint/repos/community-any/PKGBUILD
(from rev 1095892, python-histoprint/trunk/PKGBUILD)
Deleted:
python-histoprint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-07 13:45:36 UTC (rev 1095892)
+++ PKGBUILD 2022-01-07 13:45:42 UTC (rev 1095893)
@@ -1,31 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname='histoprint'
-pkgname="python-${_pkgname}"
-pkgver='2.2.0'
-pkgrel=1
-pkgdesc="Pretty print Numpy (and other) histograms to the console."
-arch=('any')
-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')
-checkdepends=('python-pytest')
-source=("${pkgname}-${pkgver}::git+${url}#tag=v${pkgver}")
-sha256sums=('SKIP')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- PYTHONPATH="${PWD}/build/lib" pytest
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py install --skip-build --root="${pkgdir}/" --optimize=1
- install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-histoprint/repos/community-any/PKGBUILD (from rev 1095892, python-histoprint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-07 13:45:42 UTC (rev 1095893)
@@ -0,0 +1,31 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname='histoprint'
+pkgname="python-${_pkgname}"
+pkgver='2.2.1'
+pkgrel=1
+pkgdesc="Pretty print Numpy (and other) histograms to the console."
+arch=('any')
+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')
+checkdepends=('python-pytest')
+source=("${pkgname}-${pkgver}::git+${url}#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHONPATH="${PWD}/build/lib" pytest
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --skip-build --root="${pkgdir}/" --optimize=1
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list