Date: Monday, April 24, 2023 @ 18:04:57
Author: felixonmars
Revision: 1448566
archrelease: copy trunk to community-staging-any
Added:
python-hist/repos/community-staging-any/PKGBUILD
(from rev 1448565, python-hist/trunk/PKGBUILD)
Deleted:
python-hist/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-24 18:04:49 UTC (rev 1448565)
+++ PKGBUILD 2023-04-24 18:04:57 UTC (rev 1448566)
@@ -1,32 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname='hist'
-pkgname="python-${_pkgname}"
-pkgver='2.6.2'
-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-build' 'python-installer' 'python-wheel'
'python-setuptools-scm' 'python-hatchling' 'python-hatch-vcs')
-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 -m build --wheel --no-isolation
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- PYTHONPATH="${PWD}/src" pytest
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export PYTHONHASHSEED=0
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-hist/repos/community-staging-any/PKGBUILD (from rev 1448565,
python-hist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-24 18:04:57 UTC (rev 1448566)
@@ -0,0 +1,32 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname='hist'
+pkgname="python-${_pkgname}"
+pkgver='2.6.2'
+pkgrel=3
+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-build' 'python-installer' 'python-wheel'
'python-setuptools-scm' 'python-hatchling' 'python-hatch-vcs')
+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 -m build --wheel --no-isolation
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHONPATH="${PWD}/src" pytest
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export PYTHONHASHSEED=0
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}