[arch-commits] Commit in qpid-proton/trunk (PKGBUILD)
Nicola Squartini
tensor5 at archlinux.org
Thu Apr 26 19:40:21 UTC 2018
Date: Thursday, April 26, 2018 @ 19:40:21
Author: tensor5
Revision: 318222
upgpkg: qpid-proton 0.22.0-1
Modified:
qpid-proton/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-26 19:32:36 UTC (rev 318221)
+++ PKGBUILD 2018-04-26 19:40:21 UTC (rev 318222)
@@ -1,18 +1,16 @@
# $Id$
# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-pkgname=qpid-proton
-pkgver=0.21.0
+pkgname=(qpid-proton python2-qpid-proton)
+pkgver=0.22.0
pkgrel=1
pkgdesc='High-performance, lightweight messaging library'
arch=('x86_64')
-url='https://qpid.apache.org/proton/index.html'
+url='https://qpid.apache.org/proton'
license=('Apache')
-depends=('libsasl' 'perl>=5.26' 'perl<5.27' 'python' 'ruby')
-makedepends=('cmake' 'doxygen' 'swig')
+makedepends=('cmake' 'doxygen' 'python' 'python2' 'swig')
source=("http://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
-md5sums=('ff0131cf76335a1ff9b9ddb077731b12')
-sha512sums=('81facd2d6dc690a5b5d8ed2278177396dba1f4d0868421b05870c4492953762f563a39a6160ab2aee378596e327f27864fc15bbfddfb1e5efdc4a4066610f84d')
+sha512sums=('abcc0c18e7f657433e11ee6d7093d11048f2607dc3e531352c037df4dad841d7f8a465fc30a049110c9d208709b04d38545ab1825709ac25774fc9e1bfef43e7')
build() {
cd ${pkgname}-${pkgver}
@@ -25,10 +23,21 @@
-DSYSINSTALL_BINDINGS=ON \
..
make
+
+ cd proton-c/bindings/python/dist
+ python2 setup.py build
}
-package() {
+package_qpid-proton() {
+ depends=('python' 'ruby')
+
cd ${pkgname}-${pkgver}/build
-
make DESTDIR="${pkgdir}" install
}
+
+package_python2-qpid-proton() {
+ depends=('python2')
+
+ cd qpid-proton-${pkgver}/build/proton-c/bindings/python/dist
+ python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
+}
More information about the arch-commits
mailing list