From 36c6081b235808878fe49dda2dddf4000e65355f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alu=C3=ADsio=20Augusto=20Silva=20Gon=C3=A7alves?= Date: Tue, 8 May 2018 15:34:33 -0300 Subject: [PATCH] New package: python-bottle-0.12.16 --- srcpkgs/python-bottle/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-bottle | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-bottle/template create mode 120000 srcpkgs/python3-bottle diff --git a/srcpkgs/python-bottle/template b/srcpkgs/python-bottle/template new file mode 100644 index 00000000000..50a6ad6d22f --- /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 00000000000..7124ef22d99 --- /dev/null +++ b/srcpkgs/python3-bottle @@ -0,0 +1 @@ +python-bottle \ No newline at end of file