New package: python-habanero-0.6.2

closes #10627
This commit is contained in:
xaltsc 2019-04-06 02:46:20 +02:00 committed by maxice8
parent 9c6e410836
commit f6c34cd811
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Template file for 'python-habanero'
pkgname=python-habanero
version=0.6.2
revision=1
archs=noarch
wrksrc="habanero-${version}"
build_style=python-module
pycompile_module="habanero"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-requests"
short_desc="Python2 low level client for Crossref Search API"
maintainer="xaltsc <xaltsc@protonmail.ch>"
license="MIT"
homepage="https://github.com/sckott/habanero"
distfiles="${PYPI_SITE}/h/habanero/habanero-${version}.tar.gz"
checksum=806c74298e0fb8a838514307ef3eca73685a968b8efd00e5dfe1ea604200f59d
post_install() {
vlicense docs/license.rst
}
python3-habanero_package() {
archs=noarch
pycompile_module="habanero"
depends="python3-requests"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense docs/license.rst
}
}

1
srcpkgs/python3-habanero Symbolic link
View File

@ -0,0 +1 @@
python-habanero