diff --git a/srcpkgs/python-incremental/template b/srcpkgs/python-incremental/template new file mode 100644 index 00000000000..9b40a4e55c5 --- /dev/null +++ b/srcpkgs/python-incremental/template @@ -0,0 +1,31 @@ +# Template file for 'python-incremental' +pkgname=python-incremental +version=16.10.1 +revision=1 +noarch=yes +wrksrc="incremental-${version}" +build_style=python-module +pycompile_module="incremental" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Small library that versions your Python projects (Python2)" +maintainer="Juan RP " +homepage="https://github.com/hawkowl/incremental" +license="MIT" +distfiles="${PYPI_SITE}/i/incremental/incremental-${version}.tar.gz" +checksum=14ad6b720ec47aad6c9caa83e47db1843e2b9b98742da5dda08e16a99f400342 + +post_install() { + vlicense LICENSE +} + +python3-incremental_package() { + noarch=yes + depends="python3" + pycompile_module="incremental" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-incremental b/srcpkgs/python3-incremental new file mode 120000 index 00000000000..ce274896aad --- /dev/null +++ b/srcpkgs/python3-incremental @@ -0,0 +1 @@ +python-incremental \ No newline at end of file