aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/py-dtflickr/Makefile17
-rw-r--r--www/py-dtflickr/distinfo6
2 files changed, 14 insertions, 9 deletions
diff --git a/www/py-dtflickr/Makefile b/www/py-dtflickr/Makefile
index f07ad6990af3..f9ba08db7d33 100644
--- a/www/py-dtflickr/Makefile
+++ b/www/py-dtflickr/Makefile
@@ -6,18 +6,23 @@
#
PORTNAME= dtflickr
-PORTVERSION= 1.3
+PORTVERSION= 1.4
CATEGORIES= www python
-MASTER_SITES= CHEESESHOP
+MASTER_SITES= CHEESESHOP \
+ http://code.douglasthrift.net/files/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= douglas@douglasthrift.net
COMMENT= Spiffy Flickr API library using JSON
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=1.7:${PORTSDIR}/devel/py-simplejson
-
USE_BZIP2= yes
-USE_PYTHON= yes
+USE_PYTHON= 2.5+
USE_PYDISTUTILS= easy_install
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VERSION} == "python2.5"
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=1.7:${PORTSDIR}/devel/py-simplejson
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/py-dtflickr/distinfo b/www/py-dtflickr/distinfo
index c591a1cd97d6..1ff6856c658a 100644
--- a/www/py-dtflickr/distinfo
+++ b/www/py-dtflickr/distinfo
@@ -1,3 +1,3 @@
-MD5 (dtflickr-1.3.tar.bz2) = 66be4ce6f659267e5c4ea47f6fb910dd
-SHA256 (dtflickr-1.3.tar.bz2) = 72537f76afc8ab71981bb2956f20cf3ced37b40250ec816aa2db3e9d3f8d90ec
-SIZE (dtflickr-1.3.tar.bz2) = 17250
+MD5 (dtflickr-1.4.tar.bz2) = 402497d4ff1053fb0fe3edcec9ce0d10
+SHA256 (dtflickr-1.4.tar.bz2) = c2d97490f3365f18a20e776d07b98092961bbbf95e3d0b9d910f6a8b5279a348
+SIZE (dtflickr-1.4.tar.bz2) = 17894