python-kaptan: drop package
This commit is contained in:
parent
5688b1eccc
commit
2332005ba2
3 changed files with 19 additions and 35 deletions
|
@ -1,34 +0,0 @@
|
||||||
# Template file for 'python-kaptan'
|
|
||||||
pkgname=python-kaptan
|
|
||||||
version=0.5.12
|
|
||||||
revision=2
|
|
||||||
archs=noarch
|
|
||||||
wrksrc="kaptan-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="kaptan"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python python-yaml"
|
|
||||||
short_desc="Configuration manager"
|
|
||||||
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
|
||||||
license="BSD-3-Clause"
|
|
||||||
homepage="https://github.com/emre/kaptan"
|
|
||||||
distfiles="${PYPI_SITE}/k/kaptan/kaptan-${version}.tar.gz"
|
|
||||||
checksum=@b0714c3c0c58006ca6d9fc5528d103685773ed22496d5dd582fbd7efe6a67c7a
|
|
||||||
alternatives="kaptan:kaptan:/usr/bin/kaptan2"
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-kaptan_package() {
|
|
||||||
archs=noarch
|
|
||||||
pycompile_module="kaptan"
|
|
||||||
depends="python3 python3-yaml"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="kaptan:kaptan:/usr/bin/kaptan3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/kaptan3
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-kaptan
|
|
19
srcpkgs/python3-kaptan/template
Normal file
19
srcpkgs/python3-kaptan/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'python3-kaptan'
|
||||||
|
pkgname=python3-kaptan
|
||||||
|
version=0.5.12
|
||||||
|
revision=3
|
||||||
|
wrksrc="kaptan-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3 python3-yaml"
|
||||||
|
short_desc="Configuration manager"
|
||||||
|
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://github.com/emre/kaptan"
|
||||||
|
distfiles="${PYPI_SITE}/k/kaptan/kaptan-${version}.tar.gz"
|
||||||
|
checksum=@b0714c3c0c58006ca6d9fc5528d103685773ed22496d5dd582fbd7efe6a67c7a
|
||||||
|
conflicts="python-kaptan>=0"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in a new issue