[arch-commits] Commit in python-requests-credssp/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Feb 17 06:00:10 UTC 2019
Date: Sunday, February 17, 2019 @ 06:00:10
Author: svenstaro
Revision: 433995
upgpkg: python-requests-credssp 1.0.2-2
Remove python2 package
Modified:
python-requests-credssp/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-17 06:00:01 UTC (rev 433994)
+++ PKGBUILD 2019-02-17 06:00:10 UTC (rev 433995)
@@ -1,39 +1,25 @@
# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
# Contributor: Christoph W <c w e g e n e r at gmail dot com>
-pkgbase=('python-requests-credssp')
-pkgname=('python-requests-credssp' 'python2-requests-credssp')
+pkgname=python-requests-credssp
_module='requests-credssp'
pkgver=1.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="HTTPS CredSSP authentication with the requests library"
url="https://github.com/jborean93/requests-credssp"
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python' 'python-pyopenssl' 'python-requests' 'python-ntlm-auth')
+makedepends=('python-setuptools')
license=('ISC')
arch=('any')
source=("https://github.com/jborean93/requests-credssp/archive/v${pkgver}.tar.gz")
sha512sums=('c64c8018ab0d08dcaf13f0572415bdc36be467895a3d031bfa8322107336507c747f348bd41ed36ecaf62dbf242c86b1db318b1be952288c82ef013177d95db8')
-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-credssp() {
- depends+=('python' 'python-pyopenssl' 'python-requests' 'python-ntlm-auth')
+package() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
-
-package_python2-requests-credssp() {
- depends+=('python2' 'python2-pyopenssl' 'python2-requests' 'python2-ordereddict' 'python2-ntlm-auth')
- cd "${srcdir}/${_module}-${pkgver}-python2"
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
More information about the arch-commits
mailing list