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