32 lines
833 B
Bash
32 lines
833 B
Bash
# Template file for 'python-habanero'
|
|
pkgname=python-habanero
|
|
version=0.6.2
|
|
revision=2
|
|
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
|
|
}
|
|
}
|