diff options
Diffstat (limited to 'x11-fonts/py-FindSystemFontsFilename/Makefile')
| -rw-r--r-- | x11-fonts/py-FindSystemFontsFilename/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-fonts/py-FindSystemFontsFilename/Makefile b/x11-fonts/py-FindSystemFontsFilename/Makefile index 3edc40c312e0..c522f89fbd86 100644 --- a/x11-fonts/py-FindSystemFontsFilename/Makefile +++ b/x11-fonts/py-FindSystemFontsFilename/Makefile @@ -1,5 +1,5 @@ PORTNAME= FindSystemFontsFilename -DISTVERSION= 0.3.2 +DISTVERSION= 0.3.3 CATEGORIES= x11-fonts python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,4 +20,11 @@ USE_PYTHON= autoplist pep517 NO_ARCH= yes +# fix build with devel/py-setuptools < 77.0.0 +post-patch: + @${REINPLACE_CMD} -e 's,^\(license = \)\("MIT"\),\1{ text = \2 },1' \ + -e 's,\(setuptools>=\)77.0.0,\163.1.0,1' \ + -e '/^license-files/d' \ + ${WRKSRC}/pyproject.toml + .include <bsd.port.mk> |
