python-constantly: split python3-constantly to a new package
This commit is contained in:
parent
762bca1413
commit
7b1eb7282b
3 changed files with 19 additions and 14 deletions
|
@ -2,27 +2,16 @@
|
||||||
pkgname=python-constantly
|
pkgname=python-constantly
|
||||||
version=15.1.0
|
version=15.1.0
|
||||||
revision=7
|
revision=7
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
pycompile_module="constantly"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Symbolic constants in Python (Python2)"
|
short_desc="Symbolic constants in Python (Python2)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
homepage="https://github.com/twisted/constantly"
|
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
homepage="https://github.com/twisted/constantly"
|
||||||
distfiles="${PYPI_SITE}/c/constantly/constantly-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/constantly/constantly-${version}.tar.gz"
|
||||||
checksum=586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35
|
checksum=586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-constantly_package() {
|
|
||||||
depends="python3"
|
|
||||||
pycompile_module="constantly"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-constantly
|
|
17
srcpkgs/python3-constantly/template
Normal file
17
srcpkgs/python3-constantly/template
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Template file for 'python3-constantly'
|
||||||
|
pkgname=python3-constantly
|
||||||
|
version=15.1.0
|
||||||
|
revision=7
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="Symbolic constants in Python (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/twisted/constantly"
|
||||||
|
distfiles="${PYPI_SITE}/c/constantly/constantly-${version}.tar.gz"
|
||||||
|
checksum=586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue