mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
New package: python-kaptan-0.5.10
Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
parent
141e3ff7b3
commit
512f71d177
2 changed files with 35 additions and 0 deletions
34
srcpkgs/python-kaptan/template
Normal file
34
srcpkgs/python-kaptan/template
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'python-kaptan'
|
||||||
|
pkgname=python-kaptan
|
||||||
|
version=0.5.10
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
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=44df200d030975650a3a832c13b48cafdeb1a237b23de181d6a2346107e39da3
|
||||||
|
alternatives="kaptan:kaptan:/usr/bin/kaptan2"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-kaptan_package() {
|
||||||
|
noarch=yes
|
||||||
|
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
srcpkgs/python3-kaptan
Symbolic link
1
srcpkgs/python3-kaptan
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-kaptan
|
Loading…
Add table
Reference in a new issue