From 1363a2532d20e919e6ea4eb7b2828cb8c3973797 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 13 Jul 2014 00:17:14 +0200 Subject: [PATCH] python-parsing: update to 2.0.2; add python3.4 subpkg --- srcpkgs/python-parsing/template | 31 +++++++++++++++++++++---------- srcpkgs/python3.4-parsing | 1 + 2 files changed, 22 insertions(+), 10 deletions(-) create mode 120000 srcpkgs/python3.4-parsing diff --git a/srcpkgs/python-parsing/template b/srcpkgs/python-parsing/template index 55101cf49f1..8d1b76d840e 100644 --- a/srcpkgs/python-parsing/template +++ b/srcpkgs/python-parsing/template @@ -1,17 +1,28 @@ # Template file for 'python-parsing' pkgname=python-parsing -version=1.5.6 -revision=3 +version=2.0.2 +revision=1 +noarch=yes wrksrc="pyparsing-${version}" build_style=python-module -hostmakedepends="python-devel" -makedepends="python-devel" -noarch="yes" +python_versions="2.7 3.4" +hostmakedepends="python-devel python3.4-devel" +makedepends="${hostmakedepends}" +depends="python" pycompile_module="pyparsing.py" -depends="python>=2.7<3.0" -short_desc="General parsing module for Python" +short_desc="Python parsing module (Python2)" maintainer="Juan RP " license="MIT" -homepage="http://pyparsing.wikispaces.com" -distfiles="${SOURCEFORGE_SITE}/pyparsing/pyparsing-${version}.tar.gz" -checksum=5c84aa4500e82d5aa2c0842d5628c5da985e68ac1fb33554e0e5547eb3c85a75 +homepage="http://pyparsing.wikispaces.com/" +distfiles="https://pypi.python.org/packages/source/p/pyparsing/pyparsing-${version}.tar.gz" +checksum=17e43d6b17588ed5968735575b3983a952133ec4082596d214d7090b56d48a06 + +python3.4-parsing_package() { + depends="python3.4" + pycompile_version="3.4" + pycompile_module="pyparsing.py" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-parsing b/srcpkgs/python3.4-parsing new file mode 120000 index 00000000000..b66a4174141 --- /dev/null +++ b/srcpkgs/python3.4-parsing @@ -0,0 +1 @@ +python-parsing \ No newline at end of file