[arch-commits] Commit in python-pyspnego/repos/community-any (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sat Oct 16 22:05:52 UTC 2021
Date: Saturday, October 16, 2021 @ 22:05:52
Author: archange
Revision: 1030598
archrelease: copy trunk to community-any
Added:
python-pyspnego/repos/community-any/PKGBUILD
(from rev 1030597, python-pyspnego/trunk/PKGBUILD)
Deleted:
python-pyspnego/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-16 22:05:26 UTC (rev 1030597)
+++ PKGBUILD 2021-10-16 22:05:52 UTC (rev 1030598)
@@ -1,36 +0,0 @@
-# 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}
-}
Copied: python-pyspnego/repos/community-any/PKGBUILD (from rev 1030597, python-pyspnego/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-16 22:05:52 UTC (rev 1030598)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pyspnego
+pkgname=python-${_pkg}
+pkgver=0.2.0
+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-krb5 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=('3d201f33c73d5455d3e6db1892585c6962d6181d0fe3fe0549483ff1febf3451')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ # https://github.com/jborean93/pyspnego/issues/24
+ pytest -v -k "not test_credssp_invalid_client_authentication_v2 and not test_credssp_invalid_client_authentication"
+}
+
+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}
+}
More information about the arch-commits
mailing list