aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-wstools
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2016-08-21 21:04:15 +0800
committerrm <rm@FreeBSD.org>2016-08-21 21:04:15 +0800
commit6f0981affab971e6db09dad74353a30d03e7c5ac (patch)
tree6acdde10eb3f38c74251ae3d7921c48994a75051 /textproc/py-wstools
parent20e123019cbfb3897539c9e608655aea5e5f029a (diff)
downloadfreebsd-ports-gnome-6f0981affab971e6db09dad74353a30d03e7c5ac.tar.gz
freebsd-ports-gnome-6f0981affab971e6db09dad74353a30d03e7c5ac.tar.zst
freebsd-ports-gnome-6f0981affab971e6db09dad74353a30d03e7c5ac.zip
textproc/py-wstools: update to 0.4.4
Diffstat (limited to 'textproc/py-wstools')
-rw-r--r--textproc/py-wstools/Makefile9
-rw-r--r--textproc/py-wstools/distinfo5
-rw-r--r--textproc/py-wstools/files/patch-setup.py25
3 files changed, 32 insertions, 7 deletions
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 <bsd.port.mk>
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',