summaryrefslogtreecommitdiff
path: root/pcr/python-bibtexparser
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-03-05 13:29:08 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-03-05 13:29:34 +0100
commitf33401dbca698b90b3e567f8fbb7a6a1a12b6173 (patch)
tree12eeba48b0dea4e6cead2b72006a96fb7cb3d2ed /pcr/python-bibtexparser
parent7ecfe3c9184e9abc3a2d9118190af415f95f8b50 (diff)
pcr/papis: added, plus dependencies
Diffstat (limited to 'pcr/python-bibtexparser')
-rw-r--r--pcr/python-bibtexparser/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/python-bibtexparser/PKGBUILD b/pcr/python-bibtexparser/PKGBUILD
new file mode 100644
index 000000000..24cf68600
--- /dev/null
+++ b/pcr/python-bibtexparser/PKGBUILD
@@ -0,0 +1,22 @@
+
+_pkgname=bibtexparser
+pkgname=(python-$_pkgname python2-$_pkgname)
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Bibtex parser in Python"
+arch=('any')
+url="https://pypi.python.org/pypi/$_pkgname"
+license=('LGPL3')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=(https://pypi.python.org/packages/35/71/209bae42db6cc230ffd126dbda7ec057dd69a084acb4ddcd9ab4544c4506/$_pkgname-$pkgver.tar.gz)
+sha256sums=('cc41cdd8332c2bf44b97daf1f135f4f267c3b744c33976655cd270b66f964c0a')
+
+_package(){
+ depends=($1 $1-future $1-pyparsing)
+ cd "$srcdir"/$_pkgname-$pkgver
+ $1 setup.py install --root="$pkgdir"
+}
+
+for pkg in "${pkgname[@]}"; do
+ eval "package_$pkg () { _package ${pkg%%-*}; }"
+done