1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

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)
This commit is contained in:
Kai Knoblich 2020-05-05 08:21:53 +00:00
parent 75349997e0
commit a16febdfdb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534037
4 changed files with 23 additions and 9 deletions

View File

@ -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>

View File

@ -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

View File

@ -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')

View File

@ -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