mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
MFH: r566555
devel/py-watchdog: Update to 0.10.6 On Github, there is already v2.0.2, but from v1.0.0 on 'make test' produces many errors for functions, which passes fine until <= v1.0.0. Newer tests run with an update of devel/py-pytest >= v5.0.0 [1][2]. [1] https://docs.pytest.org/en/latest/changelog.html?highlight=pytestunknownmarkwarning [2] https://github.com/pytest-dev/pytest/pull/5416 Changelog: https://github.com/gorakhargosh/watchdog/releases/tag/v0.10.6 PR: 244031 Submitted by: Evilham <contact@evilham.com> Approved by: Nicola Vitale <nivit@FreeBSD.org> (maintainer timeout) Differential Revision: https://reviews.freebsd.org/D23608
This commit is contained in:
parent
8f22e7633d
commit
be76a61f07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=568856
@ -1,10 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= watchdog
|
||||
PORTVERSION= 0.9.0
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= devel
|
||||
PORTVERSION= 0.10.6
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
@ -13,24 +12,25 @@ COMMENT= Python API library to monitor file system events
|
||||
LICENSE= APACHE20
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argh>=0.26.1:devel/py-argh@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}eventlet>=0:net/py-eventlet@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_GITHUB= yes
|
||||
USE_PYTHON= autoplist distutils
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \
|
||||
${PY_SPHINX}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
GH_ACCOUNT= gorakhargosh
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS= *
|
||||
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
|
||||
|
||||
post-build-DOCS-on:
|
||||
(cd ${WRKSRC}/docs ; ${MAKE_CMD} SPHINXBUILD=sphinx-build-${PYTHON_VER} html)
|
||||
@ -40,4 +40,7 @@ post-install-DOCS-on:
|
||||
(cd ${WRKSRC}/docs/build/html ; \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo")
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= tests
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1539444517
|
||||
SHA256 (gorakhargosh-watchdog-v0.9.0_GH0.tar.gz) = e8a32701dff43a4e671a40acf92f55a8fffd8ca74333b75436d63a94d104faef
|
||||
SIZE (gorakhargosh-watchdog-v0.9.0_GH0.tar.gz) = 90597
|
||||
TIMESTAMP = 1612010670
|
||||
SHA256 (watchdog-0.10.6.tar.gz) = 1e1ea6d3d74feca5c62393525107aa45c5d4cd15199e2a5f62b1a6ca83679131
|
||||
SIZE (watchdog-0.10.6.tar.gz) = 99949
|
||||
|
Loading…
Reference in New Issue
Block a user