svn commit: r390536 - head/www/py-django-dpaste
Kubilay Kocak
koobs at FreeBSD.org
Thu Jun 25 07:16:40 UTC 2015
Author: koobs
Date: Thu Jun 25 07:16:39 2015
New Revision: 390536
URL: https://svnweb.freebsd.org/changeset/ports/390536
Log:
www/py-django-dpaste: Update to 2.8
- Update to 2.8
- Switch to CHEESESHOP for MASTER_SITES
- Match COMMENT with upstream
- Add LICENSE_FILE
- Sort USE_PYTHON values
- Tweak RUN_DEPENDS to limit to Django 1.6 and switch to file-based
django detection (instead of package).
This ensures that if a port that depends on this one, also depends on a
different django version, it will see and use the installed version,
rather than attempting to install another one, which results in a
conflict as all django ports conflict with each other.
See r390184 [1] and 390535 [2] for other instances of this issue.
- Remove TESTS option and tox as a TEST_DEPENDS
[1] https://svnweb.freebsd.org/changeset/ports/390184
[2] https://svnweb.freebsd.org/changeset/ports/390535
Modified:
head/www/py-django-dpaste/Makefile
head/www/py-django-dpaste/distinfo
Modified: head/www/py-django-dpaste/Makefile
==============================================================================
--- head/www/py-django-dpaste/Makefile Thu Jun 25 07:09:06 2015 (r390535)
+++ head/www/py-django-dpaste/Makefile Thu Jun 25 07:16:39 2015 (r390536)
@@ -2,36 +2,32 @@
# $FreeBSD$
PORTNAME= dpaste
-PORTVERSION= 2.5
+PORTVERSION= 2.8
CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django-
MAINTAINER= koobs at FreeBSD.org
-COMMENT= Pastebin Django application that powers dpaste.de
+COMMENT= Django based pastebin
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.4:${PORTSDIR}/www/py-django \
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django16 \
${PYTHON_PKGNAMEPREFIX}django-mptt>=0.6.0:${PORTSDIR}/www/py-django-mptt \
${PYTHON_PKGNAMEPREFIX}pygments>=1.6:${PORTSDIR}/textproc/py-pygments \
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:${PORTSDIR}/www/py-requests
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>=1.6.1:${PORTSDIR}/devel/py-tox
-OPTIONS_DEFINE= MIGRATIONS TESTS
+OPTIONS_DEFINE= MIGRATIONS
MIGRATIONS_DESC= Schema and data migration support (via south)
-TESTS_DESC= Include tox for test suite
MIGRATIONS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}south>=0.8.2:${PORTSDIR}/databases/py-south
-TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
-USE_GITHUB= yes
USES= python
-USE_PYTHON= distutils autoplist
-
-GH_ACCOUNT= bartTC
+USE_PYTHON= autoplist distutils
regression-test: build
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+ @cd ${WRKSRC} && ${PYTHON_CMD} runtests.py
.include <bsd.port.mk>
Modified: head/www/py-django-dpaste/distinfo
==============================================================================
--- head/www/py-django-dpaste/distinfo Thu Jun 25 07:09:06 2015 (r390535)
+++ head/www/py-django-dpaste/distinfo Thu Jun 25 07:16:39 2015 (r390536)
@@ -1,2 +1,2 @@
-SHA256 (bartTC-dpaste-2.5_GH0.tar.gz) = e0691c8b65c950f7f3439cc6633e5c7d0eb276488971ec35ba15bb7208660a27
-SIZE (bartTC-dpaste-2.5_GH0.tar.gz) = 124574
+SHA256 (dpaste-2.8.tar.gz) = caaaa9440cf756b6ff51209138c6e473cf7330a7b62066eb5eb94e39e6369ab6
+SIZE (dpaste-2.8.tar.gz) = 125829
More information about the svn-ports-all
mailing list