[arch-commits] Commit in python-pyspnego/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Wed Jul 28 21:53:35 UTC 2021


    Date: Wednesday, July 28, 2021 @ 21:53:34
  Author: archange
Revision: 989585

archrelease: copy trunk to community-any

Added:
  python-pyspnego/repos/community-any/PKGBUILD
    (from rev 989584, python-pyspnego/trunk/PKGBUILD)
Deleted:
  python-pyspnego/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-28 21:53:30 UTC (rev 989584)
+++ PKGBUILD	2021-07-28 21:53:34 UTC (rev 989585)
@@ -1,35 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=pyspnego
-pkgname=python-${_pkg}
-pkgver=0.1.5
-pkgrel=1
-pkgdesc="SPNEGO Authentication library"
-arch=(any)
-url="https://github.com/jborean93/pyspnego"
-license=(MIT)
-depends=(python-cryptography)
-makedepends=(python-setuptools)
-checkdepends=(cython python-pytest python-pytest-mock python-gssapi python-ruamel-yaml)
-optdepends=('python-gssapi: Kerberos support'
-            'python-ruamel-yaml: YAML configuration')
-# 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=('64a6f700b453fe2bee7f87f9c5f34d22165e052e0c34ae5ad2ff756a607ed3de')
-
-build() {
-  cd ${_pkg}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  py.test -v
-}
-
-package() {
-  cd ${_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-pyspnego/repos/community-any/PKGBUILD (from rev 989584, python-pyspnego/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-28 21:53:34 UTC (rev 989585)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pyspnego
+pkgname=python-${_pkg}
+pkgver=0.1.6
+pkgrel=1
+pkgdesc="SPNEGO Authentication library"
+arch=(any)
+url="https://github.com/jborean93/pyspnego"
+license=(MIT)
+depends=(python-cryptography)
+makedepends=(python-setuptools)
+checkdepends=(cython python-pytest python-pytest-mock python-gssapi python-ruamel-yaml)
+optdepends=('python-gssapi: Kerberos support'
+            'python-ruamel-yaml: YAML configuration')
+# 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=('2f0d35d85bf7178fbcf58cb955505c20dca31b047ed092e6f8d3265730eabdd8')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest -v
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  export PYTHONHASHSEED=0
+  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