[arch-commits] Commit in qpid-proton/repos/community-x86_64 (PKGBUILD PKGBUILD)
Nicola Squartini
tensor5 at archlinux.org
Thu Apr 26 19:40:41 UTC 2018
Date: Thursday, April 26, 2018 @ 19:40:40
Author: tensor5
Revision: 318223
archrelease: copy trunk to community-x86_64
Added:
qpid-proton/repos/community-x86_64/PKGBUILD
(from rev 318222, qpid-proton/trunk/PKGBUILD)
Deleted:
qpid-proton/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 43 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-26 19:40:21 UTC (rev 318222)
+++ PKGBUILD 2018-04-26 19:40:40 UTC (rev 318223)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=qpid-proton
-pkgver=0.21.0
-pkgrel=1
-pkgdesc='High-performance, lightweight messaging library'
-arch=('i686' 'x86_64')
-url='https://qpid.apache.org/proton/index.html'
-license=('Apache')
-depends=('libsasl' 'perl>=5.26' 'perl<5.27' 'python' 'ruby')
-makedepends=('cmake' 'doxygen' 'swig')
-source=("http://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
-md5sums=('ff0131cf76335a1ff9b9ddb077731b12')
-sha512sums=('81facd2d6dc690a5b5d8ed2278177396dba1f4d0868421b05870c4492953762f563a39a6160ab2aee378596e327f27864fc15bbfddfb1e5efdc4a4066610f84d')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- mkdir build
- cd build
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX='' \
- -DSYSINSTALL_BINDINGS=ON \
- ..
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}/build
-
- make DESTDIR="${pkgdir}" install
-}
Copied: qpid-proton/repos/community-x86_64/PKGBUILD (from rev 318222, qpid-proton/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-26 19:40:40 UTC (rev 318223)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+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'
+license=('Apache')
+makedepends=('cmake' 'doxygen' 'python' 'python2' 'swig')
+source=("http://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
+sha512sums=('abcc0c18e7f657433e11ee6d7093d11048f2607dc3e531352c037df4dad841d7f8a465fc30a049110c9d208709b04d38545ab1825709ac25774fc9e1bfef43e7')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ mkdir build
+ cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX='' \
+ -DSYSINSTALL_BINDINGS=ON \
+ ..
+ make
+
+ cd proton-c/bindings/python/dist
+ python2 setup.py build
+}
+
+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