aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorcs <cs@FreeBSD.org>2013-11-25 04:36:40 +0800
committercs <cs@FreeBSD.org>2013-11-25 04:36:40 +0800
commit5d89dd2b2299a433fcc9cc8666da76e79b530601 (patch)
tree39dcafefcfb6f0024dd265ae175a1f87adcc5014 /www
parent760ba59bb18dd0b0849b56deec6e5ce08c302e17 (diff)
downloadfreebsd-ports-gnome-5d89dd2b2299a433fcc9cc8666da76e79b530601.tar.gz
freebsd-ports-gnome-5d89dd2b2299a433fcc9cc8666da76e79b530601.tar.zst
freebsd-ports-gnome-5d89dd2b2299a433fcc9cc8666da76e79b530601.zip
- Allow ports to work with any django version avaliable.
- Allow staging and use AUTOPLIST option for www/py-django-tables2 PR: ports/184147 Submitted by: Kozlov Sergey <kozlov.sergey.404@gmail.com> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/py-django-tables2/Makefile6
-rw-r--r--www/py-django-tables2/pkg-plist110
-rw-r--r--www/py-django-tinymce/Makefile2
3 files changed, 4 insertions, 114 deletions
diff --git a/www/py-django-tables2/Makefile b/www/py-django-tables2/Makefile
index 587c4bedec3d..2cca526d8744 100644
--- a/www/py-django-tables2/Makefile
+++ b/www/py-django-tables2/Makefile
@@ -12,13 +12,13 @@ COMMENT= Table/data-grid framework for Django
LICENSE= BSD
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.2:${PORTSDIR}/www/py-django \
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django \
${PYTHON_PKGNAMEPREFIX}six>=0:${PORTSDIR}/devel/py-six
USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
+USE_PYDISTUTILS=easy_install
+PYDISTUTILS_AUTOPLIST=yes
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} 's|classifiers=\[|zip_safe=False, classifiers=\[|' \
${WRKSRC}/setup.py
diff --git a/www/py-django-tables2/pkg-plist b/www/py-django-tables2/pkg-plist
deleted file mode 100644
index 971e12e67975..000000000000
--- a/www/py-django-tables2/pkg-plist
+++ /dev/null
@@ -1,110 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/base.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/base.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/base.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/booleancolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/booleancolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/booleancolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/checkboxcolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/checkboxcolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/checkboxcolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/datecolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/datecolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/datecolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/datetimecolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/datetimecolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/datetimecolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/emailcolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/emailcolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/emailcolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/filecolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/filecolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/filecolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/linkcolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/linkcolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/linkcolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/templatecolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/templatecolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/templatecolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/timecolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/timecolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/timecolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/urlcolumn.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/urlcolumn.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns/urlcolumn.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/config.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/config.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/config.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/el/LC_MESSAGES/django.mo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/el/LC_MESSAGES/django.po
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/en/LC_MESSAGES/django.mo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/en/LC_MESSAGES/django.po
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/fr/LC_MESSAGES/django.mo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/fr/LC_MESSAGES/django.po
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/pt_PT/LC_MESSAGES/django.mo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/pt_PT/LC_MESSAGES/django.po
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/models.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/models.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/models.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/rows.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/rows.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/rows.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/css/screen.css
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/arrow-active-down.png
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/arrow-active-up.png
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/arrow-inactive-down.png
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/arrow-inactive-up.png
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/false.gif
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/header-bg.png
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/missing.png
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/pagination-bg.gif
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img/true.gif
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/tables.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/tables.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/tables.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templates/django_tables2/table.html
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templatetags/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templatetags/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templatetags/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templatetags/django_tables2.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templatetags/django_tables2.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templatetags/django_tables2.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/utils.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/utils.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/utils.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/views.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/views.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/views.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templatetags
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templates/django_tables2
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/templates
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/img
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue/css
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes/paleblue
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2/themes
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static/django_tables2
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/static
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/pt_PT/LC_MESSAGES
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/pt_PT
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/fr/LC_MESSAGES
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/fr
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/en/LC_MESSAGES
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/en
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/el/LC_MESSAGES
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale/el
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/locale
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2/columns
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/django_tables2
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
diff --git a/www/py-django-tinymce/Makefile b/www/py-django-tinymce/Makefile
index 8d543ceb597a..592fe66a2c2f 100644
--- a/www/py-django-tinymce/Makefile
+++ b/www/py-django-tinymce/Makefile
@@ -12,7 +12,7 @@ COMMENT= Django application to use TinyMCE editor
LICENSE= MIT
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.0:${PORTSDIR}/www/py-django
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install