| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.7 2012/01/20 12:21:39 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2012/01/21 15:38:25 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= gdata-2.0.16 | | 3 | DISTNAME= gdata-2.0.16 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= www python | | 5 | CATEGORIES= www python |
6 | MASTER_SITES= http://gdata-python-client.googlecode.com/files/ | | 6 | MASTER_SITES= http://gdata-python-client.googlecode.com/files/ |
7 | | | 7 | |
8 | MAINTAINER= mj@mjturner.net | | 8 | MAINTAINER= mj@mjturner.net |
9 | HOMEPAGE= http://code.google.com/p/gdata-python-client/ | | 9 | HOMEPAGE= http://code.google.com/p/gdata-python-client/ |
10 | COMMENT= Google Data API Python client library | | 10 | COMMENT= Google Data API Python client library |
11 | LICENSE= apache-2.0 | | 11 | LICENSE= apache-2.0 |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 14 | |
| @@ -117,21 +117,23 @@ REPLACE_PYTHON+= src/gdata/spreadsheet/t | | | @@ -117,21 +117,23 @@ REPLACE_PYTHON+= src/gdata/spreadsheet/t |
117 | REPLACE_PYTHON+= src/gdata/spreadsheets/client.py | | 117 | REPLACE_PYTHON+= src/gdata/spreadsheets/client.py |
118 | REPLACE_PYTHON+= src/gdata/spreadsheets/data.py | | 118 | REPLACE_PYTHON+= src/gdata/spreadsheets/data.py |
119 | REPLACE_PYTHON+= src/gdata/test_config.py | | 119 | REPLACE_PYTHON+= src/gdata/test_config.py |
120 | REPLACE_PYTHON+= src/gdata/test_data.py | | 120 | REPLACE_PYTHON+= src/gdata/test_data.py |
121 | REPLACE_PYTHON+= src/gdata/urlfetch.py | | 121 | REPLACE_PYTHON+= src/gdata/urlfetch.py |
122 | REPLACE_PYTHON+= src/gdata/webmastertools/__init__.py | | 122 | REPLACE_PYTHON+= src/gdata/webmastertools/__init__.py |
123 | REPLACE_PYTHON+= src/gdata/webmastertools/data.py | | 123 | REPLACE_PYTHON+= src/gdata/webmastertools/data.py |
124 | REPLACE_PYTHON+= src/gdata/webmastertools/service.py | | 124 | REPLACE_PYTHON+= src/gdata/webmastertools/service.py |
125 | REPLACE_PYTHON+= src/gdata/youtube/__init__.py | | 125 | REPLACE_PYTHON+= src/gdata/youtube/__init__.py |
126 | REPLACE_PYTHON+= src/gdata/youtube/client.py | | 126 | REPLACE_PYTHON+= src/gdata/youtube/client.py |
127 | REPLACE_PYTHON+= src/gdata/youtube/data.py | | 127 | REPLACE_PYTHON+= src/gdata/youtube/data.py |
128 | REPLACE_PYTHON+= src/gdata/youtube/service.py | | 128 | REPLACE_PYTHON+= src/gdata/youtube/service.py |
129 | | | 129 | |
| | | 130 | # 2.0.16 introduced a neologism |
| | | 131 | PYTHON_VERSIONS_INCOMPATIBLE= 24 |
130 | .include "../../lang/python/application.mk" | | 132 | .include "../../lang/python/application.mk" |
131 | .include "../../lang/python/extension.mk" | | 133 | .include "../../lang/python/extension.mk" |
132 | .if !empty(PYPKGPREFIX:Mpy24) | | 134 | .if !empty(PYPKGPREFIX:Mpy24) |
133 | DEPENDS+= ${PYPKGPREFIX}-elementtree-[0-9]*:../../textproc/py-elementtree | | 135 | DEPENDS+= ${PYPKGPREFIX}-elementtree-[0-9]*:../../textproc/py-elementtree |
134 | .else | | 136 | .else |
135 | DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree | | 137 | DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree |
136 | .endif | | 138 | .endif |
137 | .include "../../mk/bsd.pkg.mk" | | 139 | .include "../../mk/bsd.pkg.mk" |