30 lines
783 B
Bash
30 lines
783 B
Bash
# Template file for 'python-constantly'
|
|
pkgname=python-constantly
|
|
version=15.1.0
|
|
revision=4
|
|
wrksrc="constantly-${version}"
|
|
build_style=python-module
|
|
pycompile_module="constantly"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Symbolic constants in Python (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/twisted/constantly"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/c/constantly/constantly-${version}.tar.gz"
|
|
checksum=586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-constantly_package() {
|
|
depends="python3"
|
|
pycompile_module="constantly"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|