mirror of https://git.FreeBSD.org/ports.git
x11-fonts/py-FindSystemFontsFilename: Update to 0.3.3
- Add a post-patch target to fix build with devel/py-setuptools < 77.0.0,
otherwise it fails with the error:
/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
warnings.warn(msg, _BetaConfiguration)
configuration error: `project.license` must be valid exactly by one definition (2 matches found):
- keys:
'file': {type: string}
required: ['file']
- keys:
'text': {type: string}
required: ['text']
Release changes: https://github.com/moi15moi/FindSystemFontsFilename/releases/tag/0.3.3
Reported by: portscout!
This commit is contained in:
parent
c8ba50660a
commit
eb8b0c7e78
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1750495456
|
||||
SHA256 (findsystemfontsfilename-0.3.2.tar.gz) = d2d9bad5156bb5f97c1f64d185a3fc40f83b27a95b4421e65f7bbe518e177c20
|
||||
SIZE (findsystemfontsfilename-0.3.2.tar.gz) = 20481
|
||||
TIMESTAMP = 1760712472
|
||||
SHA256 (findsystemfontsfilename-0.3.3.tar.gz) = c5b238da1690ea50676f318ba365d127b3b591aafd51834600160a242ab68498
|
||||
SIZE (findsystemfontsfilename-0.3.3.tar.gz) = 20639
|
||||
|
|
|
|||
Loading…
Reference in New Issue