[arch-commits] Commit in python2-systemd/repos (4 files)

Daniel Wallace dwallace at archlinux.org
Wed Dec 17 23:28:20 UTC 2014


    Date: Thursday, December 18, 2014 @ 00:28:20
  Author: dwallace
Revision: 124060

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

Added:
  python2-systemd/repos/community-testing-i686/
  python2-systemd/repos/community-testing-i686/PKGBUILD
    (from rev 124059, python2-systemd/trunk/PKGBUILD)
  python2-systemd/repos/community-testing-x86_64/
  python2-systemd/repos/community-testing-x86_64/PKGBUILD
    (from rev 124059, python2-systemd/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: python2-systemd/repos/community-testing-i686/PKGBUILD (from rev 124059, python2-systemd/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-12-17 23:28:20 UTC (rev 124060)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com
+pkgname=python2-systemd
+_pkgname=systemd
+pkgver=218
+pkgrel=1
+pkgdesc="Python2 bindings for systemd"
+arch=('x86_64' 'i686')
+url="http://www.freedesktop.org/wiki/Software/systemd/"
+license=('GPL')
+depends=('python2' 'python2-lxml')
+makedepends=('intltool' 'gperf')
+source=("http://www.freedesktop.org/software/$_pkgname/$_pkgname-$pkgver.tar.xz")
+md5sums=('4e2c511b0a7932d7fc9d79822273aac6')
+
+
+build() {
+	cd "$_pkgname-$pkgver"
+    ./configure \
+        --libexecdir=/usr/lib \
+        --disable-manpages
+        PYTHON=python2
+	make CFLAGS="${CFLAGS} -fno-lto"
+}
+
+package(){
+	cd "$_pkgname-$pkgver"
+    depends+=("systemd>=$pkgver")
+    make DESTDIR=$srcdir/root install
+    install -dm755 $pkgdir/usr/lib/
+    cp -dpr --no-preserve=ownership $srcdir/root/usr/lib/python2.7/ $pkgdir/usr/lib/python2.7/
+}

Copied: python2-systemd/repos/community-testing-x86_64/PKGBUILD (from rev 124059, python2-systemd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-12-17 23:28:20 UTC (rev 124060)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com
+pkgname=python2-systemd
+_pkgname=systemd
+pkgver=218
+pkgrel=1
+pkgdesc="Python2 bindings for systemd"
+arch=('x86_64' 'i686')
+url="http://www.freedesktop.org/wiki/Software/systemd/"
+license=('GPL')
+depends=('python2' 'python2-lxml')
+makedepends=('intltool' 'gperf')
+source=("http://www.freedesktop.org/software/$_pkgname/$_pkgname-$pkgver.tar.xz")
+md5sums=('4e2c511b0a7932d7fc9d79822273aac6')
+
+
+build() {
+	cd "$_pkgname-$pkgver"
+    ./configure \
+        --libexecdir=/usr/lib \
+        --disable-manpages
+        PYTHON=python2
+	make CFLAGS="${CFLAGS} -fno-lto"
+}
+
+package(){
+	cd "$_pkgname-$pkgver"
+    depends+=("systemd>=$pkgver")
+    make DESTDIR=$srcdir/root install
+    install -dm755 $pkgdir/usr/lib/
+    cp -dpr --no-preserve=ownership $srcdir/root/usr/lib/python2.7/ $pkgdir/usr/lib/python2.7/
+}



More information about the arch-commits mailing list