From 3692bf605427564d3d9cf10d1b87754468097eff Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 20 May 2018 18:37:07 +0200 Subject: [PATCH] python-CherryPy: broken --- srcpkgs/python-CherryPy/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python-CherryPy/template b/srcpkgs/python-CherryPy/template index 21d70722119..443599f33bf 100644 --- a/srcpkgs/python-CherryPy/template +++ b/srcpkgs/python-CherryPy/template @@ -1,3 +1,4 @@ +broken="Missing portend dependency" # Template file for 'python-CherryPy' pkgname=python-CherryPy version=15.0.0 @@ -6,23 +7,28 @@ noarch=yes wrksrc="CherryPy-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" -depends="python-six python-Cheroot" +depends="python-setuptools python-six python-Cheroot" pycompile_module="cherrypy" short_desc="Object-oriented HTTP framework (Python2)" maintainer="Andrea Brancaleoni " -license="3-clause-BSD" -homepage="http://www.cherrypy.org" +license="BSD-3-Clause" +homepage="https://cherrypy.org/" distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz" checksum=7404638da9cf8c6be672505168ccb63e16d33cb3aa16a02ec30a44641f7546af alternatives="cherrypy:cherryd:/usr/bin/cherryd2" +pre_build() { + sed -i setup.py \ + -e '/setuptools_scm/d' \ + -e "s|use_scm_version=True|version='${version}'|" +} post_install() { vlicense LICENSE.md } python3-CherryPy_package() { noarch=yes - depends="python3-six python3-Cheroot" + depends="python3-setuptools python3-six python3-Cheroot" pycompile_module="cherrypy" short_desc="${short_desc/Python2/Python3}" alternatives="cherrypy:cherryd:/usr/bin/cherryd3"