Date: Tuesday, May 26, 2015 @ 00:48:55 Author: dwallace Revision: 134095
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 134094, python2-systemd/trunk/PKGBUILD) python2-systemd/repos/community-testing-x86_64/ python2-systemd/repos/community-testing-x86_64/PKGBUILD (from rev 134094, python2-systemd/trunk/PKGBUILD) -----------------------------------+ community-testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++ community-testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) Copied: python2-systemd/repos/community-testing-i686/PKGBUILD (from rev 134094, python2-systemd/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-05-25 22:48:55 UTC (rev 134095) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com +pkgname=python2-systemd +_pkgname=systemd +pkgver=220 +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=('60acd92b04c0f5faa806678abd433014') + +prepare() { + cd "$_pkgname-$pkgver" + rm -f src/journal/audit_type-to-name.h src/udev/keyboard-keys-from-name.gperf +} + + +build() { + cd "$_pkgname-$pkgver" + ./configure \ + --libexecdir=/usr/lib \ + --disable-audit \ + --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 134094, python2-systemd/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-05-25 22:48:55 UTC (rev 134095) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com +pkgname=python2-systemd +_pkgname=systemd +pkgver=220 +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=('60acd92b04c0f5faa806678abd433014') + +prepare() { + cd "$_pkgname-$pkgver" + rm -f src/journal/audit_type-to-name.h src/udev/keyboard-keys-from-name.gperf +} + + +build() { + cd "$_pkgname-$pkgver" + ./configure \ + --libexecdir=/usr/lib \ + --disable-audit \ + --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/ +}