diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-pytidylib/Makefile | 11 | ||||
-rw-r--r-- | textproc/py-pytidylib/distinfo | 4 | ||||
-rw-r--r-- | textproc/py-pytidylib/files/patch-setup.py | 9 |
3 files changed, 17 insertions, 7 deletions
diff --git a/textproc/py-pytidylib/Makefile b/textproc/py-pytidylib/Makefile index d0b85df1366d..919db37d0d74 100644 --- a/textproc/py-pytidylib/Makefile +++ b/textproc/py-pytidylib/Makefile @@ -2,24 +2,25 @@ # $FreeBSD$ PORTNAME= pytidylib -PORTVERSION= 0.2.3 +PORTVERSION= 0.2.4 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org -COMMENT= Python wrapper for HTML Tidy +COMMENT= Python wrapper for HTML Tidy (tidylib) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtidy.so:${PORTSDIR}/www/tidy-lib -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest USES= python USE_PYTHON= distutils autoplist -regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include <bsd.port.mk> diff --git a/textproc/py-pytidylib/distinfo b/textproc/py-pytidylib/distinfo index 19c2cedf07b1..5176b874ad38 100644 --- a/textproc/py-pytidylib/distinfo +++ b/textproc/py-pytidylib/distinfo @@ -1,2 +1,2 @@ -SHA256 (pytidylib-0.2.3.tar.gz) = e7d28eb3191b80ede405691820368630f2fa0d64885b389ae42f8f50ad6a11e5 -SIZE (pytidylib-0.2.3.tar.gz) = 86515 +SHA256 (pytidylib-0.2.4.tar.gz) = 0af07bd8ebd256af70ca925ada9337faf16d85b3072624f975136a5134150ab6 +SIZE (pytidylib-0.2.4.tar.gz) = 86650 diff --git a/textproc/py-pytidylib/files/patch-setup.py b/textproc/py-pytidylib/files/patch-setup.py new file mode 100644 index 000000000000..4fe6c390b9f3 --- /dev/null +++ b/textproc/py-pytidylib/files/patch-setup.py @@ -0,0 +1,9 @@ +--- setup.py.orig 2016-02-26 12:55:44 UTC ++++ setup.py +@@ -84,5 +84,6 @@ setup( + 'Topic :: Text Processing :: Markup :: HTML', + 'Topic :: Text Processing :: Markup :: XML', + ], ++ test_suite='tests', + ) + |