summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-01-27 06:30:21 +0000
committerobache <obache@pkgsrc.org>2012-01-27 06:30:21 +0000
commitffa48716fe7666b5a9a94d1d2a2d06de349ff5a7 (patch)
treee97bc19fe048a4a7232ca8e9b51ffb6e357ebb2c /www
parentd9ab9276ffe391dbadb89d8929acad82dfbe73ee (diff)
downloadpkgsrc-ffa48716fe7666b5a9a94d1d2a2d06de349ff5a7.tar.gz
* python24 support had been dropped, simplify dependency on elementtree.
* distutils pkg, register egg-info. Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r--www/py-gdata/Makefile14
-rw-r--r--www/py-gdata/PLIST3
2 files changed, 6 insertions, 11 deletions
diff --git a/www/py-gdata/Makefile b/www/py-gdata/Makefile
index 77f3f2456d3..7f2175c323a 100644
--- a/www/py-gdata/Makefile
+++ b/www/py-gdata/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2012/01/21 15:38:25 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2012/01/27 06:30:21 obache Exp $
DISTNAME= gdata-2.0.16
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://gdata-python-client.googlecode.com/files/
@@ -10,11 +11,9 @@ HOMEPAGE= http://code.google.com/p/gdata-python-client/
COMMENT= Google Data API Python client library
LICENSE= apache-2.0
+DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
PKG_DESTDIR_SUPPORT= user-destdir
-PYDISTUTILSPKG= yes
-PY_PATCHPLIST= yes
-
REPLACE_PYTHON= src/atom/__init__.py
REPLACE_PYTHON+= src/atom/auth.py
REPLACE_PYTHON+= src/atom/client.py
@@ -130,10 +129,5 @@ REPLACE_PYTHON+= src/gdata/youtube/service.py
# 2.0.16 introduced a neologism
PYTHON_VERSIONS_INCOMPATIBLE= 24
.include "../../lang/python/application.mk"
-.include "../../lang/python/extension.mk"
-.if !empty(PYPKGPREFIX:Mpy24)
-DEPENDS+= ${PYPKGPREFIX}-elementtree-[0-9]*:../../textproc/py-elementtree
-.else
-DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
-.endif
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-gdata/PLIST b/www/py-gdata/PLIST
index 114330979a7..d724a4802c5 100644
--- a/www/py-gdata/PLIST
+++ b/www/py-gdata/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2012/01/20 12:21:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2012/01/27 06:30:21 obache Exp $
${PYSITELIB}/atom/__init__.py
${PYSITELIB}/atom/__init__.pyc
${PYSITELIB}/atom/__init__.pyo
@@ -41,6 +41,7 @@ ${PYSITELIB}/atom/token_store.pyo
${PYSITELIB}/atom/url.py
${PYSITELIB}/atom/url.pyc
${PYSITELIB}/atom/url.pyo
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/gdata/Crypto/Cipher/__init__.py
${PYSITELIB}/gdata/Crypto/Cipher/__init__.pyc
${PYSITELIB}/gdata/Crypto/Cipher/__init__.pyo