diff options
author | koobs <koobs@FreeBSD.org> | 2016-02-26 21:19:07 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2016-02-26 21:19:07 +0800 |
commit | 2fed88315102466627d67600b791301d0b000b63 (patch) | |
tree | 8c3e02e22e91867a686c0c5b61613159dac8dfe8 /textproc | |
parent | e823f3c80748c2a118428e6ee467de68510b8d0c (diff) | |
download | freebsd-ports-gnome-2fed88315102466627d67600b791301d0b000b63.tar.gz freebsd-ports-gnome-2fed88315102466627d67600b791301d0b000b63.tar.zst freebsd-ports-gnome-2fed88315102466627d67600b791301d0b000b63.zip |
textproc/py-pytidylib: Update to 0.2.4
- Update PORTVERSION and distinfo checksum (0.2.4)
- Update COMMENT to more closely match setup.py:description
- Update test target
- Remove TEST_DEPENDS (pytest is not required)
- Enable NO_ARCH (architecture independent)
- Patch setup.py to enable setuptools test command
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', + ) + |