1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 0.8.0

- Use options helpers
- Sort variables
- Remove files/patch_docs_source__conf.py
This commit is contained in:
Nicola Vitale 2014-07-15 00:26:36 +00:00
parent c10028ec26
commit 8681bb9348
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361843
3 changed files with 17 additions and 28 deletions

View File

@ -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 <bsd.port.options.mk>
.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 <bsd.port.mk>

View File

@ -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

View File

@ -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