From 6f0981affab971e6db09dad74353a30d03e7c5ac Mon Sep 17 00:00:00 2001 From: rm Date: Sun, 21 Aug 2016 13:04:15 +0000 Subject: textproc/py-wstools: update to 0.4.4 --- textproc/py-wstools/Makefile | 9 ++++----- textproc/py-wstools/distinfo | 5 +++-- textproc/py-wstools/files/patch-setup.py | 25 +++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 textproc/py-wstools/files/patch-setup.py (limited to 'textproc/py-wstools') diff --git a/textproc/py-wstools/Makefile b/textproc/py-wstools/Makefile index 85a63a754621..e81b3b3aa8ae 100644 --- a/textproc/py-wstools/Makefile +++ b/textproc/py-wstools/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= wstools -PORTVERSION= 0.4.3 +PORTVERSION= 0.4.4 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +12,10 @@ COMMENT= WSDL parsing services for Python LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/docs/license.txt +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six + NO_ARCH= yes -USES= python:2 +USES= python:2.7+ USE_PYTHON= autoplist distutils -post-patch: - @${REINPLACE_CMD} -e "s|'docutils'||g" ${WRKSRC}/setup.py - .include diff --git a/textproc/py-wstools/distinfo b/textproc/py-wstools/distinfo index 613e5e8d297d..0931804264f1 100644 --- a/textproc/py-wstools/distinfo +++ b/textproc/py-wstools/distinfo @@ -1,2 +1,3 @@ -SHA256 (wstools-0.4.3.tar.gz) = 578b53e98bc8dadf5a55dfd1f559fd9b37a594609f1883f23e8646d2d30336f8 -SIZE (wstools-0.4.3.tar.gz) = 148878 +TIMESTAMP = 1469274489 +SHA256 (wstools-0.4.4.tar.gz) = 000cca12538e30547d4655ce84ef4977dabfc65a7b27d28e319695b78aa40126 +SIZE (wstools-0.4.4.tar.gz) = 53813 diff --git a/textproc/py-wstools/files/patch-setup.py b/textproc/py-wstools/files/patch-setup.py new file mode 100644 index 000000000000..69ccb5d7556c --- /dev/null +++ b/textproc/py-wstools/files/patch-setup.py @@ -0,0 +1,25 @@ +To be upstreamed: remove dependencies, not actually required to +use the library. + +--- setup.py.orig 2016-07-22 12:01:01 UTC ++++ setup.py +@@ -129,7 +129,8 @@ class PreRelease(Command): + raise RuntimeError( + "Current version of the package is equal or lower than the already published ones (PyPi). Increse version to be able to pass prerelease stage.") + +-requires = ['autopep8', 'six', 'pep8', 'pytest-cov', 'pytest-pep8', 'setuptools', 'pytest', 'pytest-timeout'] ++requires = ['six', 'setuptools'] ++tests_requires = ['autopep8', 'six', 'pep8', 'pytest-cov', 'pytest-pep8', 'setuptools', 'pytest', 'pytest-timeout'] + + setup( + name=NAME, +@@ -137,8 +138,7 @@ setup( + cmdclass={'test': PyTest, 'release': Release, 'prerelease': PreRelease}, + packages=find_packages(exclude=['tests']), + include_package_data=True, +- tests_require=requires, +- setup_requires=requires, ++ tests_require=tests_requires, + install_requires=requires, + + license='BSD', -- cgit