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

Nicola Squartini tensor5 at archlinux.org
Mon Apr 27 10:28:01 UTC 2020


    Date: Monday, April 27, 2020 @ 10:28:01
  Author: tensor5
Revision: 621824

upgpkg: qpid-proton 0.30.0-3

Drop python2 package.

Modified:
  qpid-proton/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-27 10:21:07 UTC (rev 621823)
+++ PKGBUILD	2020-04-27 10:28:01 UTC (rev 621824)
@@ -1,13 +1,14 @@
 # Maintainer: Nicola Squartini <tensor5 at gmail.com>
 
-pkgname=(qpid-proton python2-qpid-proton)
+pkgname=qpid-proton
 pkgver=0.30.0
-pkgrel=2
+pkgrel=3
 pkgdesc='High-performance, lightweight messaging library'
 arch=('x86_64')
 url='https://qpid.apache.org/proton'
 license=('Apache')
-makedepends=('cmake' 'doxygen' 'python-setuptools' 'python2-setuptools' 'swig' 'jsoncpp')
+depends=('libjsoncpp.so' 'python' 'ruby')
+makedepends=('cmake' 'doxygen' 'python-setuptools' 'swig')
 source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
 sha512sums=('0e55d6a2c9803ef72604c50c7b934379092680b5edd52e3641a851f50ba1136bfa83cd30328d2b3235152331109d3204aa32168aa626d6e8e34a590d82553cc8')
 
@@ -22,21 +23,10 @@
         -DSYSINSTALL_BINDINGS=ON \
         ..
     make
-
-    cd python/dist
-    python2 setup.py build
 }
 
-package_qpid-proton() {
-    depends=('jsoncpp' 'libjsoncpp.so' 'python' 'ruby')
+package() {
+    cd ${pkgname}-${pkgver}/build
 
-    cd ${pkgname}-${pkgver}/build
     make DESTDIR="${pkgdir}" install
 }
-
-package_python2-qpid-proton() {
-    depends=('python2')
-
-    cd qpid-proton-${pkgver}/build/python/dist
-    python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
-}


More information about the arch-commits mailing list