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

Felix Yan felixonmars at archlinux.org
Tue Apr 2 13:29:46 UTC 2019


    Date: Tuesday, April 2, 2019 @ 13:29:45
  Author: felixonmars
Revision: 447735

upgpkg: sword 1.8.1-5

remove python2 sibling

Modified:
  sword/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 13:28:12 UTC (rev 447734)
+++ PKGBUILD	2019-04-02 13:29:45 UTC (rev 447735)
@@ -7,15 +7,15 @@
 # Contributor: Dominic Tubach
 
 pkgbase=sword
-pkgname=(sword python-sword python2-sword)
+pkgname=(sword python-sword)
 _mainver=1.8
 pkgver=1.8.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Library for Bible study programs"
 arch=('x86_64')
 url="http://www.crosswire.org/sword/"
 license=('GPL')
-makedepends=('curl' 'clucene' 'swig' 'cmake' 'python' 'python2')
+makedepends=('curl' 'clucene' 'swig' 'cmake' 'python')
 source=("http://www.crosswire.org/ftpmirror/pub/$pkgbase/source/v$_mainver/$pkgbase-$pkgver.tar.gz")
 sha512sums=('5c08c070ea0c86b7d929bbf94c89730eb5a487986deb9edf01c08d1710356aecd1ab3bde4437a778e5fc1ceb05b63287612ec6161381c0986a36344c27d2ab36')
 
@@ -34,10 +34,6 @@
   cmake .. -DLIBSWORD_LIBRARY_TYPE="Shared" -DSYSCONF_INSTALL_DIR='/etc' \
            -DSWORD_BUILD_TESTS="Yes" -DSWORD_BINDINGS="Python" -DCMAKE_INSTALL_PREFIX=/usr
   make
-
-  cp -a bindings/swig/python bindings/swig/python2
-  cd bindings/swig/python2
-  python2 setup.py build
 }
 
 package_sword() {
@@ -54,10 +50,3 @@
   cd "$srcdir/$pkgbase-$pkgver/build/bindings/swig/python"
   python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
 }
-
-package_python2-sword() {
-  depends=('sword' 'python2')
-
-  cd "$srcdir/$pkgbase-$pkgver/build/bindings/swig/python2"
-  python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
-}


More information about the arch-commits mailing list