Date: Wednesday, June 14, 2017 @ 17:05:43 Author: svenstaro Revision: 236782
archrelease: copy trunk to community-any Added: python-requests-credssp/repos/community-any/PKGBUILD (from rev 236781, python-requests-credssp/trunk/PKGBUILD) Deleted: python-requests-credssp/repos/community-any/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-06-14 17:05:32 UTC (rev 236781) +++ PKGBUILD 2017-06-14 17:05:43 UTC (rev 236782) @@ -1,39 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@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') -_module='requests-credssp' -pkgver='0.0.2' -pkgrel=2 -pkgdesc="HTTPS CredSSP authentication with the requests library" -url="https://github.com/jborean93/requests-credssp" -makedepends=('python-setuptools' 'python2-setuptools') -license=('ISC') -arch=('any') -source=("https://pypi.python.org/packages/76/64/c64dd2be7cc94f1fbf43c9396bac2cbe8448fe1b433b96d3c713b714839e/requests-credssp-${pkgver}.zip") -sha512sums=('d69b597dde4823234852fc7de3aafbdfeb2213bff0ebe69b3b7bb3927830cb6d22db4d14062805d2ff1e953a59d436a9abf35f654bdcf898ce789c140d7dbf03') - -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-ordereddict' 'python-ntlm-auth') - 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 -} Copied: python-requests-credssp/repos/community-any/PKGBUILD (from rev 236781, python-requests-credssp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-06-14 17:05:43 UTC (rev 236782) @@ -0,0 +1,39 @@ +# Maintainer: Sven-Hendrik Haase <s...@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') +_module='requests-credssp' +pkgver='0.0.2' +pkgrel=3 +pkgdesc="HTTPS CredSSP authentication with the requests library" +url="https://github.com/jborean93/requests-credssp" +makedepends=('python-setuptools' 'python2-setuptools') +license=('ISC') +arch=('any') +source=("https://pypi.python.org/packages/76/64/c64dd2be7cc94f1fbf43c9396bac2cbe8448fe1b433b96d3c713b714839e/requests-credssp-${pkgver}.zip") +sha512sums=('d69b597dde4823234852fc7de3aafbdfeb2213bff0ebe69b3b7bb3927830cb6d22db4d14062805d2ff1e953a59d436a9abf35f654bdcf898ce789c140d7dbf03') + +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') + 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 +}