diff --git a/srcpkgs/python-incremental/template b/srcpkgs/python-incremental/template index 1af94a6b6b7..0b50d35cfd1 100644 --- a/srcpkgs/python-incremental/template +++ b/srcpkgs/python-incremental/template @@ -2,8 +2,8 @@ pkgname=python-incremental version=21.3.0 revision=2 -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" +build_style=python2-module +hostmakedepends="python-setuptools" depends="python" short_desc="Small library that versions your Python projects (Python2)" maintainer="Orphaned " @@ -16,12 +16,3 @@ checksum=02f5de5aff48f6b9f665d99d48bfc7ec03b6e3943210de7cfc88856d755d6f57 post_install() { vlicense LICENSE } - -python3-incremental_package() { - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-incremental b/srcpkgs/python3-incremental deleted file mode 120000 index ce274896aad..00000000000 --- a/srcpkgs/python3-incremental +++ /dev/null @@ -1 +0,0 @@ -python-incremental \ No newline at end of file diff --git a/srcpkgs/python3-incremental/template b/srcpkgs/python3-incremental/template new file mode 100644 index 00000000000..03b946e9374 --- /dev/null +++ b/srcpkgs/python3-incremental/template @@ -0,0 +1,19 @@ +# Template file for 'python3-incremental' +pkgname=python3-incremental +version=21.3.0 +revision=2 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-Twisted python3-click" +short_desc="Small library that versions your Python projects (Python3)" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/twisted/incremental" +changelog="https://raw.githubusercontent.com/twisted/incremental/trunk/NEWS.rst" +distfiles="${PYPI_SITE}/i/incremental/incremental-${version}.tar.gz" +checksum=02f5de5aff48f6b9f665d99d48bfc7ec03b6e3943210de7cfc88856d755d6f57 + +post_install() { + vlicense LICENSE +}