Date: Tuesday, November 22, 2022 @ 21:21:22
Author: kgizdov
Revision: 1351894
archrelease: copy trunk to community-any
Added:
python-uhi/repos/community-any/PKGBUILD
(from rev 1351893, python-uhi/trunk/PKGBUILD)
Deleted:
python-uhi/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-22 21:21:16 UTC (rev 1351893)
+++ PKGBUILD 2022-11-22 21:21:22 UTC (rev 1351894)
@@ -1,33 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname='uhi'
-pkgname="python-${_pkgname}"
-pkgver='0.3.1'
-pkgrel=2
-pkgdesc="Contains the code for the PlottableHistogram Protocol, to be used in
type checking libraries wanting to conform to the protocol."
-arch=('any')
-url='https://github.com/scikit-hep/uhi'
-license=('MIT')
-depends=('python-numpy' 'python-typing_extensions' 'root')
-makedepends=('git' 'python-build' 'python-installer' 'python-flit-core'
'python-flit')
-checkdepends=('python-pytest' 'python-boost-histogram'
'python-importlib-metadata')
-source=("${pkgname}-${pkgver}::git+${url}#tag=v${pkgver}")
-sha256sums=('SKIP')
-
-build() {
- cd ${pkgname}-${pkgver}
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python -m venv --system-site-packages test-env
- test-env/bin/python -m installer dist/*.whl
- test-env/bin/python -m pytest
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python -m installer --destdir="${pkgdir}" dist/*.whl
- install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-uhi/repos/community-any/PKGBUILD (from rev 1351893,
python-uhi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-22 21:21:22 UTC (rev 1351894)
@@ -0,0 +1,33 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname='uhi'
+pkgname="python-${_pkgname}"
+pkgver='0.3.2'
+pkgrel=1
+pkgdesc="Contains the code for the PlottableHistogram Protocol, to be used in
type checking libraries wanting to conform to the protocol."
+arch=('any')
+url='https://github.com/scikit-hep/uhi'
+license=('MIT')
+depends=('python-numpy' 'python-typing_extensions' 'root')
+makedepends=('git' 'python-build' 'python-installer' 'python-flit-core'
'python-flit' 'python-hatchling')
+checkdepends=('python-pytest' 'python-boost-histogram'
'python-importlib-metadata')
+source=("${pkgname}-${pkgver}::git+${url}#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ test-env/bin/python -m pytest
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}