[arch-commits] Commit in pyalpm/repos (4 files)
Felix Yan
fyan at archlinux.org
Sat Sep 19 10:12:28 UTC 2015
Date: Saturday, September 19, 2015 @ 12:12:27
Author: fyan
Revision: 246588
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
pyalpm/repos/staging-i686/
pyalpm/repos/staging-i686/PKGBUILD
(from rev 246587, pyalpm/trunk/PKGBUILD)
pyalpm/repos/staging-x86_64/
pyalpm/repos/staging-x86_64/PKGBUILD
(from rev 246587, pyalpm/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 30 ++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 30 ++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
Copied: pyalpm/repos/staging-i686/PKGBUILD (from rev 246587, pyalpm/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-19 10:12:27 UTC (rev 246588)
@@ -0,0 +1,30 @@
+# Maintainer : Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=pyalpm
+pkgver=0.7
+pkgrel=3
+pkgdesc="Libalpm bindings for Python 3"
+arch=('i686' 'x86_64')
+url="http://projects.archlinux.org/users/remy/pyalpm.git/"
+license=('GPL')
+depends=('python>=3.5' 'pacman>=4.2')
+source=("https://sources.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"
+
+ # workaround when building with Python 3.5
+ sed -i "s/'-Werror',//" setup.py
+
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py install --root=${pkgdir}
+}
+
Copied: pyalpm/repos/staging-x86_64/PKGBUILD (from rev 246587, pyalpm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-19 10:12:27 UTC (rev 246588)
@@ -0,0 +1,30 @@
+# Maintainer : Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=pyalpm
+pkgver=0.7
+pkgrel=3
+pkgdesc="Libalpm bindings for Python 3"
+arch=('i686' 'x86_64')
+url="http://projects.archlinux.org/users/remy/pyalpm.git/"
+license=('GPL')
+depends=('python>=3.5' 'pacman>=4.2')
+source=("https://sources.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"
+
+ # workaround when building with Python 3.5
+ sed -i "s/'-Werror',//" setup.py
+
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py install --root=${pkgdir}
+}
+
More information about the arch-commits
mailing list