[arch-commits] Commit in python-histoprint/repos/community-any (PKGBUILD PKGBUILD)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Wed Dec 15 19:34:06 UTC 2021


    Date: Wednesday, December 15, 2021 @ 19:34:06
  Author: kgizdov
Revision: 1073431

archrelease: copy trunk to community-any

Added:
  python-histoprint/repos/community-any/PKGBUILD
    (from rev 1073430, python-histoprint/trunk/PKGBUILD)
Deleted:
  python-histoprint/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-15 19:34:00 UTC (rev 1073430)
+++ PKGBUILD	2021-12-15 19:34:06 UTC (rev 1073431)
@@ -1,31 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname='histoprint'
-pkgname="python-${_pkgname}"
-pkgver='1.6.0'
-pkgrel=2
-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')
-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" python tests/test.py
-}
-
-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 1073430, python-histoprint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-15 19:34:06 UTC (rev 1073431)
@@ -0,0 +1,31 @@
+# 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"
+}



More information about the arch-commits mailing list