[arch-commits] Commit in python2-funcsigs/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 14:12:54 UTC 2020
Date: Tuesday, July 7, 2020 @ 14:12:54
Author: felixonmars
Revision: 658760
archrelease: copy trunk to community-staging-any
Added:
python2-funcsigs/repos/community-staging-any/
python2-funcsigs/repos/community-staging-any/PKGBUILD
(from rev 658759, python2-funcsigs/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python2-funcsigs/repos/community-staging-any/PKGBUILD (from rev 658759, python2-funcsigs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 14:12:54 UTC (rev 658760)
@@ -0,0 +1,28 @@
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python2-funcsigs
+pkgver=1.0.2
+pkgrel=3
+pkgdesc="Python function signatures from PEP362"
+arch=('any')
+url="https://pypi.python.org/pypi/funcsigs/"
+license=('Apache')
+depends=('python2')
+makedepends=('python2-setuptools')
+checkdepends=('python2-nose' 'python2-unittest2')
+#source=(https://pypi.python.org/packages/source/f/funcsigs/funcsigs-${pkgver}.tar.gz)
+source=(https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz)
+sha256sums=('a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50')
+
+package() {
+ cd "$srcdir/funcsigs-$pkgver"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+check() {
+ cd "$srcdir/funcsigs-$pkgver/tests"
+ nosetests2 .
+}
+
+# vim:ts=2:sw=2:et:
More information about the arch-commits
mailing list