diff --git a/srcpkgs/python-stevedore/template b/srcpkgs/python-stevedore/template new file mode 100644 index 0000000000..d2473ca186 --- /dev/null +++ b/srcpkgs/python-stevedore/template @@ -0,0 +1,29 @@ +# Template file for 'python-stevedore' +pkgname=python-stevedore +version=0.15 +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 python-pbr python3.4-pbr" +depends="python" +pycompile_module="stevedore" +short_desc="Manage dynamic plugins for Python2 applications" +maintainer="Alessio Sergi " +homepage="https://git.openstack.org/cgit/openstack/stevedore" +license="Apache-2.0" +distfiles="https://pypi.python.org/packages/source/s/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz" +checksum=bec9269cbfa58de4f0849ec79bb7d54eeeed9df8b5fbfa1637fbc68062822847 + +python3.4-stevedore_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="stevedore" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-stevedore b/srcpkgs/python3.4-stevedore new file mode 120000 index 0000000000..8b75fb5ae1 --- /dev/null +++ b/srcpkgs/python3.4-stevedore @@ -0,0 +1 @@ +python-stevedore \ No newline at end of file