git: 41886a54b11a - main - www/py-django-tinymce: Update to 3.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Dec 2021 09:14:19 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=41886a54b11adefacbfad557a780cba386b9b7d9 commit 41886a54b11adefacbfad557a780cba386b9b7d9 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2021-12-01 09:08:48 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2021-12-01 09:08:48 +0000 www/py-django-tinymce: Update to 3.4.0 * Add "do-test" target to make future QA easier. Changelog: https://github.com/jazzband/django-tinymce/releases/tag/3.4.0 MFH: 2021Q4 --- www/py-django-tinymce/Makefile | 7 ++++++- www/py-django-tinymce/distinfo | 6 +++--- www/py-django-tinymce/files/patch-setup.py | 16 ++++++++++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/www/py-django-tinymce/Makefile b/www/py-django-tinymce/Makefile index 9b2da813107f..ce8dc82e1e78 100644 --- a/www/py-django-tinymce/Makefile +++ b/www/py-django-tinymce/Makefile @@ -1,7 +1,7 @@ # Created by: Kozlov Sergey <kozlov.sergey.404@gmail.com> PORTNAME= django-tinymce -PORTVERSION= 3.3.0 +PORTVERSION= 3.4.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,6 +17,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>0:www/py-django22@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils +TEST_ENV= DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + NO_ARCH= yes PORTDOCS= *.rst @@ -27,4 +29,7 @@ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.rst ${STAGEDIR}${DOCSDIR} +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m django test -v3 + .include <bsd.port.mk> diff --git a/www/py-django-tinymce/distinfo b/www/py-django-tinymce/distinfo index 64efc7cc6259..6f33191140eb 100644 --- a/www/py-django-tinymce/distinfo +++ b/www/py-django-tinymce/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1617818606 -SHA256 (django-tinymce-3.3.0.tar.gz) = 77cca137e97e92e43e42c98a232df3e66b80c987ad0f03709a4b73435f8e4060 -SIZE (django-tinymce-3.3.0.tar.gz) = 795086 +TIMESTAMP = 1638286434 +SHA256 (django-tinymce-3.4.0.tar.gz) = 275653dbf09fbd3347928757d6baf29040b42fe5c5d95396418c36aa4b1517eb +SIZE (django-tinymce-3.4.0.tar.gz) = 960490 diff --git a/www/py-django-tinymce/files/patch-setup.py b/www/py-django-tinymce/files/patch-setup.py new file mode 100644 index 000000000000..7bf69c586e70 --- /dev/null +++ b/www/py-django-tinymce/files/patch-setup.py @@ -0,0 +1,16 @@ +Avoid the installation of the test suite in the top-level directory +of ${PYTHON_SITELIBDIR}. + +https://github.com/jazzband/django-tinymce/issues/355 + +--- setup.py.orig 2021-11-30 16:45:41 UTC ++++ setup.py +@@ -21,7 +21,7 @@ CHANGELOG = read_file("CHANGELOG.rst") + setup( + name="django-tinymce", + version="3.4.0", +- packages=find_packages(), ++ packages=find_packages(exclude=['tests*']), + include_package_data=True, + author="Aljosa Mohorovic", + author_email="aljosa.mohorovic@gmail.com",