[arch-commits] Commit in python-positional/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 00:45:27 UTC 2019


    Date: Monday, November 4, 2019 @ 00:45:25
  Author: felixonmars
Revision: 522847

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-positional/repos/community-staging-any/PKGBUILD (from rev 522846, python-positional/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 00:45:25 UTC (rev 522847)
@@ -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=4
+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