Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2020 08:21:54 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r534037 - in head/www/py-django-solo: . files
Message-ID:  <202005050821.0458Ls8j006115@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Tue May  5 08:21:53 2020
New Revision: 534037
URL: https://svnweb.freebsd.org/changeset/ports/534037

Log:
  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)

Added:
  head/www/py-django-solo/files/
  head/www/py-django-solo/files/patch-setup.py   (contents, props changed)
Modified:
  head/www/py-django-solo/Makefile
  head/www/py-django-solo/distinfo   (contents, props changed)
  head/www/py-django-solo/pkg-descr   (contents, props changed)

Modified: head/www/py-django-solo/Makefile
==============================================================================
--- head/www/py-django-solo/Makefile	Tue May  5 07:57:03 2020	(r534036)
+++ head/www/py-django-solo/Makefile	Tue May  5 08:21:53 2020	(r534037)
@@ -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>

Modified: head/www/py-django-solo/distinfo
==============================================================================
--- head/www/py-django-solo/distinfo	Tue May  5 07:57:03 2020	(r534036)
+++ head/www/py-django-solo/distinfo	Tue May  5 08:21:53 2020	(r534037)
@@ -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

Added: head/www/py-django-solo/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-solo/files/patch-setup.py	Tue May  5 08:21:53 2020	(r534037)
@@ -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')

Modified: head/www/py-django-solo/pkg-descr
==============================================================================
--- head/www/py-django-solo/pkg-descr	Tue May  5 07:57:03 2020	(r534036)
+++ head/www/py-django-solo/pkg-descr	Tue May  5 08:21:53 2020	(r534037)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005050821.0458Ls8j006115>