aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-05-12 00:54:22 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-05-12 00:54:22 +0800
commit8b70fbeeef16c22e67c89eb3d7fe3a842058e084 (patch)
tree930299f2991deb5e0419bcc6bb39a5a9c159a8be
parent931cba5165948b131d83932b848b2e8b7a982f2d (diff)
downloadfreebsd-ports-gnome-8b70fbeeef16c22e67c89eb3d7fe3a842058e084.tar.gz
freebsd-ports-gnome-8b70fbeeef16c22e67c89eb3d7fe3a842058e084.tar.zst
freebsd-ports-gnome-8b70fbeeef16c22e67c89eb3d7fe3a842058e084.zip
Update to 0.14
- Update MASTER_SITES - Add LICENSE_FILE - Use USE_PYTHON=autoplist instead of PLIST - Allow concurrent installation (USE_PYTHON=concurrent) - Add NO_ARCH - Remove EXAMPLES option - Remove pkg-message PR: 228118 Submitted by: Kai <freebsd_ports@k-worx.org> Approved by: Matthew X. Economou <xenophon+fbsdports@irtnog.org> (maintainer)
-rw-r--r--www/py-django-openid-auth/Makefile38
-rw-r--r--www/py-django-openid-auth/distinfo5
-rw-r--r--www/py-django-openid-auth/pkg-message26
-rw-r--r--www/py-django-openid-auth/pkg-plist59
4 files changed, 21 insertions, 107 deletions
diff --git a/www/py-django-openid-auth/Makefile b/www/py-django-openid-auth/Makefile
index e3b7fe412586..52cfb7336864 100644
--- a/www/py-django-openid-auth/Makefile
+++ b/www/py-django-openid-auth/Makefile
@@ -2,41 +2,39 @@
# $FreeBSD$
PORTNAME= django-openid-auth
-PORTVERSION= 0.4
-PORTREVISION= 2
+PORTVERSION= 0.14
CATEGORIES= www security python
-MASTER_SITES= http://launchpadlibrarian.net/80020365/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= xenophon+fbsdports@irtnog.org
COMMENT= OpenID integration for django.contrib.auth
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=1.3.1:www/py-django18@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}python-openid>=2.2.5:security/py-python-openid@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.6:www/py-django111@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-USES= python:2.7
-USE_PYTHON= distutils
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+NO_ARCH= yes
-NO_WRKSUBDIR= yes
+PORTDOCS= README.txt TODO.txt
-PORTDOCS= *.txt *.html
-PORTEXAMPLES= example_consumer
-
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO.txt ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/openid.html ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/openid.txt ${STAGEDIR}${DOCSDIR}
-post-install-EXAMPLES-on:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/example_consumer
- ${INSTALL_DATA} ${WRKSRC}/example_consumer/* \
- ${STAGEDIR}${EXAMPLESDIR}/example_consumer
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}python-openid>=2.2.0:security/py-python-openid@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}python3-openid>=0:security/py-python3-openid@${PY_FLAVOR}
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/py-django-openid-auth/distinfo b/www/py-django-openid-auth/distinfo
index b26f6b7f6a50..5422b846e1ef 100644
--- a/www/py-django-openid-auth/distinfo
+++ b/www/py-django-openid-auth/distinfo
@@ -1,2 +1,3 @@
-SHA256 (django-openid-auth_0.4.tar.gz) = 923c2a9652f23bee367a6578f39d0881eaeb7aca2ec8f810f523b16e38679d05
-SIZE (django-openid-auth_0.4.tar.gz) = 77703
+TIMESTAMP = 1525985134
+SHA256 (django-openid-auth-0.14.tar.gz) = a1f706ede74117426c1e67b03ac69143ddaf3c0b18888814ad3abb7483a2ccf6
+SIZE (django-openid-auth-0.14.tar.gz) = 44878
diff --git a/www/py-django-openid-auth/pkg-message b/www/py-django-openid-auth/pkg-message
deleted file mode 100644
index 50c33f5bdbf3..000000000000
--- a/www/py-django-openid-auth/pkg-message
+++ /dev/null
@@ -1,26 +0,0 @@
-**********************************************************************
-
-To activate OpenID authentication within your Django installation, you
-will need to:
-
- * add 'django_openid_auto' to INSTALLED_APPS,
-
- * add 'django_auth_openid.auth.OpenIDBackend' to
- AUTHENTICATION_BACKENDS,
-
- * (optional) enable user creation when a new OpenID is used,
-
- * (optional) have user details updated from SREG or AE extention
- data,
-
- * hook up the login URLs to your application's urlconf and
- configure the LOGIN_URL and LOGIN_REDIRECT_URL, and
-
- * re-run "python manage.py syncdb" to add the UserOpenID table to
- your database.
-
-For detailed instructions see the "README.txt" file that came with
-this package; an example Django project with OpenID configured is also
-included.
-
-**********************************************************************
diff --git a/www/py-django-openid-auth/pkg-plist b/www/py-django-openid-auth/pkg-plist
deleted file mode 100644
index 0ac22a6f9dc8..000000000000
--- a/www/py-django-openid-auth/pkg-plist
+++ /dev/null
@@ -1,59 +0,0 @@
-%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/models.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/models.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/models.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/store.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/store.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/store.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/templates/openid/failure.html
-%%PYTHON_SITELIBDIR%%/django_openid_auth/templates/openid/login.html
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.pyo
-%%PYTHON_SITELIBDIR%%/django_openid_auth/views.py
-%%PYTHON_SITELIBDIR%%/django_openid_auth/views.pyc
-%%PYTHON_SITELIBDIR%%/django_openid_auth/views.pyo