Date: Monday, January 16, 2023 @ 11:30:59
Author: foxxx0
Revision: 1385682
archrelease: copy trunk to community-any
Added:
python-nine/repos/community-any/PKGBUILD
(from rev 1385681, python-nine/trunk/PKGBUILD)
Deleted:
python-nine/repos/community-any/PKGBUILD
----------+
PKGBUILD | 51 +++++++++++++++++++++++++--------------------------
1 file changed, 25 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-16 11:30:54 UTC (rev 1385681)
+++ PKGBUILD 2023-01-16 11:30:59 UTC (rev 1385682)
@@ -1,26 +0,0 @@
-# Maintainer: Thore Bödecker <[email protected]>
-# Contributor: Maikel Wever <[email protected]>
-pkgbase='python-nine'
-_pkgbase="${pkgbase#python-}"
-pkgname=('python-nine')
-pkgver=1.1.0
-pkgrel=5
-arch=('any')
-pkgdesc="Python 3/2 compatibility library, allowing to add py2 compat to py3
code"
-url="https://github.com/nandoflorestan/nine/"
-license=('custom')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://github.com/nandoflorestan/nine/archive/v${pkgver}.tar.gz")
-sha512sums=('b445cd1f324a0d2045081226fb650eebd8dbc86942faff204c19fffc022f0190fc04abec563b107cb860202d29f08c132056b1098495471fdfda104e57878828')
-
-check() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python ./setup.py test
-}
-
-package() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python ./setup.py install --root="$pkgdir/" --optimize=1
- install -D -m0644 LICENSE.rst
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
Copied: python-nine/repos/community-any/PKGBUILD (from rev 1385681,
python-nine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-16 11:30:59 UTC (rev 1385682)
@@ -0,0 +1,25 @@
+# Maintainer: Thore Bödecker <[email protected]>
+# Contributor: Maikel Wever <[email protected]>
+pkgname='python-nine'
+_pkgbase="${pkgname#python-}"
+pkgver=1.1.0
+pkgrel=6
+arch=('any')
+pkgdesc="Python 3/2 compatibility library, allowing to add py2 compat to py3
code"
+url="https://github.com/nandoflorestan/nine/"
+license=('custom')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${_pkgbase}-${pkgver}.tar.gz::https://github.com/nandoflorestan/nine/archive/v${pkgver}.tar.gz")
+sha512sums=('b445cd1f324a0d2045081226fb650eebd8dbc86942faff204c19fffc022f0190fc04abec563b107cb860202d29f08c132056b1098495471fdfda104e57878828')
+
+check() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python -m unittest discover -vs .
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python ./setup.py install --root="$pkgdir/" --optimize=1
+ install -D -m0644 LICENSE.rst
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}