blob: fad63152a8da3be4f8c6a99ea3dc01329d09a510 (
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
|
# Maintainer: Andreas Grapentin <oaken-source@parabola.nu>
_pkgname=bibtexparser
pkgname=(python{,2}-$_pkgname)
pkgver=1.1.0
pkgrel=1
pkgdesc="Bibtex parser in Python"
arch=(any)
url="https://pypi.python.org/pypi/$_pkgname"
license=('LGPL3')
_depends=(future pyparsing)
makedepends=(python{,2}-setuptools)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('208b5e7641a188dd0d8c44e3ee1589e9')
_package() {
depends=("$1" "${_depends[@]/#/$1-}")
cd "$srcdir"/$_pkgname-$pkgver
$1 setup.py install --root="$pkgdir"
}
for _pkg in "${pkgname[@]}"; do
eval "package_$_pkg () { _package ${_pkg%%-*}; }"
done
|