From 90e07c939bf3c7607d917e1eaf47fe90f8dd8111 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 19 Feb 2015 10:17:56 +0100 Subject: [PATCH] New package: python-path-7.2 --- srcpkgs/python-path/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python3.4-path | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-path/template create mode 120000 srcpkgs/python3.4-path diff --git a/srcpkgs/python-path/template b/srcpkgs/python-path/template new file mode 100644 index 00000000000..ff3b7221a26 --- /dev/null +++ b/srcpkgs/python-path/template @@ -0,0 +1,28 @@ +# Template file for 'python-path' +pkgname=python-path +version=7.2 +revision=1 +noarch=yes +wrksrc="path.py-${version}" +build_style="python-module" +python_versions="2.7 3.4" +hostmakedepends="unzip python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="path.py" +short_desc="Python2 module wrapper for os.path" +maintainer="Alessio Sergi " +homepage="https://github.com/jaraco/path.py" +license="MIT" +distfiles="${PYPI_SITE}/p/path.py/path.py-${version}.zip" +checksum=5e2330895ff3a7873c90cf2600da51b0baae0a3d5fd3ce47d22b32b15db65e1f + +python3.4-path_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="path.py" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-path b/srcpkgs/python3.4-path new file mode 120000 index 00000000000..d78f16503a6 --- /dev/null +++ b/srcpkgs/python3.4-path @@ -0,0 +1 @@ +python-path \ No newline at end of file