diff --git a/srcpkgs/python-ConfigArgParse/template b/srcpkgs/python-ConfigArgParse/template new file mode 100644 index 00000000000..cb58fb6ee8d --- /dev/null +++ b/srcpkgs/python-ConfigArgParse/template @@ -0,0 +1,30 @@ +# Template file for 'python-ConfigArgParse' +pkgname=python-ConfigArgParse +version=0.12.0 +revision=1 +wrksrc="ConfigArgParse-${version}" +build_style=python-module +noarch=yes +pycompile_module="configargparse.py" +hostmakedepends="python-setuptools python3-setuptools" +short_desc="A drop-in replacement for argparse" +maintainer="Helmut Pozimski " +license="MIT" +homepage="https://github.com/bw2/ConfigArgParse" +distfiles="${PYPI_SITE}/C/ConfigArgParse/ConfigArgParse-${version}.tar.gz" +checksum=28cd7d67669651f2a4518367838c49539457504584a139709b2b8f6c208ef339 + +post_install() { + vlicense LICENSE +} + +python3-ConfigArgParse_package() { + noarch=yes + pycompile_module="configargparse.py" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} + diff --git a/srcpkgs/python3-ConfigArgParse b/srcpkgs/python3-ConfigArgParse new file mode 120000 index 00000000000..c5af0c04142 --- /dev/null +++ b/srcpkgs/python3-ConfigArgParse @@ -0,0 +1 @@ +python-ConfigArgParse \ No newline at end of file