blob: 5cba17135099d3fc44ccd2cdc20a9cc2af7cc13c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
_pkgname=habanero
pkgname=(python-$_pkgname python2-$_pkgname)
pkgver=0.6.0
pkgrel=1
pkgdesc="Low Level Client for Crossref Search API"
arch=('any')
url="https://pypi.python.org/pypi/$_pkgname"
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://pypi.python.org/packages/6a/48/3396b520da48fa7d645d29ce1de6ca706fa9f4ce37a3ea5019e1f7662cac/$_pkgname-$pkgver.tar.gz"
"Changelog.rst")
sha256sums=('cd83f633c2fc0bfc3d20dd3c5852c84056230d119eb3aba9b94b03e423875788'
'25c8c42d3c714c371db0148f91a90140a2f6e7250a5a896a27e6632b11091776')
_package(){
depends=($1)
cd "$srcdir"/$_pkgname-$pkgver
cp "$srcdir"/Changelog.rst .
$1 setup.py install --root="$pkgdir"
}
for pkg in "${pkgname[@]}"; do
eval "package_$pkg () { _package ${pkg%%-*}; }"
done
|