From 973cd4df45704bd69b70af8a6277253ad1549972 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Wed, 19 Apr 2017 23:06:14 +0200 Subject: [PATCH] New package: python-Cheroot-5.4.0 --- srcpkgs/python-Cheroot/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-Cheroot | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-Cheroot/template create mode 120000 srcpkgs/python3-Cheroot diff --git a/srcpkgs/python-Cheroot/template b/srcpkgs/python-Cheroot/template new file mode 100644 index 00000000000..dae6b88a927 --- /dev/null +++ b/srcpkgs/python-Cheroot/template @@ -0,0 +1,29 @@ +# Template file for 'python-Cheroot' +pkgname=python-Cheroot +version=5.4.0 +revision=1 +wrksrc="cheroot-$version" +noarch=yes +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +short_desc="High-performance, pure-Python HTTP server" +maintainer="Andrea Brancaleoni " +license="BSD" +homepage="https://github.com/cherrypy/cheroot" +distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz" +checksum=f4b3d2eaa949b8a2f6676e3bca7c68cd358e4aa6bab437362b4bee6781626135 + +post_install() { + vlicense LICENSE.md +} + +python3-Cheroot_package() { + noarch=yes + pycompile_module="cheroot" + short_desc="${short_desc/Python2/Python3}" + alternatives="cherrypy:cherryd:/usr/bin/cherryd3" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE.md + } +} diff --git a/srcpkgs/python3-Cheroot b/srcpkgs/python3-Cheroot new file mode 120000 index 00000000000..46f9f7c6fdc --- /dev/null +++ b/srcpkgs/python3-Cheroot @@ -0,0 +1 @@ +python-Cheroot \ No newline at end of file