Date: Saturday, April 8, 2023 @ 05:00:47
Author: felixonmars
Revision: 1441743
archrelease: copy trunk to community-staging-any
Added:
python-requests-gssapi/repos/community-staging-any/
python-requests-gssapi/repos/community-staging-any/PKGBUILD
(from rev 1441740, python-requests-gssapi/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-requests-gssapi/repos/community-staging-any/PKGBUILD (from rev
1441740, python-requests-gssapi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 05:00:47 UTC (rev 1441743)
@@ -0,0 +1,26 @@
+# Maintainer:
+# Contributor: Mantas Mikulėnas <[email protected]>
+
+_pkgname=requests-gssapi
+pkgname=python-requests-gssapi
+pkgver=1.2.3
+pkgrel=3
+pkgdesc="GSSAPI (HTTP Negotiate) authentication for Python-Requests"
+url="https://github.com/pythongssapi/requests-gssapi"
+arch=(any)
+license=(custom:ISC)
+depends=(python-gssapi python-requests)
+makedepends=(python-setuptools)
+source=(https://github.com/pythongssapi/requests-gssapi/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('0ce61f46476dfd36227d74c330a6e1287236fb5fdb7daa9a54aaa47f0093d815')
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}