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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 21:43:31 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:43:31
  Author: foutrelis
Revision: 1058972

archrelease: copy trunk to community-staging-any

Added:
  python-requests-ntlm/repos/community-staging-any/
  python-requests-ntlm/repos/community-staging-any/PKGBUILD
    (from rev 1058971, python-requests-ntlm/trunk/PKGBUILD)

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

Copied: python-requests-ntlm/repos/community-staging-any/PKGBUILD (from rev 1058971, python-requests-ntlm/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:43:31 UTC (rev 1058972)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Christoph W <c w e g e n e r at gmail dot com>
+# Contributor: Gary van der Merwe <g a r y v d m at gmail dot com>
+
+pkgname=python-requests-ntlm
+_module='requests_ntlm'
+pkgver=1.1.0
+pkgrel=7
+pkgdesc="Allows for HTTP NTLM authentication using the requests library."
+url="https://github.com/requests/requests-ntlm"
+depends=('python' 'python-requests' 'python-ntlm-auth')
+makedepends=(python-setuptools)
+license=('custom:ISC License (ISCL)')
+arch=(any)
+source=("https://files.pythonhosted.org/packages/source/r/requests_ntlm/requests_ntlm-${pkgver}.tar.gz")
+sha512sums=('9a74ecd6e4ed5c5e4381d2ee3fb9ff233352b49baa5fae4e0ecc30aaad12fc7a5c1b9dd936f35d4a3815ae7f6ec5bb8581e84128d63ff0e961181408daddb807')
+
+build() {
+    cd "${srcdir}/${_module}-${pkgver}"
+    python setup.py build
+}
+
+package() {
+    cd "${srcdir}/${_module}-${pkgver}"
+    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-requests-ntlm/LICENSE"
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list