[arch-commits] Commit in python-zconfig/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Oct 4 20:02:40 UTC 2018


    Date: Thursday, October 4, 2018 @ 20:02:39
  Author: felixonmars
Revision: 389651

archrelease: copy trunk to community-any

Added:
  python-zconfig/repos/community-any/PKGBUILD
    (from rev 389650, python-zconfig/trunk/PKGBUILD)
Deleted:
  python-zconfig/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-04 20:02:18 UTC (rev 389650)
+++ PKGBUILD	2018-10-04 20:02:39 UTC (rev 389651)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-zconfig
-pkgname=(python-zconfig python2-zconfig)
-pkgver=3.2.0
-pkgrel=2
-pkgdesc="Structured Configuration Library"
-url="https://github.com/zopefoundation/ZConfig"
-license=('ZPL')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-manuel' 'python2-manuel'
-              'python-docutils' 'python2-docutils' 'python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/ZConfig/archive/$pkgver.tar.gz")
-sha512sums=('053c12ef8d36e53ea844afc6949304ff6153895f3d4eac8c30f4bff6bde7efc017caac4364656683bd3c95b3840e59b95bd8e338c97dc3b5bbb67fac08496107')
-
-prepare() {
-  cp -a ZConfig-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/ZConfig-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/ZConfig-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/ZConfig-$pkgver
-  nosetests3
-
-  cd "$srcdir"/ZConfig-$pkgver-py2
-  nosetests2
-}
-
-package_python-zconfig() {
-  depends=('python')
-
-  cd ZConfig-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zconfig() {
-  depends=('python2')
-
-  cd ZConfig-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/zconfig{,2}
-  mv "$pkgdir"/usr/bin/zconfig{,2}_schema2html
-}

Copied: python-zconfig/repos/community-any/PKGBUILD (from rev 389650, python-zconfig/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-04 20:02:39 UTC (rev 389651)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-zconfig
+pkgname=(python-zconfig python2-zconfig)
+pkgver=3.3.0
+pkgrel=1
+pkgdesc="Structured Configuration Library"
+url="https://github.com/zopefoundation/ZConfig"
+license=('ZPL')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-manuel' 'python2-manuel'
+              'python-docutils' 'python2-docutils' 'python-nose' 'python2-nose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/ZConfig/archive/$pkgver.tar.gz")
+sha512sums=('e1bd04a67644ab3985b2b72319a279d228212915cbd0808d741d4feba89518b1ead1393868ce7d80d480923467f52faf9c8fcf0db93efef3067ae22178b215e6')
+
+prepare() {
+  cp -a ZConfig-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/ZConfig-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/ZConfig-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/ZConfig-$pkgver
+  nosetests3
+
+  cd "$srcdir"/ZConfig-$pkgver-py2
+  nosetests2
+}
+
+package_python-zconfig() {
+  depends=('python')
+
+  cd ZConfig-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-zconfig() {
+  depends=('python2')
+
+  cd ZConfig-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir"/usr/bin/zconfig{,2}
+  mv "$pkgdir"/usr/bin/zconfig{,2}_schema2html
+}



More information about the arch-commits mailing list