[arch-commits] Commit in python-hist/repos/community-any (PKGBUILD PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Sun Mar 6 12:33:43 UTC 2022
Date: Sunday, March 6, 2022 @ 12:33:43
Author: kgizdov
Revision: 1142333
archrelease: copy trunk to community-any
Added:
python-hist/repos/community-any/PKGBUILD
(from rev 1142332, python-hist/trunk/PKGBUILD)
Deleted:
python-hist/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-06 12:33:29 UTC (rev 1142332)
+++ PKGBUILD 2022-03-06 12:33:43 UTC (rev 1142333)
@@ -1,32 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname='hist'
-pkgname="python-${_pkgname}"
-pkgver='2.6.0'
-pkgrel=1
-pkgdesc="Python bindings for Boost's Histogram library."
-arch=('any')
-url='https://github.com/scikit-hep/hist'
-license=('custom:BSD3')
-depends=('python-boost-histogram' 'python-histoprint' 'python-typing_extensions')
-makedepends=('git' 'python-setuptools' 'python-setuptools-scm')
-checkdepends=('python-pytest' 'python-pytest-benchmark' 'python-pytest-mpl' 'python-iminuit' 'python-mplhep' 'python-scipy')
-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}"
- export PYTHONHASHSEED=0
- python setup.py install --skip-build --root="${pkgdir}/" --optimize=1
- install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-hist/repos/community-any/PKGBUILD (from rev 1142332, python-hist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-06 12:33:43 UTC (rev 1142333)
@@ -0,0 +1,32 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname='hist'
+pkgname="python-${_pkgname}"
+pkgver='2.6.0'
+pkgrel=2
+pkgdesc="Python bindings for Boost's Histogram library."
+arch=('any')
+url='https://github.com/scikit-hep/hist'
+license=('custom:BSD3')
+depends=('python-boost-histogram' 'python-histoprint' 'python-typing_extensions')
+makedepends=('git' 'python-setuptools' 'python-setuptools-scm')
+checkdepends=('python-pytest' 'python-pytest-benchmark' 'python-pytest-mpl' 'python-iminuit' 'python-mplhep' 'python-scipy')
+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}"
+ export PYTHONHASHSEED=0
+ 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