[arch-commits] Commit in python-requests-kerberos/repos (2 files)

Anatol Pomozov anatolik at gemini.archlinux.org
Fri Jan 7 18:31:24 UTC 2022


    Date: Friday, January 7, 2022 @ 18:31:24
  Author: anatolik
Revision: 1096007

archrelease: copy trunk to community-testing-any

Added:
  python-requests-kerberos/repos/community-testing-any/
  python-requests-kerberos/repos/community-testing-any/PKGBUILD
    (from rev 1096005, python-requests-kerberos/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-requests-kerberos/repos/community-testing-any/PKGBUILD (from rev 1096005, python-requests-kerberos/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-01-07 18:31:24 UTC (rev 1096007)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-requests-kerberos
+pkgver=0.14.0
+pkgrel=1
+pkgdesc="A kerberos of useful classes and functions to be used with python-requests."
+arch=('any')
+url="https://github.com/requests/requests-kerberos"
+license=('Apache')
+depends=('python-requests' 'python-pykerberos' 'python-cryptography')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-pyspnego' 'python-pytest-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/requests-kerberos/archive/v$pkgver.tar.gz")
+sha512sums=('9dd6eed0d6afe4b852ba96f621be3af2965e9011bf372c5dce77e0bca18191255ea407ba313904271615d722d60029807db2d6815b24437b021b02b026eb60d6')
+
+build() {
+  cd "$srcdir"/requests-kerberos-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/requests-kerberos-$pkgver
+  py.test
+}
+
+package_python-requests-kerberos() {
+  cd "$srcdir"/requests-kerberos-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list