www/py-django-debreach: Update to 2.1.0

Changelog:

https://github.com/lpomfrey/django-debreach/releases/tag/2.1.0
This commit is contained in:
Kai Knoblich 2022-01-21 19:54:00 +01:00
parent fee56f9637
commit 162c35d77f
5 changed files with 38 additions and 5 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= django-debreach
PORTVERSION= 2.0.1
PORTVERSION= 2.1.0
CATEGORIES= www security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,11 +12,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>0:www/py-django22@${PY_FLAVOR}
USES= python:3.5+
USES= python:3.7+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
# Workaround to make the port still buildable with "distutils"
post-extract:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1586162610
SHA256 (django-debreach-2.0.1.tar.gz) = 3dd90385918daef4951e67ef6c3dcb550ac5164d84f5cc9889ed52e312597d68
SIZE (django-debreach-2.0.1.tar.gz) = 14592
TIMESTAMP = 1642547128
SHA256 (django-debreach-2.1.0.tar.gz) = aeac9f43e0ea97830bed69cb309ad5746b5ed2b9dce733ac4c136c8e16a7d6e5
SIZE (django-debreach-2.1.0.tar.gz) = 15616

View file

@ -0,0 +1,11 @@
Remove requirements for wheel and pip as they're not required for build
--- pyproject.toml.orig 2022-01-19 06:15:34 UTC
+++ pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools", "wheel", "pip"]
+requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.black]

View file

@ -0,0 +1,13 @@
Remove requirements for wheel and pip as they're not required for build
--- setup.cfg.orig 2022-01-19 06:16:57 UTC
+++ setup.cfg
@@ -32,7 +32,7 @@ classifiers =
zip_safe = False
include_package_data = True
packages = find:
-setup_requires = setuptools;wheel;pip
+setup_requires = setuptools
python_requires = >=3.7
tests_require = django

View file

@ -0,0 +1,5 @@
# Enable build with distutils
from setuptools import setup
setup()