diff options
author | wg <wg@FreeBSD.org> | 2013-11-29 19:40:24 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-11-29 19:40:24 +0800 |
commit | 6c2a664efdf735efee10643015c9f72b87364ab4 (patch) | |
tree | 19c02629eaf66df8ac8766f2619f6d976bba3cd3 | |
parent | e9924a79ba276ac5f852d725b97cc0d1320212f7 (diff) | |
download | freebsd-ports-gnome-6c2a664efdf735efee10643015c9f72b87364ab4.tar.gz freebsd-ports-gnome-6c2a664efdf735efee10643015c9f72b87364ab4.tar.zst freebsd-ports-gnome-6c2a664efdf735efee10643015c9f72b87364ab4.zip |
science/py-pydap: update to 3.1.1
PR: ports/183985
Submitted by: maintainer
-rw-r--r-- | science/py-pydap/Makefile | 34 | ||||
-rw-r--r-- | science/py-pydap/distinfo | 4 | ||||
-rw-r--r-- | science/py-pydap/files/patch-pavement.py | 6 |
3 files changed, 35 insertions, 9 deletions
diff --git a/science/py-pydap/Makefile b/science/py-pydap/Makefile index bb40c1141dce..df69ba5c64eb 100644 --- a/science/py-pydap/Makefile +++ b/science/py-pydap/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pydap -PORTVERSION= 3.1 +PORTVERSION= 3.1.1 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,12 +13,38 @@ COMMENT= Implementation of the Opendap/DODS protocol LICENSE= MIT -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distribute>=0:${PORTSDIR}/devel/py-distribute \ - paver:${PORTSDIR}/devel/py-paver +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:${PORTSDIR}/devel/py-setuptools \ + paver:${PORTSDIR}/devel/py-paver \ + ${PYNUMPY} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>0:${PORTSDIR}/www/py-httplib2 \ + ${PYTHON_PKGNAMEPREFIX}Genshi>0:${PORTSDIR}/textproc/py-genshi \ + ${PYTHON_PKGNAMEPREFIX}Paste>0:${PORTSDIR}/www/py-paste \ + ${PYTHON_PKGNAMEPREFIX}PasteDeploy>0:${PORTSDIR}/www/py-pastedeploy \ + ${PYTHON_PKGNAMEPREFIX}PasteScript>0:${PORTSDIR}/www/py-pastescript \ + ${PYNUMPY} + +OPTIONS_DEFINE= DOCS USE_PYTHON= yes USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes PYDISTUTILS_PKGNAME= Pydap +PYDISTUTILS_AUTOPLIST= yes +PYDISTUTILS_NOEGGINFO= yes + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +PORTDOCS= * .buildinfo + +.include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MDOCS} +BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx \ + ${PYTHON_PKGNAMEPREFIX}coards>0:${PORTSDIR}/science/py-coards \ + ${PYTHON_PKGNAMEPREFIX}pygments>0:${PORTSDIR}/textproc/py-pygments + +PYDISTUTILS_BUILD_TARGET+= build_sphinx + +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} +.endif .include <bsd.port.mk> diff --git a/science/py-pydap/distinfo b/science/py-pydap/distinfo index 0af3c10f4373..1000de221ccf 100644 --- a/science/py-pydap/distinfo +++ b/science/py-pydap/distinfo @@ -1,2 +1,2 @@ -SHA256 (Pydap-3.1.tar.gz) = 0e37ebb7755134689d34c7221a140b0b7fb8a76b213e3975e85fec3fe0c2d5f1 -SIZE (Pydap-3.1.tar.gz) = 3098212 +SHA256 (Pydap-3.1.1.tar.gz) = 31af591d244f3a9d379a0f0217524382d473fd24d2ef1173272f24f3a0df3511 +SIZE (Pydap-3.1.1.tar.gz) = 3090985 diff --git a/science/py-pydap/files/patch-pavement.py b/science/py-pydap/files/patch-pavement.py index abcd03e79c80..008e924df2ae 100644 --- a/science/py-pydap/files/patch-pavement.py +++ b/science/py-pydap/files/patch-pavement.py @@ -1,11 +1,11 @@ ---- ./pavement.py.orig 2013-08-30 15:00:07.469952201 +0300 -+++ ./pavement.py 2013-08-30 15:00:24.309518177 +0300 +--- ./pavement.py.orig 2013-11-15 10:29:56.254992996 +0200 ++++ ./pavement.py 2013-11-15 10:31:41.824987045 +0200 @@ -9,7 +9,7 @@ try: from pydap.lib import __version__ except ImportError: - __version__ = ('unknown',) -+ __version__ = ('3.1',) ++ __version__ = (3,1,1) options = environment.options setup(**setup_meta) |