diff --git a/srcpkgs/python-setuptools_scm/template b/srcpkgs/python-setuptools_scm/template new file mode 100644 index 00000000000..4050d7dcae4 --- /dev/null +++ b/srcpkgs/python-setuptools_scm/template @@ -0,0 +1,28 @@ +# Template file for 'python-setuptools_scm' +pkgname=python-setuptools_scm +version=1.7.0 +revision=1 +noarch=yes +wrksrc="setuptools_scm-${version}" +build_style="python-module" +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-setuptools" +pycompile_module="setuptools_scm" +short_desc="Package to manage versions by scm tags via setuptools (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/pypa/setuptools_scm" +license="MIT" +distfiles="${PYPI_SITE}/s/setuptools_scm/setuptools_scm-${version}.tar.gz" +checksum=f2f69c782b4f549003edf5b75b356b37f40a4e880b615996c5d9c117913d6f9c + +python3.4-setuptools_scm_package() { + noarch=yes + depends="python3.4-setuptools" + pycompile_version="3.4" + pycompile_module="setuptools_scm" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-setuptools_scm b/srcpkgs/python3.4-setuptools_scm new file mode 120000 index 00000000000..482193b66cd --- /dev/null +++ b/srcpkgs/python3.4-setuptools_scm @@ -0,0 +1 @@ +python-setuptools_scm \ No newline at end of file