Date: Tuesday, February 25, 2020 @ 17:57:59
  Author: jelle
Revision: 581725

upgpkg: python-configobj 5.0.6-7

remove unused python2 module

Modified:
  python-configobj/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-02-25 17:57:47 UTC (rev 581724)
+++ PKGBUILD    2020-02-25 17:57:59 UTC (rev 581725)
@@ -3,20 +3,19 @@
 # Contributor: Stefan Husmann  <stefan-husm...@t-online.de>
 # Contributor: Manuel "ekerazha" C. (www.ekerazha.com)
 
-pkgbase=python-configobj
-pkgname=('python-configobj' 'python2-configobj')
+pkgname=python-configobj
 pkgver=5.0.6
-pkgrel=6
+pkgrel=7
 pkgdesc='Simple but powerful config file reader and writer for Python'
 arch=('any')
 url='https://github.com/DiffSK/configobj'
 license=('BSD')
-makedepends=('python' 'python2')
+depends=('python-six')
+makedepends=('python')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/DiffSK/configobj/archive/v$pkgver.tar.gz";)
 sha256sums=('2e140354efcca6f558ff9ee941b435ae09a617bc071797bef62c8d6ed2033d5e')
 
-package_python-configobj() {
-  depends=('python-six')
+package() {
   cd "configobj-$pkgver"
 
   python setup.py install --root="$pkgdir" --optimize=1
@@ -23,12 +22,4 @@
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
-package_python2-configobj() {
-  depends=('python2-six')
-  cd "configobj-$pkgver"
-
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
 # vim:set ts=2 sw=2 et:

Reply via email to