python-isbnlib: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:20:48 +07:00
parent 9ef25bcc78
commit a4b11ce628
3 changed files with 14 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-isbnlib'
pkgname=python-isbnlib
version=3.9.6
revision=2
archs=noarch
wrksrc="isbnlib-${version}"
build_style=python-module
pycompile_module="isbnlib"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 library for ISBN"
maintainer="xaltsc <xaltsc@protonmail.ch>"
license="LGPL-3.0-only"
homepage="https://github.com/xlcnd/isbnlib"
distfiles="${PYPI_SITE}/i/isbnlib/isbnlib-${version}.tar.gz"
checksum=d4ae098cb31d6c678a6eac074a24f8ba4adfe7df65db13b0b2ab7355f28d6e3b
post_install() {
vlicense LICENSE
}
python3-isbnlib_package() {
archs=noarch
pycompile_module="isbnlib"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-isbnlib

View file

@ -0,0 +1,14 @@
# Template file for 'python3-isbnlib'
pkgname=python3-isbnlib
version=3.9.6
revision=3
wrksrc="isbnlib-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 library for ISBN"
maintainer="xaltsc <xaltsc@protonmail.ch>"
license="LGPL-3.0-only"
homepage="https://github.com/xlcnd/isbnlib"
distfiles="${PYPI_SITE}/i/isbnlib/isbnlib-${version}.tar.gz"
checksum=d4ae098cb31d6c678a6eac074a24f8ba4adfe7df65db13b0b2ab7355f28d6e3b