svn commit: r420557 - in head/textproc/py-wstools: . files
Ruslan Makhmatkhanov
rm at FreeBSD.org
Sun Aug 21 13:04:17 UTC 2016
Author: rm
Date: Sun Aug 21 13:04:15 2016
New Revision: 420557
URL: https://svnweb.freebsd.org/changeset/ports/420557
Log:
textproc/py-wstools: update to 0.4.4
Added:
head/textproc/py-wstools/files/
head/textproc/py-wstools/files/patch-setup.py (contents, props changed)
Modified:
head/textproc/py-wstools/Makefile
head/textproc/py-wstools/distinfo
Modified: head/textproc/py-wstools/Makefile
==============================================================================
--- head/textproc/py-wstools/Makefile Sun Aug 21 13:02:11 2016 (r420556)
+++ head/textproc/py-wstools/Makefile Sun Aug 21 13:04:15 2016 (r420557)
@@ -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 Pytho
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>
Modified: head/textproc/py-wstools/distinfo
==============================================================================
--- head/textproc/py-wstools/distinfo Sun Aug 21 13:02:11 2016 (r420556)
+++ head/textproc/py-wstools/distinfo Sun Aug 21 13:04:15 2016 (r420557)
@@ -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
Added: head/textproc/py-wstools/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-wstools/files/patch-setup.py Sun Aug 21 13:04:15 2016 (r420557)
@@ -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',
More information about the svn-ports-head
mailing list