1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

- Update to 0.6.0

- Support staging
This commit is contained in:
Carlo Strub 2013-11-30 23:50:10 +00:00
parent bfdc612d13
commit be8e54d8f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335354
5 changed files with 31 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= django-mptt
PORTVERSION= 0.5.4
PORTVERSION= 0.6.0
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,12 +16,11 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-
USE_GITHUB= yes
GH_ACCOUNT= django-mptt
GH_COMMIT= 4310e7e
GH_COMMIT= cc92ea6
GH_TAGNAME= ${PORTVERSION}
USES= gettext
USE_PYDISTUTILS=yes
USE_PYTHON= yes
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (django-mptt-0.5.4.tar.gz) = b76cfc8caedd114d458d86703f46b60e115d4b6601598acd0499736b23791d7e
SIZE (django-mptt-0.5.4.tar.gz) = 69958
SHA256 (django-mptt-0.6.0.tar.gz) = 4f7d108c0911cd308ffa98b4151377fa4409ff9da898f285a74d8be50c1b2b38
SIZE (django-mptt-0.6.0.tar.gz) = 77986

View File

@ -0,0 +1,22 @@
--- 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
)

View File

@ -1,4 +1,4 @@
Utilities for implementing Modified Preorder Tree Traversal with your Django
Models and working with trees of Model instances.
WWW: https://github.com/django-mptt/django-mptt/
WWW: https://github.com/django-mptt/django-mptt/

View File

@ -29,6 +29,8 @@
%%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
@ -58,3 +60,5 @@
@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