diff --git a/srcpkgs/python-ply/template b/srcpkgs/python-ply/template new file mode 100644 index 0000000000..194fbf8603 --- /dev/null +++ b/srcpkgs/python-ply/template @@ -0,0 +1,28 @@ +# Template file for 'python-ply' +pkgname=python-ply +version=3.4 +revision=1 +noarch=yes +wrksrc="ply-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="ply" +short_desc="Lex and Yacc for Python2" +maintainer="Alessio Sergi " +homepage="http://www.dabeaz.com/ply/" +license="BSD" +distfiles="${PYPI_SITE}/p/ply/ply-${version}.tar.gz" +checksum=af435f11b7bdd69da5ffbc3fecb8d70a7073ec952e101764c88720cdefb2546b + +python3.4-ply_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="ply" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-ply b/srcpkgs/python3.4-ply new file mode 120000 index 0000000000..805861f2f7 --- /dev/null +++ b/srcpkgs/python3.4-ply @@ -0,0 +1 @@ +python-ply \ No newline at end of file