Date: Sunday, February 17, 2019 @ 06:01:59 Author: svenstaro Revision: 433997
upgpkg: python-pywinrm 0.3.0-3 Remove python2 package Modified: python-pywinrm/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-02-17 06:00:17 UTC (rev 433996) +++ PKGBUILD 2019-02-17 06:01:59 UTC (rev 433997) @@ -2,33 +2,23 @@ # Contributor: Kevin Houdebert <[email protected]> # Contributor: Guillaume Brogi <[email protected]> -pkgbase=python-pywinrm -pkgname=('python2-pywinrm' 'python-pywinrm') +pkgname=python-pywinrm pkgver=0.3.0 -pkgrel=2 +pkgrel=3 pkgdesc="Python library for Windows Remote Management" arch=(any) url="https://pypi.python.org/pypi/pywinrm" license=('MIT') +depends=('python' 'python-requests' 'python-xmltodict') +optdepends=('python-requests-ntlm: for HTTP NTLM authentication' + 'python-requests-kerberos: for kerberos authentication' + 'python-requests-credssp: for CredSSP authenication') makedepends=('python-setuptools' 'python2-setuptools') source=("https://files.pythonhosted.org/packages/source/p/pywinrm/pywinrm-${pkgver}.tar.gz") sha512sums=('4a6ec3e5cc4b9030275454d846fa4356f444481fe798f013f2be4dbfd4974f11ab2ccaabbc749f6e64fda985324ce6ffb1af906cdca02d2e2cb606d10bb94d02') -package_python2-pywinrm() { - depends=('python2' 'python2-requests' 'python2-xmltodict') - optdepends=('python2-requests-ntlm: for HTTP NTLM authentication' - 'python2-requests-kerberos: for kerberos authentication' - 'python2-requests-credssp: for CredSSP authenication') +package() { cd ${srcdir}/pywinrm-${pkgver} - python2 setup.py install --root=${pkgdir}/ --optimize=1 -} - -package_python-pywinrm() { - depends=('python' 'python-requests' 'python-xmltodict') - optdepends=('python-requests-ntlm: for HTTP NTLM authentication' - 'python-requests-kerberos: for kerberos authentication' - 'python-requests-credssp: for CredSSP authenication') - cd ${srcdir}/pywinrm-${pkgver} python setup.py install --root=${pkgdir}/ --optimize=1 }
