New package: python-isbnlib-3.9.6

closes #10630
This commit is contained in:
xaltsc 2019-04-06 03:35:26 +02:00 committed by maxice8
parent 0e2633fd6c
commit 6ec0ed14c9
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-isbnlib'
pkgname=python-isbnlib
version=3.9.6
revision=1
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
}
}

1
srcpkgs/python3-isbnlib Symbolic link
View file

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