[arch-commits] Commit in python-construct/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 3 05:18:18 UTC 2016
Date: Saturday, September 3, 2016 @ 05:18:18
Author: felixonmars
Revision: 188328
archrelease: copy trunk to community-any
Added:
python-construct/repos/community-any/PKGBUILD
(from rev 188327, python-construct/trunk/PKGBUILD)
Deleted:
python-construct/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-03 05:17:52 UTC (rev 188327)
+++ PKGBUILD 2016-09-03 05:18:18 UTC (rev 188328)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-construct
-pkgname=('python-construct' 'python2-construct')
-pkgver=2.5.3
-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')
-source=("git+https://github.com/construct/construct.git#tag=v$pkgver")
-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-any/PKGBUILD (from rev 188327, python-construct/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-09-03 05:18:18 UTC (rev 188328)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-construct
+pkgname=('python-construct' 'python2-construct')
+pkgver=2.5.4
+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')
+source=("git+https://github.com/construct/construct.git#tag=v$pkgver")
+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"
+}
More information about the arch-commits
mailing list