[arch-commits] Commit in python-ntlm-auth/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Tue Dec 17 14:34:13 UTC 2019


    Date: Tuesday, December 17, 2019 @ 14:34:13
  Author: jelle
Revision: 537930

upgpkg: python-ntlm-auth 1.2.0-5

remove python2

Modified:
  python-ntlm-auth/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-17 14:26:55 UTC (rev 537929)
+++ PKGBUILD	2019-12-17 14:34:13 UTC (rev 537930)
@@ -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-ntlm-auth
-pkgname=('python-ntlm-auth' 'python2-ntlm-auth')
+pkgname=python-ntlm-auth
 _module='ntlm-auth'
 pkgver=1.2.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Creates NTLM authentication structures"
 url="https://github.com/jborean93/ntlm-auth"
-makedepends=(python-setuptools python2-setuptools)
+depends=('python' 'python-six')
+makedepends=(python-setuptools)
 license=(LGPL3)
 arch=(any)
 source=("https://github.com/jborean93/ntlm-auth/archive/v${pkgver}.tar.gz")
 sha512sums=('4fa537c5a6a7f3493df2fdf49261f9588b7aac876f72b7a7ef5b8a7a1dd971d9426dacdc8bbf520cecdbe5b7adb916ddcad9e9cf4df725b69793299304601912')
 
-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-ntlm-auth() {
-    depends+=('python' 'python-six')
+package() {
     cd "${srcdir}/${_module}-${pkgver}"
     python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
 }
-
-package_python2-ntlm-auth() {
-    depends+=('python2' 'python2-six' 'python2-ordereddict')
-    cd "${srcdir}/${_module}-${pkgver}-python2"
-    python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}



More information about the arch-commits mailing list