python-habanero: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:32:22 +07:00
parent 0cbaac37f6
commit 57be28584a
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# 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
}
}

View file

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

View file

@ -0,0 +1,18 @@
# Template file for 'python3-habanero'
pkgname=python3-habanero
version=0.6.2
revision=3
wrksrc="habanero-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests"
short_desc="Python3 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
}