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

Jelle van der Waa jelle at archlinux.org
Tue Dec 17 10:16:26 UTC 2019


    Date: Tuesday, December 17, 2019 @ 10:16:26
  Author: jelle
Revision: 537918

upgpkg: python-dukpy 0.3-5

Remove python2 module

Modified:
  python-dukpy/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-17 10:10:10 UTC (rev 537917)
+++ PKGBUILD	2019-12-17 10:16:26 UTC (rev 537918)
@@ -1,15 +1,15 @@
 # Maintainer: Jelle van der Waa <jelle at archlinux.org>
 # Contributor: Eli Schwartz <eschwartz93 at gmail.com>
 
-pkgbase='python-dukpy'
-pkgname=('python-dukpy' 'python2-dukpy')
+pkgname='python-dukpy'
 pkgver=0.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Python bindings for the duktape embeddable JavaScript engine"
 arch=('x86_64')
 url="https://github.com/kovidgoyal/dukpy"
 license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
 source=("dukpy-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
 sha256sums=('cc78c39ebba51f381c623b164cfb7dcf3caddf515fe7094bc53b7eca5d4e435e')
 
@@ -17,12 +17,9 @@
   cd "${srcdir}/dukpy-${pkgver}"
 
   python setup.py build
-  python2 setup.py build
 }
 
 package_python-dukpy() {
-  depends=('python')
-
   cd "dukpy-${pkgver}"
   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
 
@@ -29,17 +26,7 @@
   install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-dukpy/LICENSE.txt"
 }
 
-package_python2-dukpy() {
-  depends=('python2')
-
-  cd "dukpy-${pkgver}"
-  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python2-dukpy/LICENSE.txt"
-}
-
 check() {
   cd "dukpy-${pkgver}"
   python setup.py test
-  python2 setup.py test
 }


More information about the arch-commits mailing list