From 8681bb9348c1fc6efa3ab491061a13165dd10e43 Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Tue, 15 Jul 2014 00:26:36 +0000 Subject: [PATCH] - Update to 0.8.0 - Use options helpers - Sort variables - Remove files/patch_docs_source__conf.py --- devel/py-watchdog/Makefile | 28 ++++++++++--------- devel/py-watchdog/distinfo | 4 +-- .../files/patch-docs__source__conf.py | 13 --------- 3 files changed, 17 insertions(+), 28 deletions(-) delete mode 100644 devel/py-watchdog/files/patch-docs__source__conf.py diff --git a/devel/py-watchdog/Makefile b/devel/py-watchdog/Makefile index 096a1c847bae..8c7920cb13ff 100644 --- a/devel/py-watchdog/Makefile +++ b/devel/py-watchdog/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME= watchdog -PORTVERSION= 0.6.0 -PORTREVISION= 1 +PORTVERSION= 0.8.0 +PORTREVISION= 0 CATEGORIES= devel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,36 +11,38 @@ COMMENT= Python API library to monitor file system events LICENSE= APACHE20 -RUN_DEPENDS= ${PKGNAMEPREFIX}argh>=0.15.1:${PORTSDIR}/devel/py-argh \ - ${PKGNAMEPREFIX}yaml>=3.10:${PORTSDIR}/devel/py-yaml \ - ${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools +RUN_DEPENDS= ${PKGNAMEPREFIX}argh>=0.24.1:${PORTSDIR}/devel/py-argh \ + ${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools \ + ${PKGNAMEPREFIX}yaml>=3.10:${PORTSDIR}/devel/py-yaml + +DOCS_BUILD_DEPENDS= ${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools \ + ${PKGNAMEPREFIX}sphinx>=1.1.3:${PORTSDIR}/textproc/py-sphinx +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} GH_ACCOUNT= gorakhargosh -GH_COMMIT= 42b5dfe +GH_COMMIT= 93ff1da GH_TAGNAME= v${PORTVERSION} OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS +PORTDOCS= * +PYDISTUTILS_AUTOPLIST= yes + USE_GITHUB= yes USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes USE_PYTHON= yes .include .if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= ${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools \ - ${PKGNAMEPREFIX}sphinx>=1.1.3:${PORTSDIR}/textproc/py-sphinx -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -PORTDOCS= * - post-build: (cd ${WRKSRC}/docs ; ${MAKE} html) post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC}/docs/build/html ; \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") .endif .include diff --git a/devel/py-watchdog/distinfo b/devel/py-watchdog/distinfo index cfab59e418ea..cadc5c89a0de 100644 --- a/devel/py-watchdog/distinfo +++ b/devel/py-watchdog/distinfo @@ -1,2 +1,2 @@ -SHA256 (watchdog-0.6.0.tar.gz) = 1a445d20d71b06fd6f6bee8dcb9dc7426d5f7feab884e342af4ac02821f418be -SIZE (watchdog-0.6.0.tar.gz) = 85239 +SHA256 (watchdog-0.8.0.tar.gz) = 4222d60820a9ad09e1b564fbaf72f742eb01f7391f01dd68094e977920b42181 +SIZE (watchdog-0.8.0.tar.gz) = 93327 diff --git a/devel/py-watchdog/files/patch-docs__source__conf.py b/devel/py-watchdog/files/patch-docs__source__conf.py deleted file mode 100644 index 273bfdf5d518..000000000000 --- a/devel/py-watchdog/files/patch-docs__source__conf.py +++ /dev/null @@ -1,13 +0,0 @@ ---- ./docs/source/conf.py.orig 2012-09-11 22:57:47.000000000 +0200 -+++ ./docs/source/conf.py 2012-09-11 22:58:01.000000000 +0200 -@@ -103,8 +103,8 @@ - - # The theme to use for HTML and HTML Help pages. See the documentation for - # a list of builtin themes. --#html_theme = 'default' --html_theme = 'flask' -+html_theme = 'default' -+#html_theme = 'flask' - - # Theme options are theme-specific and customize the look and feel of a theme - # further. For a list of options available for each theme, see the