Bug 247597 - www/py-cherrypy: can py-cherrypy be upated to at least 8.9.1?
Summary: www/py-cherrypy: can py-cherrypy be upated to at least 8.9.1?
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nicola Vitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-27 17:31 UTC by colmconn
Modified: 2020-06-27 17:31 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (nivit)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description colmconn 2020-06-27 17:31:52 UTC
Can www/py-cherrypy be updated to 8.9.1? 

The upcoming version 3 of sabnzbd, which no longer includes its own copy of the cherrypy source, crashes with the  version www/py-cherrypy (5.4.0) currently in ports. See https://github.com/sabnzbd/sabnzbd/issues/1524

I've patched (locally) the Makefile for www/py-cherrypy to build 8.9.1 and installed the resultant package in conjunction with a SAB 3 package which I've also built locally. The combination of  www/py-cherrypy 8.9.1 and SAB 3 solved the issue I was having where SAB 3 trying to restart itself resulted in a crash of SAB.

Below is the patch to www/py-cherrypy/Makefile I created. I also had to delete the patch file from files to get www/py-cherrypy to build successfully.

I built www/py-cherrypy for python 3.7.

--- Makefile.orig       2020-06-27 12:46:00.039224445 -0400
+++ Makefile    2020-06-27 12:47:30.267259451 -0400
@@ -2,8 +2,8 @@
 # $FreeBSD: head/www/py-cherrypy/Makefile 537989 2020-06-05 06:23:55Z jbeich $
 
 PORTNAME=      cherrypy
-PORTVERSION=   5.4.0
-PORTREVISION=  4
+PORTVERSION=   8.9.1
+PORTREVISION=  1
 CATEGORIES=    www python
 MASTER_SITES=  CHEESESHOP
 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,9 +22,8 @@
 
 PORTEXAMPLES=  *
 
-USES=          python shebangfix
+USES=          python
 USE_PYTHON=    distutils autoplist concurrent
-SHEBANG_FILES= cherrypy/cherryd
 
 .include <bsd.port.options.mk>