[arch-commits] Commit in python-augeas/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 14 14:33:39 UTC 2017
Date: Sunday, May 14, 2017 @ 14:33:38
Author: felixonmars
Revision: 227983
upgpkg: python-augeas 1.0.2-1
Modified:
python-augeas/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-14 14:31:26 UTC (rev 227982)
+++ PKGBUILD 2017-05-14 14:33:38 UTC (rev 227983)
@@ -3,16 +3,16 @@
# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
pkgname=python-augeas
-pkgver=0.5.0
+pkgver=1.0.2
pkgrel=1
-pkgdesc="Pure python bindings for augeas"
+pkgdesc="Python bindings for Augeas"
arch=('any')
license=('LGPL')
url="http://augeas.net"
-depends=('augeas' 'python')
+depends=('augeas' 'python-cffi')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/p/python-augeas/python-augeas-$pkgver.tar.gz")
-sha512sums=('d93d9e21c720084ee3c1841a2172dd1a4cfb41e668de0f557bd214efd65e685a1e5fc713a7d34e0fed727fe908bb1e8a09a1c10587bc27f3708cbcdee575cc51')
+sha512sums=('c24c8f01420ca474be2903d3da35a246fa74f5ae848bb9267bf4a2166d3a4c64fa4d29a1c5aad6dac3c43251cda90673d6a5a72e6ebdd192e147baa03281e727')
build() {
cd python-augeas-$pkgver
@@ -19,6 +19,11 @@
python setup.py build
}
+check() {
+ cd python-augeas-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" make check
+}
+
package() {
cd python-augeas-$pkgver
python setup.py install --skip-build -O1 --root="$pkgdir"
More information about the arch-commits
mailing list