Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2020 05:33:06 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536265 - head/www/py-flask-restplus
Message-ID:  <202005230533.04N5X6Fh087740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat May 23 05:33:06 2020
New Revision: 536265
URL: https://svnweb.freebsd.org/changeset/ports/536265

Log:
  www/py-flask-restplus: unbreak after r527409
  
  >>> import flask_restplus
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/local/lib/python3.7/site-packages/flask_restplus/__init__.py", line 4, in <module>
      from . import fields, reqparse, apidoc, inputs, cors
    File "/usr/local/lib/python3.7/site-packages/flask_restplus/fields.py", line 17, in <module>
      from werkzeug import cached_property
  ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/local/lib/python3.7/site-packages/werkzeug/__init__.py)

Modified:
  head/www/py-flask-restplus/Makefile   (contents, props changed)
  head/www/py-flask-restplus/distinfo   (contents, props changed)

Modified: head/www/py-flask-restplus/Makefile
==============================================================================
--- head/www/py-flask-restplus/Makefile	Sat May 23 04:02:52 2020	(r536264)
+++ head/www/py-flask-restplus/Makefile	Sat May 23 05:33:06 2020	(r536265)
@@ -2,8 +2,12 @@
 
 PORTNAME=	flask-restplus
 PORTVERSION=	0.13.0
+PORTREVISION=	1
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	f48b1d2403de.patch:-p1 119a6feb2950.patch:-p1
 
 MAINTAINER=	andrej@ebert.su
 COMMENT=	Extension for Flask that adds support for quickly building REST APIs

Modified: head/www/py-flask-restplus/distinfo
==============================================================================
--- head/www/py-flask-restplus/distinfo	Sat May 23 04:02:52 2020	(r536264)
+++ head/www/py-flask-restplus/distinfo	Sat May 23 05:33:06 2020	(r536265)
@@ -1,3 +1,7 @@
 TIMESTAMP = 1582426379
 SHA256 (noirbizarre-flask-restplus-0.13.0_GH0.tar.gz) = 5fd64c04bf224912965df54d29efbab423e65ea52ec61f37cf5d0aec553723da
 SIZE (noirbizarre-flask-restplus-0.13.0_GH0.tar.gz) = 281618
+SHA256 (f48b1d2403de.patch) = 43faca5fc256c745980fd0b05aa3aeee7728499754ea4884a815eb603b05c43b
+SIZE (f48b1d2403de.patch) = 794
+SHA256 (119a6feb2950.patch) = 9eb8d9e322f84c9c16113ea0d5128fec9c2f48388dbd3d8927bfbb443f4871f6
+SIZE (119a6feb2950.patch) = 894



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005230533.04N5X6Fh087740>