From 5e021fc2e9276f3f73d8db21b8316e919795d58c Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 6 Jul 2014 00:24:23 +0200 Subject: [PATCH] New package: python-pbr-0.8.2 with 3.4 subpkg Python build reasonableness. --- srcpkgs/python-pbr/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3.4-pbr | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-pbr/template create mode 120000 srcpkgs/python3.4-pbr diff --git a/srcpkgs/python-pbr/template b/srcpkgs/python-pbr/template new file mode 100644 index 00000000000..2117206f1db --- /dev/null +++ b/srcpkgs/python-pbr/template @@ -0,0 +1,29 @@ +# Template file for 'python-pbr' +pkgname=python-pbr +version=0.8.2 +revision=1 +noarch=yes +wrksrc="${pkgname#*-}-${version}" +python_versions="2.7 3.4" +build_style=python-module +hostmakedepends="python-setuptools python3.4-setuptools" +makedepends="python-devel python3.4-devel" +depends="python" +pycompile_module="pbr" +short_desc="Python2 build reasonableness" +maintainer="Alessio Sergi " +homepage="https://pypi.python.org/pypi/pbr" +license="Apache-2.0" +distfiles="https://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz" +checksum=eef2ace8d65d5902582cbc9ad3b2ecff0e86a6f90ad4837d8b17d568dd9dd20e + +python3.4-pbr_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="pbr" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-pbr b/srcpkgs/python3.4-pbr new file mode 120000 index 00000000000..7d5e74920c1 --- /dev/null +++ b/srcpkgs/python3.4-pbr @@ -0,0 +1 @@ +python-pbr \ No newline at end of file