diff --git a/srcpkgs/python-setproctitle/template b/srcpkgs/python-setproctitle/template index 0b16673696..e76637e285 100644 --- a/srcpkgs/python-setproctitle/template +++ b/srcpkgs/python-setproctitle/template @@ -1,12 +1,11 @@ # Template file for 'python-setproctitle' pkgname=python-setproctitle version=1.1.10 -revision=2 +revision=3 wrksrc="setproctitle-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" -makedepends="python-devel python3.4-devel" +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel" short_desc="Python2 library to allow customization of the process title" maintainer="Juan RP " homepage="https://github.com/dvarrazzo/py-setproctitle" @@ -18,10 +17,16 @@ post_install() { vlicense COPYRIGHT LICENSE } -python3.4-setproctitle_package() { - short_desc="${short_desc/Python2/Python3.4}" +python3-setproctitle_package() { + replaces="python3.4-setproctitle>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { vlicense COPYRIGHT LICENSE - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-setproctitle_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-setproctitle>=${version}_${revision}" +} diff --git a/srcpkgs/python3-setproctitle b/srcpkgs/python3-setproctitle new file mode 120000 index 0000000000..5edeb0c812 --- /dev/null +++ b/srcpkgs/python3-setproctitle @@ -0,0 +1 @@ +python-setproctitle \ No newline at end of file