diff --git a/srcpkgs/python-ipython_genutils/template b/srcpkgs/python-ipython_genutils/template new file mode 100644 index 0000000000..1f2c6de057 --- /dev/null +++ b/srcpkgs/python-ipython_genutils/template @@ -0,0 +1,33 @@ +# Template file for 'python-ipython_genutils' +pkgname=python-ipython_genutils +version=0.1.0 +revision=1 +noarch=yes +wrksrc="ipython_genutils-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="ipython_genutils" +short_desc="Vestigial utilities from IPython (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/ipython/ipython_genutils" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/i/ipython_genutils/ipython_genutils-${version}.tar.gz" +checksum=3a0624a251a26463c9dfa0ffa635ec51c4265380980d9a50d65611c3c2bd82a6 + +post_install() { + vlicense COPYING.md LICENSE +} + +python3.4-ipython_genutils_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="ipython_genutils" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense COPYING.md LICENSE + } +} diff --git a/srcpkgs/python3.4-ipython_genutils b/srcpkgs/python3.4-ipython_genutils new file mode 120000 index 0000000000..5e64c01d19 --- /dev/null +++ b/srcpkgs/python3.4-ipython_genutils @@ -0,0 +1 @@ +python-ipython_genutils \ No newline at end of file