[arch-commits] Commit in pyalpm/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Sep 19 10:11:59 UTC 2015


    Date: Saturday, September 19, 2015 @ 12:11:59
  Author: fyan
Revision: 246587

upgpkg: pyalpm 0.7-3

rebuild for python 3.5

Modified:
  pyalpm/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-19 09:57:00 UTC (rev 246586)
+++ PKGBUILD	2015-09-19 10:11:59 UTC (rev 246587)
@@ -2,12 +2,12 @@
 
 pkgname=pyalpm
 pkgver=0.7
-pkgrel=2
+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.4' 'pacman>=4.2')
+depends=('python>=3.5' 'pacman>=4.2')
 source=("https://sources.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz")
 sha1sums=('62fafb93d30c27b5a5a09df3e802d6e50fed9802')
 
@@ -17,6 +17,9 @@
   # 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
 }
 



More information about the arch-commits mailing list