diff --git a/srcpkgs/python-bottle/template b/srcpkgs/python-bottle/template new file mode 100644 index 0000000000..50a6ad6d22 --- /dev/null +++ b/srcpkgs/python-bottle/template @@ -0,0 +1,29 @@ +# Template file for 'python-bottle' +pkgname=python-bottle +version=0.12.16 +revision=1 +noarch=yes +wrksrc="bottle-${version}" +build_style=python-module +pycompile_module="bottle" +hostmakedepends="python-setuptools python3-setuptools" +short_desc="Fast and simple WSGI-framework for small web-applications (Python2)" +maintainer="Aluísio Augusto Silva Gonçalves " +license="MIT" +homepage="http://bottlepy.org" +distfiles="https://github.com/bottlepy/bottle/archive/${version}.tar.gz" +checksum=@71fc9dbf5159e2f37ae4a79dfa816538cb8ed7a6908f09e1086160055a2d0225 + +post_install() { + vlicense LICENSE +} + +python3-bottle_package() { + noarch=yes + pycompile_module="bottle" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove "usr/lib/python3*" + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-bottle b/srcpkgs/python3-bottle new file mode 120000 index 0000000000..7124ef22d9 --- /dev/null +++ b/srcpkgs/python3-bottle @@ -0,0 +1 @@ +python-bottle \ No newline at end of file