diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/py-django-mptt/Makefile | 14 | ||||
-rw-r--r-- | www/py-django-mptt/files/patch-setup.py | 22 | ||||
-rw-r--r-- | www/py-django-mptt/pkg-plist | 64 |
3 files changed, 7 insertions, 93 deletions
diff --git a/www/py-django-mptt/Makefile b/www/py-django-mptt/Makefile index 37af5b13ee06..8affe0f5a55e 100644 --- a/www/py-django-mptt/Makefile +++ b/www/py-django-mptt/Makefile @@ -9,18 +9,18 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Utilities for implementing a pre-order traversal tree in django -LICENSE= BSD +LICENSE= MIT -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.4.2:${PORTSDIR}/www/py-django +RUN_DEPENDS:= ${BUILD_DEPENDS} USE_GITHUB= yes GH_ACCOUNT= django-mptt GH_COMMIT= cc92ea6 -GH_TAGNAME= ${PORTVERSION} -USES= gettext -USE_PYDISTUTILS=yes -USE_PYTHON= yes +USES= gettext +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes .include <bsd.port.mk> diff --git a/www/py-django-mptt/files/patch-setup.py b/www/py-django-mptt/files/patch-setup.py deleted file mode 100644 index d63620b219e5..000000000000 --- a/www/py-django-mptt/files/patch-setup.py +++ /dev/null @@ -1,22 +0,0 @@ ---- setup.py.orig 2013-12-01 00:26:15.000000000 +0100 -+++ setup.py 2013-12-01 00:28:32.000000000 +0100 -@@ -3,13 +3,10 @@ - - from mptt import VERSION - --requires=('Django>=1.4.2',) - try: - from setuptools import setup -- kwargs ={'install_requires': requires} - except ImportError: - from distutils.core import setup -- kwargs = {'requires': requires} - - # Dynamically calculate the version based on mptt.VERSION - version_tuple = VERSION -@@ -40,5 +37,4 @@ - str('Programming Language :: Python :: 3'), - str('Topic :: Utilities'), - ], -- **kwargs - ) diff --git a/www/py-django-mptt/pkg-plist b/www/py-django-mptt/pkg-plist deleted file mode 100644 index b69d0495538e..000000000000 --- a/www/py-django-mptt/pkg-plist +++ /dev/null @@ -1,64 +0,0 @@ -%%PYTHON_SITELIBDIR%%/mptt/__init__.py -%%PYTHON_SITELIBDIR%%/mptt/__init__.pyc -%%PYTHON_SITELIBDIR%%/mptt/__init__.pyo -%%PYTHON_SITELIBDIR%%/mptt/admin.py -%%PYTHON_SITELIBDIR%%/mptt/admin.pyc -%%PYTHON_SITELIBDIR%%/mptt/admin.pyo -%%PYTHON_SITELIBDIR%%/mptt/exceptions.py -%%PYTHON_SITELIBDIR%%/mptt/exceptions.pyc -%%PYTHON_SITELIBDIR%%/mptt/exceptions.pyo -%%PYTHON_SITELIBDIR%%/mptt/fields.py -%%PYTHON_SITELIBDIR%%/mptt/fields.pyc -%%PYTHON_SITELIBDIR%%/mptt/fields.pyo -%%PYTHON_SITELIBDIR%%/mptt/forms.py -%%PYTHON_SITELIBDIR%%/mptt/forms.pyc -%%PYTHON_SITELIBDIR%%/mptt/forms.pyo -%%PYTHON_SITELIBDIR%%/mptt/locale/de/LC_MESSAGES/django.mo -%%PYTHON_SITELIBDIR%%/mptt/locale/de/LC_MESSAGES/django.po -%%PYTHON_SITELIBDIR%%/mptt/locale/dk/LC_MESSAGES/django.mo -%%PYTHON_SITELIBDIR%%/mptt/locale/dk/LC_MESSAGES/django.po -%%PYTHON_SITELIBDIR%%/mptt/locale/fr/LC_MESSAGES/django.mo -%%PYTHON_SITELIBDIR%%/mptt/locale/fr/LC_MESSAGES/django.po -%%PYTHON_SITELIBDIR%%/mptt/locale/nb/LC_MESSAGES/django.mo -%%PYTHON_SITELIBDIR%%/mptt/locale/nb/LC_MESSAGES/django.po -%%PYTHON_SITELIBDIR%%/mptt/locale/pl/LC_MESSAGES/django.mo -%%PYTHON_SITELIBDIR%%/mptt/locale/pl/LC_MESSAGES/django.po -%%PYTHON_SITELIBDIR%%/mptt/managers.py -%%PYTHON_SITELIBDIR%%/mptt/managers.pyc -%%PYTHON_SITELIBDIR%%/mptt/managers.pyo -%%PYTHON_SITELIBDIR%%/mptt/models.py -%%PYTHON_SITELIBDIR%%/mptt/models.pyc -%%PYTHON_SITELIBDIR%%/mptt/models.pyo -%%PYTHON_SITELIBDIR%%/mptt/templates/admin/grappelli_mptt_change_list.html -%%PYTHON_SITELIBDIR%%/mptt/templates/admin/grappelli_mptt_change_list_results.html -%%PYTHON_SITELIBDIR%%/mptt/templates/admin/mptt_change_list.html -%%PYTHON_SITELIBDIR%%/mptt/templates/admin/mptt_change_list_results.html -%%PYTHON_SITELIBDIR%%/mptt/templatetags/__init__.py -%%PYTHON_SITELIBDIR%%/mptt/templatetags/__init__.pyc -%%PYTHON_SITELIBDIR%%/mptt/templatetags/__init__.pyo -%%PYTHON_SITELIBDIR%%/mptt/templatetags/mptt_admin.py -%%PYTHON_SITELIBDIR%%/mptt/templatetags/mptt_admin.pyc -%%PYTHON_SITELIBDIR%%/mptt/templatetags/mptt_admin.pyo -%%PYTHON_SITELIBDIR%%/mptt/templatetags/mptt_tags.py -%%PYTHON_SITELIBDIR%%/mptt/templatetags/mptt_tags.pyc -%%PYTHON_SITELIBDIR%%/mptt/templatetags/mptt_tags.pyo -%%PYTHON_SITELIBDIR%%/mptt/utils.py -%%PYTHON_SITELIBDIR%%/mptt/utils.pyc -%%PYTHON_SITELIBDIR%%/mptt/utils.pyo -@dirrm %%PYTHON_SITELIBDIR%%/mptt/templatetags -@dirrm %%PYTHON_SITELIBDIR%%/mptt/templates/admin -@dirrm %%PYTHON_SITELIBDIR%%/mptt/templates -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/de/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/de -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/dk/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/dk -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/fr/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/fr -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/nb/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/nb -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/pl/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale/pl -@dirrm %%PYTHON_SITELIBDIR%%/mptt/locale -@dirrm %%PYTHON_SITELIBDIR%%/mptt -@dirrmtry lib/python2.7/site-packages -@dirrmtry lib/python2.7 |