[arch-commits] Commit in lttng-ust/repos (4 files)

Thore Bödecker foxxx0 at archlinux.org
Thu Sep 21 11:38:48 UTC 2017


    Date: Thursday, September 21, 2017 @ 11:38:47
  Author: foxxx0
Revision: 259153

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  lttng-ust/repos/community-testing-i686/PKGBUILD
    (from rev 259152, lttng-ust/trunk/PKGBUILD)
  lttng-ust/repos/community-testing-x86_64/PKGBUILD
    (from rev 259152, lttng-ust/trunk/PKGBUILD)
Deleted:
  lttng-ust/repos/community-testing-i686/PKGBUILD
  lttng-ust/repos/community-testing-x86_64/PKGBUILD

-----------------------------------+
 /PKGBUILD                         |  124 ++++++++++++++++++++++++++++++++++++
 community-testing-i686/PKGBUILD   |   39 -----------
 community-testing-x86_64/PKGBUILD |   39 -----------
 3 files changed, 124 insertions(+), 78 deletions(-)

Deleted: community-testing-i686/PKGBUILD
===================================================================
--- community-testing-i686/PKGBUILD	2017-09-21 11:38:33 UTC (rev 259152)
+++ community-testing-i686/PKGBUILD	2017-09-21 11:38:47 UTC (rev 259153)
@@ -1,39 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Philippe Proulx <pproulx at efficios.com>
-# Contributor: Manuel Mendez <mmendez534 at gmail dot com>
-
-pkgname=lttng-ust
-pkgver=2.10.0
-pkgrel=5
-pkgdesc="LTTng user space tracing libraries for LTTng"
-arch=('i686' 'x86_64')
-url="https://lttng.org/"
-license=('LGPL2.1' 'GPL2' 'MIT')
-makedepends=('asciidoc' 'xmlto' 'libxml2')
-depends=('liburcu>=0.7.2' 'util-linux' 'python')
-optdepends=(
-    'lttng-tools: LTTng tracing control tools'
-    'babeltrace: trace viewer'
-)
-source=("https://lttng.org/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('a1661681d09b08ce4ca25dfad6c42c51a1a82f1647ddb9560b8b369f2ff16b7e07618554e1c81941da6f8d50cec2501611f7f3e89bbafccdfc984434f47ff397')
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    ./configure \
-        --prefix='/usr' \
-        --enable-man-pages \
-        --enable-python-agent
-    make
-}
-
-check() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    make check
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    make DESTDIR="${pkgdir}" install
-    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/lttng-ust/COPYING"
-}

Copied: lttng-ust/repos/community-testing-i686/PKGBUILD (from rev 259152, lttng-ust/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-09-21 11:38:47 UTC (rev 259153)
@@ -0,0 +1,62 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Philippe Proulx <pproulx at efficios.com>
+# Contributor: Manuel Mendez <mmendez534 at gmail dot com>
+
+pkgbase='lttng-ust'
+pkgname=('lttng-ust' 'python-lttngust' 'python2-lttngust')
+pkgver=2.10.0
+pkgrel=7
+arch=('i686' 'x86_64')
+url="https://lttng.org/"
+license=('LGPL2.1' 'GPL2' 'MIT')
+makedepends=('asciidoc' 'xmlto' 'libxml2' 'python' 'python2' 'liburcu>=0.7.2' 'util-linux')
+source=(https://lttng.org/files/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2{,.asc})
+sha512sums=('a1661681d09b08ce4ca25dfad6c42c51a1a82f1647ddb9560b8b369f2ff16b7e07618554e1c81941da6f8d50cec2501611f7f3e89bbafccdfc984434f47ff397'
+    'SKIP')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    # build lttng-ust
+    ./configure \
+        --prefix='/usr' \
+        --enable-man-pages \
+        --enable-python-agent
+    make
+}
+
+check() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make check
+}
+
+package_lttng-ust() {
+    pkgdesc="LTTng user space tracing libraries for LTTng"
+    depends=('liburcu>=0.7.2' 'util-linux' 'python')
+    optdepends=('babeltrace: trace viewer')
+    cd "${srcdir}/${pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+_python_package() {
+    # build with $1 python interpreter
+    cd "${srcdir}/${pkgbase}-${pkgver}/python-lttngust"
+    make DESTDIR="${pkgdir}" PYTHON="/usr/bin/${1}" install
+
+    # add license to the respective packages
+    cd "${srcdir}/${pkgbase}-${pkgver}"
+    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python-lttngust() {
+    pkgdesc='LTTng-UST Python Bindings'
+    depends=('lttng-ust' 'python')
+    _python_package python
+}
+
+package_python2-lttngust() {
+    pkgdesc='LTTng-UST Python2 Bindings'
+    depends=('lttng-ust' 'python2')
+    _python_package python2
+}

Deleted: community-testing-x86_64/PKGBUILD
===================================================================
--- community-testing-x86_64/PKGBUILD	2017-09-21 11:38:33 UTC (rev 259152)
+++ community-testing-x86_64/PKGBUILD	2017-09-21 11:38:47 UTC (rev 259153)
@@ -1,39 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Philippe Proulx <pproulx at efficios.com>
-# Contributor: Manuel Mendez <mmendez534 at gmail dot com>
-
-pkgname=lttng-ust
-pkgver=2.10.0
-pkgrel=5
-pkgdesc="LTTng user space tracing libraries for LTTng"
-arch=('i686' 'x86_64')
-url="https://lttng.org/"
-license=('LGPL2.1' 'GPL2' 'MIT')
-makedepends=('asciidoc' 'xmlto' 'libxml2')
-depends=('liburcu>=0.7.2' 'util-linux' 'python')
-optdepends=(
-    'lttng-tools: LTTng tracing control tools'
-    'babeltrace: trace viewer'
-)
-source=("https://lttng.org/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('a1661681d09b08ce4ca25dfad6c42c51a1a82f1647ddb9560b8b369f2ff16b7e07618554e1c81941da6f8d50cec2501611f7f3e89bbafccdfc984434f47ff397')
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    ./configure \
-        --prefix='/usr' \
-        --enable-man-pages \
-        --enable-python-agent
-    make
-}
-
-check() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    make check
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    make DESTDIR="${pkgdir}" install
-    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/lttng-ust/COPYING"
-}

Copied: lttng-ust/repos/community-testing-x86_64/PKGBUILD (from rev 259152, lttng-ust/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-09-21 11:38:47 UTC (rev 259153)
@@ -0,0 +1,62 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Philippe Proulx <pproulx at efficios.com>
+# Contributor: Manuel Mendez <mmendez534 at gmail dot com>
+
+pkgbase='lttng-ust'
+pkgname=('lttng-ust' 'python-lttngust' 'python2-lttngust')
+pkgver=2.10.0
+pkgrel=7
+arch=('i686' 'x86_64')
+url="https://lttng.org/"
+license=('LGPL2.1' 'GPL2' 'MIT')
+makedepends=('asciidoc' 'xmlto' 'libxml2' 'python' 'python2' 'liburcu>=0.7.2' 'util-linux')
+source=(https://lttng.org/files/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2{,.asc})
+sha512sums=('a1661681d09b08ce4ca25dfad6c42c51a1a82f1647ddb9560b8b369f2ff16b7e07618554e1c81941da6f8d50cec2501611f7f3e89bbafccdfc984434f47ff397'
+    'SKIP')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    # build lttng-ust
+    ./configure \
+        --prefix='/usr' \
+        --enable-man-pages \
+        --enable-python-agent
+    make
+}
+
+check() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make check
+}
+
+package_lttng-ust() {
+    pkgdesc="LTTng user space tracing libraries for LTTng"
+    depends=('liburcu>=0.7.2' 'util-linux' 'python')
+    optdepends=('babeltrace: trace viewer')
+    cd "${srcdir}/${pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+_python_package() {
+    # build with $1 python interpreter
+    cd "${srcdir}/${pkgbase}-${pkgver}/python-lttngust"
+    make DESTDIR="${pkgdir}" PYTHON="/usr/bin/${1}" install
+
+    # add license to the respective packages
+    cd "${srcdir}/${pkgbase}-${pkgver}"
+    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python-lttngust() {
+    pkgdesc='LTTng-UST Python Bindings'
+    depends=('lttng-ust' 'python')
+    _python_package python
+}
+
+package_python2-lttngust() {
+    pkgdesc='LTTng-UST Python2 Bindings'
+    depends=('lttng-ust' 'python2')
+    _python_package python2
+}



More information about the arch-commits mailing list