diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-03-05 13:29:08 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-03-05 13:29:34 +0100 |
commit | f33401dbca698b90b3e567f8fbb7a6a1a12b6173 (patch) | |
tree | 12eeba48b0dea4e6cead2b72006a96fb7cb3d2ed /pcr/python-pylibgen | |
parent | 7ecfe3c9184e9abc3a2d9118190af415f95f8b50 (diff) | |
download | abslibre-f33401dbca698b90b3e567f8fbb7a6a1a12b6173.tar.gz abslibre-f33401dbca698b90b3e567f8fbb7a6a1a12b6173.tar.bz2 abslibre-f33401dbca698b90b3e567f8fbb7a6a1a12b6173.zip |
pcr/papis: added, plus dependencies
Diffstat (limited to 'pcr/python-pylibgen')
-rw-r--r-- | pcr/python-pylibgen/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/python-pylibgen/PKGBUILD b/pcr/python-pylibgen/PKGBUILD new file mode 100644 index 000000000..a8695e794 --- /dev/null +++ b/pcr/python-pylibgen/PKGBUILD @@ -0,0 +1,22 @@ + +_pkgname=pylibgen +pkgname=(python-$_pkgname) +pkgver=1.3.1 +pkgrel=1 +pkgdesc="Python interface to Library Genesis." +arch=('any') +url="https://pypi.python.org/pypi/$_pkgname" +license=('MIT') +makedepends=('python-setuptools' 'python2-setuptools') +source=(https://pypi.python.org/packages/e7/c8/1684fcb4149000877ba18046a9d5ddc59c6091793bdd0905ff4afaf9b244/$_pkgname-$pkgver.tar.gz) +sha256sums=('303b0f279504c6b97f7619835bc9005bdadf9860c8b7a5d8204b189747c471e7') + +_package(){ + depends=($1) + cd "$srcdir"/$_pkgname-$pkgver + $1 setup.py install --root="$pkgdir" +} + +for pkg in "${pkgname[@]}"; do + eval "package_$pkg () { _package ${pkg%%-*}; }" +done |