Date: Sunday, December 21, 2014 @ 00:39:09 Author: remy Revision: 227840
archrelease: copy trunk to testing-i686, testing-x86_64 Added: pyalpm/repos/testing-i686/ pyalpm/repos/testing-i686/PKGBUILD (from rev 227839, pyalpm/trunk/PKGBUILD) pyalpm/repos/testing-x86_64/ pyalpm/repos/testing-x86_64/PKGBUILD (from rev 227839, pyalpm/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 27 +++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) Copied: pyalpm/repos/testing-i686/PKGBUILD (from rev 227839, pyalpm/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-12-20 23:39:09 UTC (rev 227840) @@ -0,0 +1,27 @@ +# Maintainer : Rémy Oudompheng <r...@archlinux.org> + +pkgname=pyalpm +pkgver=0.7 +pkgrel=1 +pkgdesc="Libalpm bindings for Python 3" +arch=('i686' 'x86_64') +url="http://projects.archlinux.org/users/remy/pyalpm.git/" +license=('GPL') +depends=('python>=3.4' 'pacman>=4.2') +source=("ftp://ftp.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz") +sha1sums=('62fafb93d30c27b5a5a09df3e802d6e50fed9802') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # workaround Python packaging issue (FS#34658) + export CFLAGS="$CFLAGS -Wno-format" + + python setup.py build +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python setup.py install --root=${pkgdir} +} + Copied: pyalpm/repos/testing-x86_64/PKGBUILD (from rev 227839, pyalpm/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-12-20 23:39:09 UTC (rev 227840) @@ -0,0 +1,27 @@ +# Maintainer : Rémy Oudompheng <r...@archlinux.org> + +pkgname=pyalpm +pkgver=0.7 +pkgrel=1 +pkgdesc="Libalpm bindings for Python 3" +arch=('i686' 'x86_64') +url="http://projects.archlinux.org/users/remy/pyalpm.git/" +license=('GPL') +depends=('python>=3.4' 'pacman>=4.2') +source=("ftp://ftp.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz") +sha1sums=('62fafb93d30c27b5a5a09df3e802d6e50fed9802') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # workaround Python packaging issue (FS#34658) + export CFLAGS="$CFLAGS -Wno-format" + + python setup.py build +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python setup.py install --root=${pkgdir} +} +