diff options
author | Marcell Meszaros | 2022-06-07 14:53:31 +0200 |
---|---|---|
committer | Marcell Meszaros | 2022-06-07 14:53:31 +0200 |
commit | 05b0a9ea28adfc7e3cb3b670ae3fd707ed783d69 (patch) | |
tree | 2b786e74b331f4deceb14b7d346881c08537dab0 | |
parent | 2d32d477d0d9005a3343d7f097590b0f98d49b3b (diff) | |
download | aur-05b0a9ea28adfc7e3cb3b670ae3fd707ed783d69.tar.gz |
refresh
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 22 insertions, 13 deletions
@@ -9,7 +9,7 @@ pkgbase = python2-funcsigs checkdepends = python2-unittest2 makedepends = python2-setuptools depends = python2 - source = https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz - sha256sums = a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50 + source = funcsigs-1.0.2.tar.gz::https://pypi.python.org/packages/source/f/funcsigs/funcsigs-1.0.2.tar.gz + b2sums = 3006d46018ae040b930e397c3f11575ae0ef18a8b2c9b6c10075804d83d23bea1fb81179de85180146673e0bd4c775a68c0ff624cdaceb1894efe5b2c8fd753c pkgname = python2-funcsigs diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ea592917bacb --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD +!*.diff +!*.hook +!*.install +!*.patch + @@ -1,28 +1,28 @@ +# Contributor: Marcell Meszaros < marcell.meszaros AT runbox.eu > # Contributor: Andrzej Giniewicz <gginiu@gmail.com> -# Maintainer: Jelle van der Waa <jelle@archlinux.org> +# Contributor: Jelle van der Waa <jelle@archlinux.org> -pkgname=python2-funcsigs +pkgname='python2-funcsigs' +_name="${pkgname#python2-}" pkgver=1.0.2 pkgrel=3 -pkgdesc="Python function signatures from PEP362" +pkgdesc='Python function signatures from PEP362' arch=('any') -url="https://pypi.python.org/pypi/funcsigs/" +url="https://pypi.python.org/pypi/${_name}/" 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') +_tarname="${_name}-${pkgver}" +source=("${_tarname}.tar.gz::https://pypi.python.org/packages/source/${_name::1}/${_name}/${_tarname}.tar.gz") +b2sums=('3006d46018ae040b930e397c3f11575ae0ef18a8b2c9b6c10075804d83d23bea1fb81179de85180146673e0bd4c775a68c0ff624cdaceb1894efe5b2c8fd753c') package() { - cd "$srcdir/funcsigs-$pkgver" + cd "${_tarname}" python2 setup.py install --root="${pkgdir}" --optimize=1 } check() { - cd "$srcdir/funcsigs-$pkgver/tests" + cd "${_tarname}/tests" nosetests2 . } - -# vim:ts=2:sw=2:et: |