[arch-commits] Commit in pyalpm/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Dec 24 11:23:13 UTC 2016
Date: Saturday, December 24, 2016 @ 11:23:13
Author: felixonmars
Revision: 284603
upgpkg: pyalpm 0.8-2
python 3.6 rebuild
Modified:
pyalpm/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-24 11:23:06 UTC (rev 284602)
+++ PKGBUILD 2016-12-24 11:23:13 UTC (rev 284603)
@@ -2,15 +2,19 @@
pkgname=pyalpm
pkgver=0.8
-pkgrel=1
+pkgrel=2
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')
+depends=('python>=3.6' 'pacman>=4.2')
source=("https://sources.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz")
sha1sums=('b153afc02b7034158558536c4092a302af8030c3')
+prepare() {
+ sed -i 's/-ansi/-std=c99/' ${pkgname}-${pkgver}/setup.py
+}
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
python setup.py build
@@ -20,4 +24,3 @@
cd ${srcdir}/${pkgname}-${pkgver}
python setup.py install --root=${pkgdir}
}
-
More information about the arch-commits
mailing list