diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2020-05-05 08:21:53 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2020-05-05 08:21:53 +0000 |
commit | a16febdfdb0c7aefb28d9e358ab889e63838e8de (patch) | |
tree | 2cb7bc9c405f88e90be7ba1d329180f4b138c968 | |
parent | www/py-django-widget-tweaks: Update to 1.4.8 (diff) |
www/py-django-solo: Switch to Django 2.2 (current LTS release)
* Also switch to GitHub for a while to update to the latest commit that
contain adjustments for newer Django versions and add a patch to fix the
build in this state.
* Sort the variables a bit according to the PHB and remove superfluous
trailing slash of the Github URL while I'm here.
Changelog:
https://github.com/lazybird/django-solo/compare/1.1.3...master
PR: 246171
Approved by: <rozhuk.im@gmail.com> (maintainer)
-rw-r--r-- | www/py-django-solo/Makefile | 13 | ||||
-rw-r--r-- | www/py-django-solo/distinfo | 6 | ||||
-rw-r--r-- | www/py-django-solo/files/patch-setup.py | 11 | ||||
-rw-r--r-- | www/py-django-solo/pkg-descr | 2 |
4 files changed, 23 insertions, 9 deletions
diff --git a/www/py-django-solo/Makefile b/www/py-django-solo/Makefile index ce57cb036935..b6b2a329b26d 100644 --- a/www/py-django-solo/Makefile +++ b/www/py-django-solo/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ PORTNAME= django-solo -PORTVERSION= 1.1.3 +DISTVERSION= 1.1.3-8 +DISTVERSIONSUFFIX= -g3dcd6ab CATEGORIES= www python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rozhuk.im@gmail.com @@ -12,10 +12,13 @@ COMMENT= Helps working with singletons LICENSE= CC-BY-3.0 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>1.6:www/py-django111@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.6:www/py-django22@${PY_FLAVOR} -NO_ARCH= yes -USES= python +USES= python:3.5+ +USE_GITHUB= yes +GH_ACCOUNT= lazybird USE_PYTHON= autoplist distutils +NO_ARCH= yes + .include <bsd.port.mk> diff --git a/www/py-django-solo/distinfo b/www/py-django-solo/distinfo index f674ee4ee2b0..5966a10affd9 100644 --- a/www/py-django-solo/distinfo +++ b/www/py-django-solo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1520521729 -SHA256 (django-solo-1.1.3.tar.gz) = b1206b9a9411b19a4354f7d7d245909a9ea7e9cd566b594363b5adce7dc13e5d -SIZE (django-solo-1.1.3.tar.gz) = 8865 +TIMESTAMP = 1588581635 +SHA256 (lazybird-django-solo-1.1.3-8-g3dcd6ab_GH0.tar.gz) = a8de4db34f73241e21dbe202ece98cf577f29342d0ba9f65c079c4d2f69edd1c +SIZE (lazybird-django-solo-1.1.3-8-g3dcd6ab_GH0.tar.gz) = 106301 diff --git a/www/py-django-solo/files/patch-setup.py b/www/py-django-solo/files/patch-setup.py new file mode 100644 index 000000000000..7a781edf8de7 --- /dev/null +++ b/www/py-django-solo/files/patch-setup.py @@ -0,0 +1,11 @@ +Import internal "os" module to avoid errors during configuration phase. + +--- setup.py.orig 2020-05-04 08:55:04 UTC ++++ setup.py +@@ -1,5 +1,6 @@ + from setuptools import setup, find_packages + ++import os + import solo + + README = os.path.join(os.path.dirname(__file__), 'README.rst') diff --git a/www/py-django-solo/pkg-descr b/www/py-django-solo/pkg-descr index 5d153d73b000..0a1781b03e7c 100644 --- a/www/py-django-solo/pkg-descr +++ b/www/py-django-solo/pkg-descr @@ -1,4 +1,4 @@ Helps working with singletons - things like global settings that you want to edit from the admin site. -WWW: https://github.com/lazybird/django-solo/ +WWW: https://github.com/lazybird/django-solo |