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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:06:09 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:06:09
  Author: foutrelis
Revision: 748478

archrelease: copy trunk to community-staging-any

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

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

Copied: python-args/repos/community-staging-any/PKGBUILD (from rev 748476, python-args/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:06:09 UTC (rev 748478)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-args
+pkgver=0.1.0.20170708
+_commit=9460f1a35eb3055e9e4de1f0a6932e0883c72d65
+pkgrel=4
+pkgdesc="Command Arguments for Humans"
+arch=('any')
+license=('BSD')
+url="https://github.com/kenneth-reitz/args"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$_commit.tar.gz::https://github.com/kenneth-reitz/args/archive/$_commit.tar.gz")
+sha512sums=('acbb38e442fcc731a41d4ed5f63d33cfe7bc5cab730f99d5f9de3e9739ea4370df58798267df9c29892d93a3e2e5f4e21c54a1550c38bfc49abfc84a1e1cc438')
+
+prepare() {
+  mv args-{$_commit,$pkgver}
+}
+
+build() {
+  cd args-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd args-$pkgver
+  nosetests3
+}
+
+package() {
+  cd args-$pkgver
+  python 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