diff options
author | ryoon <ryoon@pkgsrc.org> | 2016-03-05 04:47:44 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2016-03-05 04:47:44 +0000 |
commit | 87d8b421313cf86c76ba0cdb255f2c566eb9ac86 (patch) | |
tree | bc952ef6a645b915d6b53dc13a9851c3148f2d12 /devel | |
parent | 0f1655e09ac0a4ab8250414b7c25f3c9c5814101 (diff) | |
download | pkgsrc-87d8b421313cf86c76ba0cdb255f2c566eb9ac86.tar.gz |
Update to 1.4.2
Changelog:
1.4.2:
Bug fixes
Bug 1299736 - just "zanata" execution gives traceback
1.4.1:
Improvements
zanata init Initialize Zanata project configuration
zanata stats Displays translation statistics for a Zanata project version
Bug fixes
Bug 1206995 - Should allow anonymous pull from Zanata
Bug ZNTA-853 - Crash when pushing local translations
1.4.0:
Improvements
Added
<src-dir> and <trans-dir> in zanata.xml
rest/config to centralize service-to-resource mappings.
ProjectContext to load local: user & project and remote configs, once.
Organize exception messages.
Improved logs and zanata <command> --help
HTTP to HTTPS redirect - auto, if found in httplib2 response
Bug fixes
Bug 1215274 - Should be able to specify minimum percentage completion on pull
Bug 1156236 - As a project maintainer, I want to be able to use the latest list of languages defined in the server for a project when using the client.
1.3.22:
This release contains
Improved error codes, that means in case of error messages z-p-c returns appropriate error codes to system, this is useful for people who uses z-p-c from command line
Bug fixes
Improved ReadMe
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-zanata-python-client/Makefile | 6 | ||||
-rw-r--r-- | devel/py-zanata-python-client/PLIST | 38 | ||||
-rw-r--r-- | devel/py-zanata-python-client/distinfo | 13 | ||||
-rw-r--r-- | devel/py-zanata-python-client/patches/patch-VERSION-GEN | 6 | ||||
-rw-r--r-- | devel/py-zanata-python-client/patches/patch-zanataclient_zanatalib_rest_client.py | 22 |
5 files changed, 63 insertions, 22 deletions
diff --git a/devel/py-zanata-python-client/Makefile b/devel/py-zanata-python-client/Makefile index fbdeec009d7..62161bf6ee8 100644 --- a/devel/py-zanata-python-client/Makefile +++ b/devel/py-zanata-python-client/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.6 2015/12/05 21:26:09 adam Exp $ +# $NetBSD: Makefile,v 1.7 2016/03/05 04:47:44 ryoon Exp $ -DISTNAME= zanata-python-client-1.3.21 +DISTNAME= zanata-python-client-1.4.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=zanata/} @@ -15,7 +15,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 -# TypeError: can't concat bytes to str +# Marked for 2.6 and 2.7 only PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 USE_LANGUAGES= # none diff --git a/devel/py-zanata-python-client/PLIST b/devel/py-zanata-python-client/PLIST index 3c867100089..dbed1c3bf0d 100644 --- a/devel/py-zanata-python-client/PLIST +++ b/devel/py-zanata-python-client/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2015/01/01 07:00:00 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.2 2016/03/05 04:47:44 ryoon Exp $ bin/flies bin/zanata ${PYSITELIB}/test/__init__.py @@ -7,12 +7,18 @@ ${PYSITELIB}/test/__init__.pyo ${PYSITELIB}/test/test_all.py ${PYSITELIB}/test/test_all.pyc ${PYSITELIB}/test/test_all.pyo +${PYSITELIB}/test/test_context.py +${PYSITELIB}/test/test_context.pyc +${PYSITELIB}/test/test_context.pyo ${PYSITELIB}/test/test_parseconfig.py ${PYSITELIB}/test/test_parseconfig.pyc ${PYSITELIB}/test/test_parseconfig.pyo ${PYSITELIB}/test/test_publicanutil.py ${PYSITELIB}/test/test_publicanutil.pyc ${PYSITELIB}/test/test_publicanutil.pyo +${PYSITELIB}/test/test_service.py +${PYSITELIB}/test/test_service.pyc +${PYSITELIB}/test/test_service.pyo ${PYSITELIB}/test/test_zanatacmd.py ${PYSITELIB}/test/test_zanatacmd.pyc ${PYSITELIB}/test/test_zanatacmd.pyo @@ -25,15 +31,21 @@ ${PYSITELIB}/zanataclient/VERSION-FILE ${PYSITELIB}/zanataclient/__init__.py ${PYSITELIB}/zanataclient/__init__.pyc ${PYSITELIB}/zanataclient/__init__.pyo +${PYSITELIB}/zanataclient/cmdbase.py +${PYSITELIB}/zanataclient/cmdbase.pyc +${PYSITELIB}/zanataclient/cmdbase.pyo ${PYSITELIB}/zanataclient/command.py ${PYSITELIB}/zanataclient/command.pyc ${PYSITELIB}/zanataclient/command.pyo +${PYSITELIB}/zanataclient/context.py +${PYSITELIB}/zanataclient/context.pyc +${PYSITELIB}/zanataclient/context.pyo ${PYSITELIB}/zanataclient/csvconverter.py ${PYSITELIB}/zanataclient/csvconverter.pyc ${PYSITELIB}/zanataclient/csvconverter.pyo -${PYSITELIB}/zanataclient/optionsutil.py -${PYSITELIB}/zanataclient/optionsutil.pyc -${PYSITELIB}/zanataclient/optionsutil.pyo +${PYSITELIB}/zanataclient/initcmd.py +${PYSITELIB}/zanataclient/initcmd.pyc +${PYSITELIB}/zanataclient/initcmd.pyo ${PYSITELIB}/zanataclient/parseconfig.py ${PYSITELIB}/zanataclient/parseconfig.pyc ${PYSITELIB}/zanataclient/parseconfig.pyo @@ -55,9 +67,6 @@ ${PYSITELIB}/zanataclient/zanatacmd.pyo ${PYSITELIB}/zanataclient/zanatalib/__init__.py ${PYSITELIB}/zanataclient/zanatalib/__init__.pyc ${PYSITELIB}/zanataclient/zanatalib/__init__.pyo -${PYSITELIB}/zanataclient/zanatalib/client.py -${PYSITELIB}/zanataclient/zanatalib/client.pyc -${PYSITELIB}/zanataclient/zanatalib/client.pyo ${PYSITELIB}/zanataclient/zanatalib/docservice.py ${PYSITELIB}/zanataclient/zanatalib/docservice.pyc ${PYSITELIB}/zanataclient/zanatalib/docservice.pyo @@ -70,21 +79,30 @@ ${PYSITELIB}/zanataclient/zanatalib/glossaryservice.pyo ${PYSITELIB}/zanataclient/zanatalib/logger.py ${PYSITELIB}/zanataclient/zanatalib/logger.pyc ${PYSITELIB}/zanataclient/zanatalib/logger.pyo -${PYSITELIB}/zanataclient/zanatalib/project.py -${PYSITELIB}/zanataclient/zanatalib/project.pyc -${PYSITELIB}/zanataclient/zanatalib/project.pyo ${PYSITELIB}/zanataclient/zanatalib/projectservice.py ${PYSITELIB}/zanataclient/zanatalib/projectservice.pyc ${PYSITELIB}/zanataclient/zanatalib/projectservice.pyo +${PYSITELIB}/zanataclient/zanatalib/projectutils.py +${PYSITELIB}/zanataclient/zanatalib/projectutils.pyc +${PYSITELIB}/zanataclient/zanatalib/projectutils.pyo +${PYSITELIB}/zanataclient/zanatalib/resource.py +${PYSITELIB}/zanataclient/zanatalib/resource.pyc +${PYSITELIB}/zanataclient/zanatalib/resource.pyo ${PYSITELIB}/zanataclient/zanatalib/rest/__init__.py ${PYSITELIB}/zanataclient/zanatalib/rest/__init__.pyc ${PYSITELIB}/zanataclient/zanatalib/rest/__init__.pyo ${PYSITELIB}/zanataclient/zanatalib/rest/client.py ${PYSITELIB}/zanataclient/zanatalib/rest/client.pyc ${PYSITELIB}/zanataclient/zanatalib/rest/client.pyo +${PYSITELIB}/zanataclient/zanatalib/rest/config.py +${PYSITELIB}/zanataclient/zanatalib/rest/config.pyc +${PYSITELIB}/zanataclient/zanatalib/rest/config.pyo ${PYSITELIB}/zanataclient/zanatalib/service.py ${PYSITELIB}/zanataclient/zanatalib/service.pyc ${PYSITELIB}/zanataclient/zanatalib/service.pyo +${PYSITELIB}/zanataclient/zanatalib/statservice.py +${PYSITELIB}/zanataclient/zanatalib/statservice.pyc +${PYSITELIB}/zanataclient/zanatalib/statservice.pyo ${PYSITELIB}/zanataclient/zanatalib/versionservice.py ${PYSITELIB}/zanataclient/zanatalib/versionservice.pyc ${PYSITELIB}/zanataclient/zanatalib/versionservice.pyo diff --git a/devel/py-zanata-python-client/distinfo b/devel/py-zanata-python-client/distinfo index 656f764f415..2c4dd322171 100644 --- a/devel/py-zanata-python-client/distinfo +++ b/devel/py-zanata-python-client/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2015/11/03 03:29:17 agc Exp $ +$NetBSD: distinfo,v 1.4 2016/03/05 04:47:44 ryoon Exp $ -SHA1 (zanata-python-client-1.3.21.tar.gz) = d9f3fa020d8435ab0b7e3bc8a6c252b9d1c10fea -RMD160 (zanata-python-client-1.3.21.tar.gz) = 1a2ed03669be4f8b81b0f191f33d3da5c44ea5bf -SHA512 (zanata-python-client-1.3.21.tar.gz) = 23d0396b88a9176364854c1f434097db144b7f66321588cd878e4732e76e1e9f8b6de543dfb9ddbf91fb8c21229f6ab899b873847ee56598374da05c487356be -Size (zanata-python-client-1.3.21.tar.gz) = 57580 bytes -SHA1 (patch-VERSION-GEN) = 3ce2abadc697b163980c8c927fdb3e3d3ab458f3 +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 (patch-VERSION-GEN) = d562e603a489ec01ae224c671fbf7a55f1097a09 +SHA1 (patch-zanataclient_zanatalib_rest_client.py) = 958b081dd33d350c35e37a15194d7d5643f2a4c2 diff --git a/devel/py-zanata-python-client/patches/patch-VERSION-GEN b/devel/py-zanata-python-client/patches/patch-VERSION-GEN index 2068e04aff7..03b69b85208 100644 --- a/devel/py-zanata-python-client/patches/patch-VERSION-GEN +++ b/devel/py-zanata-python-client/patches/patch-VERSION-GEN @@ -1,14 +1,14 @@ -$NetBSD: patch-VERSION-GEN,v 1.1 2015/01/01 07:00:00 ryoon Exp $ +$NetBSD: patch-VERSION-GEN,v 1.2 2016/03/05 04:47:44 ryoon Exp $ * Provide version number without git ---- VERSION-GEN.orig 2014-12-03 06:27:09.000000000 +0000 +--- VERSION-GEN.orig 2016-01-20 23:38:42.000000000 +0000 +++ VERSION-GEN @@ -4,7 +4,7 @@ # $ git tag -a -m "Version 0.2" v0.2 HEAD VF=zanataclient/VERSION-FILE --DEFAULT_VERSION=UKNOWN +-DEFAULT_VERSION=UNKNOWN +DEFAULT_VERSION=@PKGVERSION_NOREV@ LF=' diff --git a/devel/py-zanata-python-client/patches/patch-zanataclient_zanatalib_rest_client.py b/devel/py-zanata-python-client/patches/patch-zanataclient_zanatalib_rest_client.py new file mode 100644 index 00000000000..dbedb8a087b --- /dev/null +++ b/devel/py-zanata-python-client/patches/patch-zanataclient_zanatalib_rest_client.py @@ -0,0 +1,22 @@ +$NetBSD: patch-zanataclient_zanatalib_rest_client.py,v 1.1 2016/03/05 04:47:44 ryoon Exp $ + +--- 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) |