diff --git a/srcpkgs/python-alabaster/template b/srcpkgs/python-alabaster/template new file mode 100644 index 00000000000..6899320a0fe --- /dev/null +++ b/srcpkgs/python-alabaster/template @@ -0,0 +1,28 @@ +# Template file for 'python-alabaster' +pkgname=python-alabaster +version=0.7.3 +revision=1 +noarch=yes +wrksrc="alabaster-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="alabaster" +short_desc="Configurable sidebar-enabled Sphinx theme (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/bitprophet/alabaster" +license="BSD" +distfiles="${PYPI_SITE}/a/alabaster/alabaster-${version}.tar.gz" +checksum=0703c1ea5a6af0bb6d0cec24708301334949d56ebc7f95c64028d9c66f9d8d5d + +python3.4-alabaster_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="alabaster" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +}