diff --git a/srcpkgs/python-Yapsy/template b/srcpkgs/python-Yapsy/template new file mode 100644 index 0000000000..3056748ed0 --- /dev/null +++ b/srcpkgs/python-Yapsy/template @@ -0,0 +1,30 @@ +# Template file for 'python-Yapsy' +pkgname=python-Yapsy +version=1.11.223 +revision=1 +noarch=yes +wrksrc="Yapsy-${version}" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +pycompile_module="yapsy" +short_desc="Yet another plugin system" +maintainer="Christian Neukirchen " +homepage="http://yapsy.sourceforge.net/" +license="2-clause-BSD" +distfiles="${PYPI_SITE}/Y/Yapsy/Yapsy-${version}.tar.gz" +checksum=45bb39a72461913388d7f3e92ce33816e84fff59946c45e16796eb1fb1d5f2a6 + +post_install() { + vlicense LICENSE.txt +} + +python3-Yapsy_package() { + noarch=yes + depends="python3" + pycompile_module="yapsy" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-Yapsy b/srcpkgs/python3-Yapsy new file mode 120000 index 0000000000..4345c73400 --- /dev/null +++ b/srcpkgs/python3-Yapsy @@ -0,0 +1 @@ +python-Yapsy \ No newline at end of file