Date: Tuesday, November 1, 2022 @ 19:28:08
Author: arojas
Revision: 1340279
archrelease: copy trunk to community-x86_64
Added:
python-krb5/repos/community-x86_64/PKGBUILD
(from rev 1340278, python-krb5/trunk/PKGBUILD)
Deleted:
python-krb5/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-01 19:28:00 UTC (rev 1340278)
+++ PKGBUILD 2022-11-01 19:28:08 UTC (rev 1340279)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <[email protected]>
-
-_pkg=krb5
-pkgname=python-${_pkg}
-pkgver=0.3.0
-pkgrel=1
-pkgdesc="krb5 API interface"
-arch=(x86_64)
-url="https://github.com/jborean93/pykrb5"
-license=(MIT)
-depends=(python krb5)
-makedepends=(cython python-setuptools)
-checkdepends=(python-pytest python-k5test)
-# No tests in pypi tarball
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('65f321e84f6e57465cb72edf01e3b2af13f191aebcbf6f2f8c3b39d1678f1b06')
-
-build() {
- cd py${_pkg}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd py${_pkg}-${pkgver}
- local python_version=$(python -c 'import sys; print(".".join(map(str,
sys.version_info[:2])))')
- PYTHONPATH="${PWD}"/build/lib.linux-$CARCH-${python_version} pytest -vv
--color=yes
-}
-
-package() {
- cd py${_pkg}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build
--optimize=1
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-krb5/repos/community-x86_64/PKGBUILD (from rev 1340278,
python-krb5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-01 19:28:08 UTC (rev 1340279)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+_pkg=krb5
+pkgname=python-${_pkg}
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="krb5 API interface"
+arch=(x86_64)
+url="https://github.com/jborean93/pykrb5"
+license=(MIT)
+depends=(python krb5)
+makedepends=(cython python-setuptools)
+checkdepends=(python-pytest python-k5test)
+# No tests in pypi tarball
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('fc7329c91eff254f46d01088995e12127844a79bcaac14ba29cbd7ec6bcbdd37')
+
+build() {
+ cd py${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd py${_pkg}-${pkgver}
+ local python_version=$(python -c 'import sys; print(".".join(map(str,
sys.version_info[:2])))')
+ PYTHONPATH="${PWD}"/build/lib.linux-$CARCH-cpython-${python_version/./}
pytest -vv --color=yes
+}
+
+package() {
+ cd py${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build
--optimize=1
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}