ports/www/py-dj50-django-prometheus/files/patch-pyproject.toml
Kai Knoblich 275e2714ac www/py-dj50-django-prometheus: Convert to PEP517
* Switch to the PEP517 build framework and remove py-pytest-runner as a
  build time dependency while I'm here, because upstream of it has
  archived the project with the following notice:

  pytest-runner depends on deprecated features of setuptools and relies
  on features that break security mechanisms in pip. For example
  'setup_requires' and 'tests_require' bypass pip --require-hashes.
  See also https://github.com/pypa/setuptools/issues/1684

* Bump PORTREVISION due package change.
2024-10-06 16:27:02 +02:00

11 lines
319 B
TOML

Relax version requirements of py-setuptools.
--- pyproject.toml.orig 2024-10-06 12:58:05 UTC
+++ pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = [ "setuptools >= 67.7.2", "wheel >= 0.40.0"]
+requires = [ "setuptools", "wheel >= 0.40.0"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]