[arch-commits] Commit in python-augeas/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun May 14 14:34:41 UTC 2017


    Date: Sunday, May 14, 2017 @ 14:34:40
  Author: felixonmars
Revision: 227986

archrelease: copy trunk to community-testing-any

Added:
  python-augeas/repos/community-testing-any/
  python-augeas/repos/community-testing-any/PKGBUILD
    (from rev 227985, python-augeas/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-augeas/repos/community-testing-any/PKGBUILD (from rev 227985, python-augeas/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2017-05-14 14:34:40 UTC (rev 227986)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-augeas
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Python bindings for Augeas"
+arch=('any')
+license=('LGPL')
+url="http://augeas.net"
+depends=('augeas' 'python-cffi')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/p/python-augeas/python-augeas-$pkgver.tar.gz")
+sha512sums=('c24c8f01420ca474be2903d3da35a246fa74f5ae848bb9267bf4a2166d3a4c64fa4d29a1c5aad6dac3c43251cda90673d6a5a72e6ebdd192e147baa03281e727')
+
+build() {
+  cd python-augeas-$pkgver
+  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