git: 81f48d78506e - main - www/py-django-annoying: Update to 0.10.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 17:23:18 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=81f48d78506e9f625507a130ffffc9c949acd7aa commit 81f48d78506e9f625507a130ffffc9c949acd7aa Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-08-04 17:09:35 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-08-04 17:14:14 +0000 www/py-django-annoying: Update to 0.10.7 - Update WWW - Add LICENSE_FILE - Add missing RUN_DEPENDS - Convert to USE_PYTHON=pep517 - Add NO_ARCH - Update pkg-descr - Take maintainership Changes: https://github.com/skorokithakis/django-annoying/releases https://github.com/skorokithakis/django-annoying/commits/master --- www/py-django-annoying/Makefile | 18 ++++++++++++------ www/py-django-annoying/distinfo | 6 +++--- www/py-django-annoying/pkg-descr | 38 +++++++++++++++++++------------------- 3 files changed, 34 insertions(+), 28 deletions(-) diff --git a/www/py-django-annoying/Makefile b/www/py-django-annoying/Makefile index 24604cd70fcc..f7a7ddda3ceb 100644 --- a/www/py-django-annoying/Makefile +++ b/www/py-django-annoying/Makefile @@ -1,19 +1,25 @@ PORTNAME= django-annoying -PORTVERSION= 0.10.6 -PORTREVISION= 2 +PORTVERSION= 0.10.7 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Eliminate annoying things in the Django framework -WWW= https://github.com/skorokithakis/django-annoying +WWW= https://skorokithakis.github.io/django-annoying/ \ + https://github.com/skorokithakis/django-annoying LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=1.11:www/py-django42@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes .include <bsd.port.mk> diff --git a/www/py-django-annoying/distinfo b/www/py-django-annoying/distinfo index 3b2b3614e425..8504a284f583 100644 --- a/www/py-django-annoying/distinfo +++ b/www/py-django-annoying/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1585744455 -SHA256 (django-annoying-0.10.6.tar.gz) = 083b5e26f140f86178fcb47931f69b7ff75181ccd1e318d9c218ae9babc1805e -SIZE (django-annoying-0.10.6.tar.gz) = 9454 +TIMESTAMP = 1722711265 +SHA256 (django-annoying-0.10.7.tar.gz) = d42a9f4757701903edcb3398c542e6d39e67856295059589296c277350d02fc0 +SIZE (django-annoying-0.10.7.tar.gz) = 11638 diff --git a/www/py-django-annoying/pkg-descr b/www/py-django-annoying/pkg-descr index 70cb453624f7..3d2392796d89 100644 --- a/www/py-django-annoying/pkg-descr +++ b/www/py-django-annoying/pkg-descr @@ -1,21 +1,21 @@ -This is a django application that tries to eliminate annoying -things in the Django framework. +This django application eliminates certain annoyances in the Django framework. Features: - - render_to decorator - reduce typing in django views. - signals decorator - allow use signals as decorators. - ajax_request decorator - returns JsonResponse with this dict as content. - autostrip decorator - strip text form fields before validation. - get_object_or_None function - similar to get_object_or_404, but - returns None if object not found. - get_config function - get settings from django.conf if exists, - return default value otherwise. - AutoOneToOne field - creates related object on first call if it - doesn't exist yet. - HttpResponseReload - reload and stay on same page from where request - was made. - StaticServer middleware - instead of configuring urls.py, just - add this middleware and it will serve you static files. - JSONField - custom field that lets you easily store JSON data in one of - your model fields. +- render_to decorator - Reduce typing in django views. +- signals decorator - Allow using signals as decorators. +- ajax_request decorator - Returns JsonResponse with dict as content. +- autostrip decorator - Strip form text fields before validation +- get_object_or_None function - Similar to get_object_or_404, but returns None + if the object is not found. +- AutoOneToOne field - Creates a related object on first call if it doesn't + exist yet. +- JSONField - A field that stores a Python object as JSON and retrieves it as a + Python object. +- get_config function - Get settings from django.conf if exists, return a + default value otherwise. +- StaticServer middleware - Instead of configuring urls.py, just add this + middleware and it will serve your static files when you are in debug mode. +- get_ object_or_this_function - Similar to get_object_or_404, but returns a + default object (this) if the object is not found. +- HttpResponseReload - Reload and stay on same page from where the request was + made.