Update to 1.5.0

Changelog:
* Thu Apr 14 2016 Sundeep Anand <suanand@redhat.com> - 1.5.0
- ZNTA-946 - zanata push StringIO fix
- ZNTA-303 - podir projects handling
- ZNTA-936 - redirection 301, 302 handling
- ZNTA-934 - java-client compatible zanata.xml
- ZNTA-927 - Project Status and Versions
- ZNTA-929 - zanata-python-client failed to retrieve version in non-git environment
- Bug 1139950 - Flexible Translation file naming
This commit is contained in:
ryoon 2016-08-18 12:46:32 +00:00
parent 9313157681
commit db29b83a6e
4 changed files with 17 additions and 38 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2016/07/09 13:03:44 wiz Exp $
# $NetBSD: Makefile,v 1.9 2016/08/18 12:46:32 ryoon Exp $
DISTNAME= zanata-python-client-1.4.2
DISTNAME= zanata-python-client-1.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=zanata/}
@ -14,6 +14,7 @@ LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
DEPENDS+= ${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2
DEPENDS+= ${PYPKGPREFIX}-polib-[0-9]*:../../devel/py-polib
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
# Marked for 2.6 and 2.7 only
PYTHON_VERSIONS_INCOMPATIBLE= 34 35

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2016/03/05 04:47:44 ryoon Exp $
@comment $NetBSD: PLIST,v 1.3 2016/08/18 12:46:32 ryoon Exp $
bin/flies
bin/zanata
${PYSITELIB}/test/__init__.py
@ -7,6 +7,9 @@ ${PYSITELIB}/test/__init__.pyo
${PYSITELIB}/test/test_all.py
${PYSITELIB}/test/test_all.pyc
${PYSITELIB}/test/test_all.pyo
${PYSITELIB}/test/test_client.py
${PYSITELIB}/test/test_client.pyc
${PYSITELIB}/test/test_client.pyo
${PYSITELIB}/test/test_context.py
${PYSITELIB}/test/test_context.pyc
${PYSITELIB}/test/test_context.pyo
@ -22,11 +25,11 @@ ${PYSITELIB}/test/test_service.pyo
${PYSITELIB}/test/test_zanatacmd.py
${PYSITELIB}/test/test_zanatacmd.pyc
${PYSITELIB}/test/test_zanatacmd.pyo
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/zanata_python_client-0.0.0-py2.7.egg-info/PKG-INFO
${PYSITELIB}/zanata_python_client-0.0.0-py2.7.egg-info/SOURCES.txt
${PYSITELIB}/zanata_python_client-0.0.0-py2.7.egg-info/dependency_links.txt
${PYSITELIB}/zanata_python_client-0.0.0-py2.7.egg-info/requires.txt
${PYSITELIB}/zanata_python_client-0.0.0-py2.7.egg-info/top_level.txt
${PYSITELIB}/zanataclient/VERSION-FILE
${PYSITELIB}/zanataclient/__init__.py
${PYSITELIB}/zanataclient/__init__.pyc

View file

@ -1,8 +1,7 @@
$NetBSD: distinfo,v 1.5 2016/03/05 04:48:36 ryoon Exp $
$NetBSD: distinfo,v 1.6 2016/08/18 12:46:32 ryoon Exp $
SHA1 (zanata-python-client-1.4.2.tar.gz) = 9dbf6730d958261bcd933c81a67b3e3790ad2721
RMD160 (zanata-python-client-1.4.2.tar.gz) = 66a19a696cf502dcb0329f4bce2d485006097861
SHA512 (zanata-python-client-1.4.2.tar.gz) = 8f5e3230b17e5ca0633b8e0ccace827f03e507466efac3d7836117528338be9329c35ed3a0936df6daf1b9670000d28b77caefcac20b752e0b9e14bccc50f776
Size (zanata-python-client-1.4.2.tar.gz) = 69945 bytes
SHA1 (zanata-python-client-1.5.0.tar.gz) = 20e00fcaccef28402b38c430ad31635b375b94ad
RMD160 (zanata-python-client-1.5.0.tar.gz) = 9e8b1f7ca0a11537f2cf9f75dfc6ba180104d553
SHA512 (zanata-python-client-1.5.0.tar.gz) = 5dfecba93617a37898837d3c79c66ce423f7b9807007b1be579d386df3471eac5eec91103a917576c95f296d530a8330a976e495aa5b32b7be2775a1feab6ddf
Size (zanata-python-client-1.5.0.tar.gz) = 73527 bytes
SHA1 (patch-VERSION-GEN) = d562e603a489ec01ae224c671fbf7a55f1097a09
SHA1 (patch-zanataclient_zanatalib_rest_client.py) = 38506859c17a0c20cf48e9bbed2eec8be87bab32

View file

@ -1,24 +0,0 @@
$NetBSD: patch-zanataclient_zanatalib_rest_client.py,v 1.2 2016/03/05 04:48:36 ryoon Exp $
* Fix zanata push
--- zanataclient/zanatalib/rest/client.py.orig 2016-01-20 23:38:42.000000000 +0000
+++ zanataclient/zanatalib/rest/client.py
@@ -29,7 +29,7 @@ except ImportError:
from urlparse import urlparse
import sys
import warnings
-from io import StringIO
+import StringIO
warnings.simplefilter("ignore", DeprecationWarning)
import httplib2
@@ -54,7 +54,7 @@ class RestClient(object):
if body is not None:
thelen = str(len(body))
headers['Content-Length'] = thelen
- body = StringIO(body)
+ body = StringIO.StringIO(body)
try:
response, content = self.http_client.request(resource, method.upper(), body, headers=headers)