[arch-commits] Commit in python-requests-ntlm/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 19:24:04 UTC 2020
Date: Monday, November 9, 2020 @ 19:24:03
Author: foutrelis
Revision: 748053
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 748052, python-requests-ntlm/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python-requests-ntlm/repos/community-staging-any/PKGBUILD (from rev 748052, python-requests-ntlm/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 19:24:03 UTC (rev 748053)
@@ -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=5
+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