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

Felix Yan felixonmars at archlinux.org
Sat Jan 13 16:10:50 UTC 2018


    Date: Saturday, January 13, 2018 @ 16:10:50
  Author: felixonmars
Revision: 281828

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-13 16:10:27 UTC (rev 281827)
+++ PKGBUILD	2018-01-13 16:10:50 UTC (rev 281828)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-construct
-pkgname=('python-construct' 'python2-construct')
-pkgver=2.8.20
-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')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-numpy' 'python2-numpy')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/construct/construct/archive/v$pkgver.tar.gz")
-sha512sums=('20bcb44600412400b9f4cef40d7d0ed448b202cc19a1e5e5260e83cbaa7b904c2a0a485aef024b85b28b0c4b99b995588f7c93b519bc4fb1770e8b7481ae0133')
-
-prepare() {
-  cp -a construct-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/construct-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/construct-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/construct-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/construct-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-construct() {
-  depends=('python')
-
-  cd construct-$pkgver
-  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-$pkgver-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 281827, python-construct/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-13 16:10:50 UTC (rev 281828)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-construct
+pkgname=('python-construct' 'python2-construct')
+pkgver=2.8.21
+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')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-numpy' 'python2-numpy')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/construct/construct/archive/v$pkgver.tar.gz")
+sha512sums=('f8e2c8d0f437cce760b1439fc68e2b10dccf852e1bf3c42e0569a3e32fe218d2a4d4cc662229455a910fa8a7cf0fc0500cb0d38ad0485f1b9fd954334f343562')
+
+prepare() {
+  cp -a construct-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/construct-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/construct-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/construct-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/construct-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-construct() {
+  depends=('python')
+
+  cd construct-$pkgver
+  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-$pkgver-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