parent
9c6e410836
commit
f6c34cd811
31
srcpkgs/python-habanero/template
Normal file
31
srcpkgs/python-habanero/template
Normal 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
1
srcpkgs/python3-habanero
Symbolic link
@ -0,0 +1 @@
|
||||
python-habanero
|
Loading…
x
Reference in New Issue
Block a user