diff options
author | wg <wg@FreeBSD.org> | 2013-08-06 00:56:08 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-08-06 00:56:08 +0800 |
commit | bf1185b200265c21787fd75efaf4d1ed7b515ecf (patch) | |
tree | 5d7248d3d262bae4ecfd46f9575b13b2009c95fe /www | |
parent | c632a5342afd879e33094463f3d743ad54181b85 (diff) | |
download | freebsd-ports-gnome-bf1185b200265c21787fd75efaf4d1ed7b515ecf.tar.gz freebsd-ports-gnome-bf1185b200265c21787fd75efaf4d1ed7b515ecf.tar.zst freebsd-ports-gnome-bf1185b200265c21787fd75efaf4d1ed7b515ecf.zip |
www/py-django-tastypie: update to 0.10.0
- Update to 0.10.0
- Add support for python 3.x
- Fix RUN_DEPENDS
Diffstat (limited to 'www')
-rw-r--r-- | www/py-django-tastypie/Makefile | 17 | ||||
-rw-r--r-- | www/py-django-tastypie/distinfo | 4 |
2 files changed, 15 insertions, 6 deletions
diff --git a/www/py-django-tastypie/Makefile b/www/py-django-tastypie/Makefile index 3b2a7b87c105..91c14133aee7 100644 --- a/www/py-django-tastypie/Makefile +++ b/www/py-django-tastypie/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= django-tastypie -PORTVERSION= 0.9.16 +PORTVERSION= 0.10.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +12,17 @@ COMMENT= Create REST API for Django apps BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mimeparse>=0:${PORTSDIR}/devel/py-mimeparse \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:${PORTSDIR}/devel/py-dateutil +RUN_DEPENDS:= ${BUILD_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}django>=1.5:${PORTSDIR}/www/py-django -USE_PYTHON= -2.7 -USE_PYDISTUTILS= easy_install +USE_PYTHON= yes +USE_PYDISTUTILS=easy_install -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-install: +.if ${PYTHON_REL} >= 320 +.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" +.endif + +.include <bsd.port.post.mk> diff --git a/www/py-django-tastypie/distinfo b/www/py-django-tastypie/distinfo index abe218a1fde2..449183128285 100644 --- a/www/py-django-tastypie/distinfo +++ b/www/py-django-tastypie/distinfo @@ -1,2 +1,2 @@ -SHA256 (django-tastypie-0.9.16.tar.gz) = 897f013c7128b15aa511bb1fe44f92c52ddbf6ef1ae842311815fa244786fec0 -SIZE (django-tastypie-0.9.16.tar.gz) = 720678 +SHA256 (django-tastypie-0.10.0.tar.gz) = 1db393b38f9b953ef75fbcf2e2851a403c5d1be598fb297dc8b1121fc788e49a +SIZE (django-tastypie-0.10.0.tar.gz) = 721130 |