[arch-commits] Commit in python-uhi/repos/community-any (PKGBUILD PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Sun Mar 6 12:45:43 UTC 2022
Date: Sunday, March 6, 2022 @ 12:45:41
Author: kgizdov
Revision: 1142338
archrelease: copy trunk to community-any
Added:
python-uhi/repos/community-any/PKGBUILD
(from rev 1142337, python-uhi/trunk/PKGBUILD)
Deleted:
python-uhi/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-06 12:45:25 UTC (rev 1142337)
+++ PKGBUILD 2022-03-06 12:45:41 UTC (rev 1142338)
@@ -1,38 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname='uhi'
-pkgname="python-${_pkgname}"
-pkgver='0.3.0'
-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-setuptools' 'python-dephell')
-checkdepends=('python-pytest' 'python-boost-histogram' 'python-importlib-metadata')
-source=("${pkgname}-${pkgver}::git+${url}#tag=v${pkgver}")
-sha256sums=('SKIP')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- # tests rely on egg-info metadata
- python setup.py bdist_egg
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- cp -r src/"${_pkgname}".egg-info build/lib/
- PYTHONPATH="${PWD}/build/lib:${PWD}" 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-uhi/repos/community-any/PKGBUILD (from rev 1142337, python-uhi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-06 12:45:41 UTC (rev 1142338)
@@ -0,0 +1,38 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname='uhi'
+pkgname="python-${_pkgname}"
+pkgver='0.3.1'
+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-setuptools' 'python-dephell')
+checkdepends=('python-pytest' 'python-boost-histogram' 'python-importlib-metadata')
+source=("${pkgname}-${pkgver}::git+${url}#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # tests rely on egg-info metadata
+ python setup.py bdist_egg
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cp -r src/"${_pkgname}".egg-info build/lib/
+ PYTHONPATH="${PWD}/build/lib:${PWD}" 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