[arch-commits] Commit in python-positional/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Mar 27 11:22:24 UTC 2019
Date: Wednesday, March 27, 2019 @ 11:22:23
Author: felixonmars
Revision: 444190
archrelease: copy trunk to community-any
Added:
python-positional/repos/community-any/PKGBUILD
(from rev 444189, python-positional/trunk/PKGBUILD)
Deleted:
python-positional/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 +++++++++++++++++++++----------------------------------------
1 file changed, 31 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-27 11:22:04 UTC (rev 444189)
+++ PKGBUILD 2019-03-27 11:22:23 UTC (rev 444190)
@@ -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.2.1
-pkgrel=2
-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:
Copied: python-positional/repos/community-any/PKGBUILD (from rev 444189, python-positional/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-27 11:22:23 UTC (rev 444190)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-positional
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="Library to enforce positional or key-word arguments"
+arch=('any')
+url="https://github.com/morganfainberg/positional"
+license=('Apache')
+depends=('python-pbr' 'python-wrapt')
+checkdepends=('python-testrepository')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/morganfainberg/positional/archive/$pkgver.tar.gz")
+sha512sums=('5356d30a9412503342e828ce49d5f9ef71920f086135d2320c710177fbe2be11309bd61d56693de05e6dca620ae3b04c0fdd730fadef6dedd46c96fd0336d6ca')
+
+export PBR_VERSION=$pkgver
+
+build() {
+ cd positional-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd positional-$pkgver
+ python setup.py testr
+}
+
+package() {
+ cd positional-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list