[arch-commits] Commit in python-requests-ntlm/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Oct 18 07:24:13 UTC 2017
Date: Wednesday, October 18, 2017 @ 07:24:12
Author: svenstaro
Revision: 263185
archrelease: copy trunk to community-any
Added:
python-requests-ntlm/repos/community-any/PKGBUILD
(from rev 263184, python-requests-ntlm/trunk/PKGBUILD)
Deleted:
python-requests-ntlm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-18 07:24:02 UTC (rev 263184)
+++ PKGBUILD 2017-10-18 07:24:12 UTC (rev 263185)
@@ -1,42 +0,0 @@
-# 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>
-
-pkgbase=('python-requests-ntlm')
-pkgname=('python-requests-ntlm' 'python2-requests-ntlm')
-_module='requests_ntlm'
-pkgver='1.0.0'
-pkgrel=3
-pkgdesc="This package allows for HTTP NTLM authentication using the requests library."
-url="https://github.com/requests/requests-ntlm"
-makedepends=('python-setuptools' 'python2-setuptools')
-license=('custom:ISC License (ISCL)')
-arch=('any')
-source=("https://files.pythonhosted.org/packages/source/r/requests_ntlm/requests_ntlm-${pkgver}.tar.gz")
-sha512sums=('bdba9f8c241dbe8e55be28208e240dd44a62156e5ee65d69897b0d427c7905430f6ba3582d37f5e8d6fc50e3c9f63814333c6c654d4e51ab9b9a553f53fe3dc5')
-
-prepare() {
- cp -a "${srcdir}/${_module}-${pkgver}"{,-python2}
-}
-
-build() {
- cd "${srcdir}/${_module}-${pkgver}"
- python setup.py build
-
- cd "${srcdir}/${_module}-${pkgver}-python2"
- python2 setup.py build
-}
-
-package_python-requests-ntlm() {
- depends+=('python' 'python-requests' 'python-ntlm-auth')
- 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
-}
-
-package_python2-requests-ntlm() {
- depends+=('python2' 'python2-requests' 'python2-ntlm-auth')
- cd "${srcdir}/${_module}-${pkgver}-python2"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-requests-ntlm/LICENSE"
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
Copied: python-requests-ntlm/repos/community-any/PKGBUILD (from rev 263184, python-requests-ntlm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-18 07:24:12 UTC (rev 263185)
@@ -0,0 +1,42 @@
+# 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>
+
+pkgbase=('python-requests-ntlm')
+pkgname=('python-requests-ntlm' 'python2-requests-ntlm')
+_module='requests_ntlm'
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Allows for HTTP NTLM authentication using the requests library."
+url="https://github.com/requests/requests-ntlm"
+makedepends=(python-setuptools python2-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')
+
+prepare() {
+ cp -a "${srcdir}/${_module}-${pkgver}"{,-python2}
+}
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
+
+ cd "${srcdir}/${_module}-${pkgver}-python2"
+ python2 setup.py build
+}
+
+package_python-requests-ntlm() {
+ depends+=('python' 'python-requests' 'python-ntlm-auth')
+ 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
+}
+
+package_python2-requests-ntlm() {
+ depends+=('python2' 'python2-requests' 'python2-ntlm-auth')
+ cd "${srcdir}/${_module}-${pkgver}-python2"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-requests-ntlm/LICENSE"
+ python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list