From 7889075b35197ac194e60fd3114dba19f516a0ba Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 13 Jul 2014 18:28:28 +0200 Subject: [PATCH] python-setproctitle: update to 1.1.8; add python3.4 subpkg No python file to be byte-compiled at post-install time. Only .so library. --- srcpkgs/python-setproctitle/template | 24 ++++++++++++++++-------- srcpkgs/python3.4-setproctitle | 1 + 2 files changed, 17 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3.4-setproctitle diff --git a/srcpkgs/python-setproctitle/template b/srcpkgs/python-setproctitle/template index 5821a8c20e..51ab3d9fe6 100644 --- a/srcpkgs/python-setproctitle/template +++ b/srcpkgs/python-setproctitle/template @@ -1,16 +1,24 @@ # Template file for 'python-setproctitle' pkgname=python-setproctitle -version=1.1.6 -revision=3 +version=1.1.8 +revision=1 wrksrc="setproctitle-${version}" build_style=python-module -hostmakedepends="python-devel" -makedepends="python-devel" +python_versions="2.7 3.4" +hostmakedepends="python-devel python3.4-devel" +makedepends="${hostmakedepends}" depends="python" -pycompile_module="setproctitle" -short_desc="A library to allow customization of the process title" +short_desc="Python2 library to allow customization of the process title" maintainer="Juan RP " homepage="http://code.google.com/p/py-setproctitle/" license="BSD" -distfiles="http://pypi.python.org/packages/source/s/setproctitle/setproctitle-${version}.tar.gz" -checksum=f2926abd47803e288f665401268a9950961be734e981035bde9acb4af80a032d +distfiles="https://pypi.python.org/packages/source/s/setproctitle/setproctitle-${version}.tar.gz" +checksum=b564cf6488217c7a4632a9fe646fc3a3bea2f9712b4e667e9632b870d1a58211 + +python3.4-setproctitle_package() { + depends="python3.4" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-setproctitle b/srcpkgs/python3.4-setproctitle new file mode 120000 index 0000000000..5edeb0c812 --- /dev/null +++ b/srcpkgs/python3.4-setproctitle @@ -0,0 +1 @@ +python-setproctitle \ No newline at end of file