diff --git a/srcpkgs/python-argh/template b/srcpkgs/python-argh/template new file mode 100644 index 00000000000..931c51354c6 --- /dev/null +++ b/srcpkgs/python-argh/template @@ -0,0 +1,26 @@ +# Template file for 'python-argh' +pkgname=python-argh +version=0.26.2 +revision=1 +noarch=yes +wrksrc="argh-${version}" +build_style=python-module +pycompile_module="argh" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="An unobtrusive argparse wrapper with natural syntax (Python2)" +maintainer="Maurizio Porrato " +homepage="http://github.com/neithere/argh/" +license="LGPL-3" +distfiles="${PYPI_SITE}/a/argh/argh-${version}.tar.gz" +checksum=e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65 + +python3-argh_package() { + noarch=yes + pycompile_module="argh" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-argh b/srcpkgs/python3-argh new file mode 120000 index 00000000000..d67f34c56ad --- /dev/null +++ b/srcpkgs/python3-argh @@ -0,0 +1 @@ +python-argh \ No newline at end of file