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

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Dec 3 00:38:08 UTC 2021


    Date: Friday, December 3, 2021 @ 00:38:07
  Author: foutrelis
Revision: 1063915

archrelease: copy trunk to community-staging-any

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

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

Copied: python-positional/repos/community-staging-any/PKGBUILD (from rev 1063913, python-positional/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:38:07 UTC (rev 1063915)
@@ -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=6
+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