[arch-commits] Commit in python-construct/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Tue Dec 27 10:15:42 UTC 2016


    Date: Tuesday, December 27, 2016 @ 10:15:41
  Author: felixonmars
Revision: 203038

archrelease: copy trunk to community-staging-any

Added:
  python-construct/repos/community-staging-any/PKGBUILD
    (from rev 203037, python-construct/trunk/PKGBUILD)
Deleted:
  python-construct/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-27 10:15:26 UTC (rev 203037)
+++ PKGBUILD	2016-12-27 10:15:41 UTC (rev 203038)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-construct
-pkgname=('python-construct' 'python2-construct')
-pkgver=2.6.4
-_commit=cdc7cc2448a73035021b8caf9c3a0b7bbf707a9a
-pkgrel=1
-pkgdesc="A powerful declarative parser/builder for binary data"
-arch=('any')
-license=('MIT')
-url="http://construct.readthedocs.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-numpy' 'python2-numpy')
-source=("git+https://github.com/construct/construct.git#commit=$_commit")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a construct{,-py2}
-}
-
-build() {
-  cd "$srcdir/construct"
-  python setup.py build
-
-  cd "$srcdir/construct-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/construct"
-  nosetests3 tests
-
-  cd "$srcdir/construct-py2"
-  nosetests2 tests
-}
-
-package_python-construct() {
-  depends=('python-six')
-
-  cd construct
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-construct() {
-  depends=('python2-six')
-
-  cd construct-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-construct/repos/community-staging-any/PKGBUILD (from rev 203037, python-construct/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-12-27 10:15:41 UTC (rev 203038)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-construct
+pkgname=('python-construct' 'python2-construct')
+pkgver=2.8.8
+_commit=f11f07f9b70a9e5719c2f2e237a45d6c791144cd
+pkgrel=1
+pkgdesc="A powerful declarative parser/builder for binary data"
+arch=('any')
+license=('MIT')
+url="http://construct.readthedocs.org"
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest' 'python2-pytest' 'python-numpy' 'python2-numpy')
+source=("git+https://github.com/construct/construct.git#commit=$_commit")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a construct{,-py2}
+}
+
+build() {
+  cd "$srcdir"/construct
+  python setup.py build
+
+  cd "$srcdir"/construct-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/construct
+  PYTHONPATH="$PWD" py.test
+
+  cd "$srcdir"/construct-py2
+  PYTHONPATH="$PWD" py.test2
+}
+
+package_python-construct() {
+  depends=('python')
+
+  cd construct
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-construct() {
+  depends=('python2')
+
+  cd construct-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list