git: 4b7bfa6e2cba - main - www/py-django-classy-tags: Update to 4.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jan 2023 13:11:16 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4b7bfa6e2cba671c5b7cdde858f7c718dad33815
commit 4b7bfa6e2cba671c5b7cdde858f7c718dad33815
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:35:04 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:00:22 +0000
www/py-django-classy-tags: Update to 4.0.0
- Update WWW
- Update LICENSE_FILE
- Fix RUN_DEPENDS
- Take maintainership
Changes: https://github.com/django-cms/django-classy-tags/releases
---
www/py-django-classy-tags/Makefile | 16 +++++++---------
www/py-django-classy-tags/distinfo | 6 +++---
www/py-django-classy-tags/files/patch-setup.py | 16 ----------------
www/py-django-classy-tags/pkg-descr | 14 ++++++--------
4 files changed, 16 insertions(+), 36 deletions(-)
diff --git a/www/py-django-classy-tags/Makefile b/www/py-django-classy-tags/Makefile
index 78eb2751988d..940d554d1c6d 100644
--- a/www/py-django-classy-tags/Makefile
+++ b/www/py-django-classy-tags/Makefile
@@ -1,22 +1,20 @@
PORTNAME= django-classy-tags
-PORTVERSION= 2.0.0
-PORTREVISION= 2
+PORTVERSION= 4.0.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Class based template tags for Django
-WWW= https://github.com/ojii/django-classy-tags
+WWW= https://github.com/django-cms/django-classy-tags
LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR}
-USES= python:3.5+
-USE_PYTHON= autoplist distutils
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/www/py-django-classy-tags/distinfo b/www/py-django-classy-tags/distinfo
index 095550ffb2ac..e9a800e6c276 100644
--- a/www/py-django-classy-tags/distinfo
+++ b/www/py-django-classy-tags/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602936218
-SHA256 (django-classy-tags-2.0.0.tar.gz) = d59d98bdf96a764dcf7a2929a86439d023b283a9152492811c7e44fc47555bc9
-SIZE (django-classy-tags-2.0.0.tar.gz) = 21026
+TIMESTAMP = 1674590032
+SHA256 (django-classy-tags-4.0.0.tar.gz) = db9fc7c5ed08dc2619cc4c19b19514cdac13ddb618278ab07094c626d28eef0d
+SIZE (django-classy-tags-4.0.0.tar.gz) = 24686
diff --git a/www/py-django-classy-tags/files/patch-setup.py b/www/py-django-classy-tags/files/patch-setup.py
deleted file mode 100644
index 5c104c0684e3..000000000000
--- a/www/py-django-classy-tags/files/patch-setup.py
+++ /dev/null
@@ -1,16 +0,0 @@
-Avoid the installation of the test suite in the top-level directory
-of ${PYTHON_SITELIBDIR}.
-
-See also: https://github.com/django-cms/django-classy-tags/issues/58
-
---- setup.py.orig 2020-08-26 08:49:51 UTC
-+++ setup.py
-@@ -41,7 +41,7 @@ setup(
- license='BSD',
- description='Class based template tags for Django',
- long_description=open('README.rst').read(),
-- packages=find_packages(),
-+ packages=find_packages(exclude=("tests",)),
- include_package_data=True,
- zip_safe=False,
- install_requires=REQUIREMENTS,
diff --git a/www/py-django-classy-tags/pkg-descr b/www/py-django-classy-tags/pkg-descr
index 4244ffd30392..2d6b0ff7aedb 100644
--- a/www/py-django-classy-tags/pkg-descr
+++ b/www/py-django-classy-tags/pkg-descr
@@ -1,11 +1,9 @@
The goal of this project is to create a new way of writing Django template tags
which is fully compatible with the current Django templating infrastructure.
This new way should be easy, clean and require as little boilerplate code as
-possible while still staying as powerful as possible.
-
-Features:
-* Class based template tags.
-* Template tag argument parser.
-* Declarative way to define arguments.
-* Supports (theoretically infinite) parse-until blocks.
-* Extensible!
+possible while still staying as powerful as possible. Some features:
+- Class based template tags.
+- Template tag argument parser.
+- Declarative way to define arguments.
+- Supports (theoretically infinite) parse-until blocks.
+- Extensible!