void-packages/srcpkgs/python-isbnlib/template

32 lines
773 B
Bash

# 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
}
}