[arch-commits] Commit in python-augeas/repos/community-testing-any (3 files)

Felix Yan felixonmars at archlinux.org
Thu May 18 05:21:55 UTC 2017


    Date: Thursday, May 18, 2017 @ 05:21:54
  Author: felixonmars
Revision: 228432

archrelease: copy trunk to community-testing-any

Added:
  python-augeas/repos/community-testing-any/PKGBUILD
    (from rev 228431, python-augeas/trunk/PKGBUILD)
  python-augeas/repos/community-testing-any/issue26.patch
    (from rev 228431, python-augeas/trunk/issue26.patch)
Deleted:
  python-augeas/repos/community-testing-any/PKGBUILD

---------------+
 PKGBUILD      |   68 +++++++++++++++++++++++++++++++-------------------------
 issue26.patch |   13 ++++++++++
 2 files changed, 51 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-18 05:21:27 UTC (rev 228431)
+++ PKGBUILD	2017-05-18 05:21:54 UTC (rev 228432)
@@ -1,30 +0,0 @@
-# $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"
-}

Copied: python-augeas/repos/community-testing-any/PKGBUILD (from rev 228431, python-augeas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-05-18 05:21:54 UTC (rev 228432)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-augeas
+pkgver=1.0.2
+pkgrel=2
+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"
+        issue26.patch)
+sha512sums=('c24c8f01420ca474be2903d3da35a246fa74f5ae848bb9267bf4a2166d3a4c64fa4d29a1c5aad6dac3c43251cda90673d6a5a72e6ebdd192e147baa03281e727'
+            'b59554d38a63f6ad944827e8cacb2631ea8996a1e58620447635cdf9aadc33d04c40651680f1b0252265b4940ff15534c879e5ea2484ce394b0ba76c0bc5ba81')
+
+prepare() {
+  cd python-augeas-$pkgver
+  # https://github.com/hercules-team/python-augeas/issues/26
+  patch -p1 -i ../issue26.patch
+}
+
+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"
+}

Copied: python-augeas/repos/community-testing-any/issue26.patch (from rev 228431, python-augeas/trunk/issue26.patch)
===================================================================
--- issue26.patch	                        (rev 0)
+++ issue26.patch	2017-05-18 05:21:54 UTC (rev 228432)
@@ -0,0 +1,13 @@
+diff --git a/augeas/__init__.py b/augeas/__init__.py
+index ab9a2b1..ccfcec0 100644
+--- a/augeas/__init__.py
++++ b/augeas/__init__.py
+@@ -57,7 +57,7 @@ def enc(st):
+     if st:
+         return st.encode(AUGENC)
+     else:
+-        return ''
++        return b''
+ 
+ 
+ def dec(st):
\ No newline at end of file



More information about the arch-commits mailing list