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

Felix Yan felixonmars at archlinux.org
Sat May 12 07:02:43 UTC 2018


    Date: Saturday, May 12, 2018 @ 07:02:42
  Author: felixonmars
Revision: 321009

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-12 07:02:19 UTC (rev 321008)
+++ PKGBUILD	2018-05-12 07:02:42 UTC (rev 321009)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-positional
-pkgname=(python-positional python2-positional)
-pkgver=1.1.2
-pkgrel=1
-pkgdesc="Library to enforce positional or key-word arguments"
-arch=('any')
-url="https://github.com/morganfainberg/positional"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-wrapt'
-             'python2-wrapt')
-checkdepends=('python-testrepository' 'python2-testrepository')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/morganfainberg/positional/archive/$pkgver.tar.gz")
-sha512sums=('29d6200d6f612daa933c3c99df7829e6a7ab04b278d22a0fd4075a6ad6aaea915a219ae179e904f2fd5d2d26c5cb580c0bd744be2e5ae44454b1af386599d84a')
-
-prepare() {
-  cp -a positional-$pkgver{,-py2}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/positional-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/positional-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/positional-$pkgver
-  python setup.py testr
-
-  cd "$srcdir"/positional-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
-}
-
-package_python-positional() {
-  depends=('python-pbr' 'python-wrapt')
-
-  cd "$srcdir"/positional-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-positional() {
-  depends=('python2-pbr' 'python2-wrapt')
-
-  cd "$srcdir"/positional-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-positional/repos/community-any/PKGBUILD (from rev 321008, python-positional/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-12 07:02:42 UTC (rev 321009)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-positional
+pkgname=(python-positional python2-positional)
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="Library to enforce positional or key-word arguments"
+arch=('any')
+url="https://github.com/morganfainberg/positional"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-wrapt'
+             'python2-wrapt')
+checkdepends=('python-testrepository' 'python2-testrepository')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/morganfainberg/positional/archive/$pkgver.tar.gz")
+sha512sums=('5356d30a9412503342e828ce49d5f9ef71920f086135d2320c710177fbe2be11309bd61d56693de05e6dca620ae3b04c0fdd730fadef6dedd46c96fd0336d6ca')
+
+prepare() {
+  cp -a positional-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/positional-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/positional-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/positional-$pkgver
+  python setup.py testr
+
+  cd "$srcdir"/positional-$pkgver-py2
+  PYTHON=python2 python2 setup.py testr
+}
+
+package_python-positional() {
+  depends=('python-pbr' 'python-wrapt')
+
+  cd "$srcdir"/positional-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-positional() {
+  depends=('python2-pbr' 'python2-wrapt')
+
+  cd "$srcdir"/positional-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list