[arch-commits] Commit in python-krb5/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Mar 20 15:12:59 UTC 2022
Date: Sunday, March 20, 2022 @ 15:12:59
Author: archange
Revision: 1163815
archrelease: copy trunk to community-x86_64
Added:
python-krb5/repos/community-x86_64/PKGBUILD
(from rev 1163814, 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-03-20 15:12:34 UTC (rev 1163814)
+++ PKGBUILD 2022-03-20 15:12:59 UTC (rev 1163815)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=krb5
-pkgname=python-${_pkg}
-pkgver=0.1.2
-pkgrel=3
-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=('efba34f2e114517414a9e497adbf5f0272c6fe7ced9a004119ea5c1ef293f1e3')
-
-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 -v
-}
-
-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 1163814, python-krb5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-20 15:12:59 UTC (rev 1163815)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_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}
+}
More information about the arch-commits
mailing list