py-zanata-python-client: update to 1.5.3.

* Fri Mar 08 2019 Sundeep Anand <suanand@redhat.com> - 1.5.3
- ZNTA-2791 - Port Zanata Python client to Python 3

* Mon Apr 16 2018 Sundeep Anand <suanand@redhat.com> - 1.5.2
- ZNTA-1390 - Python client fuzzies my strings
- ZNTA-1382 - Should "--push-trans-only" be deprecated in the python client?

* Wed Oct 26 2016 Sundeep Anand <suanand@redhat.com> - 1.5.1
- Bug 1368381 - download only those which have translations
- ZNTA-106 - zanata-python-client installs a test module
This commit is contained in:
wiz 2022-07-20 22:08:10 +00:00
parent 3c835e465e
commit f596a5acb4
4 changed files with 46 additions and 65 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.16 2022/01/05 20:03:35 wiz Exp $
# $NetBSD: Makefile,v 1.17 2022/07/20 22:08:10 wiz Exp $
DISTNAME= zanata-python-client-1.5.0
DISTNAME= zanata-python-client-1.5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=zanata/}
GITHUB_PROJECT= zanata-python-client
@ -13,24 +12,22 @@ HOMEPAGE= http://zanata.org/
COMMENT= Zanata translation service client written in Python
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
DEPENDS+= ${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2
DEPENDS+= ${PYPKGPREFIX}-polib-[0-9]*:../../devel/py-polib
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-minimock-[0-9]*:../../devel/py-minimock
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
# Marked for 2.7 only
PYTHON_VERSIONS_ACCEPTED= 27
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
SUBST_CLASSES+= version
SUBST_STAGE.version= pre-configure
SUBST_MESSAGE.version= Setting version
SUBST_FILES.version+= VERSION-GEN
SUBST_VARS.version+= PKGVERSION_NOREV
# Generate version file to avoid runtime error.
pre-configure:
cd ${WRKSRC}/zanataclient && ${SH} ../VERSION-GEN > VERSION-FILE
# as of 1.5.3
# 21 failed, 18 passed
# probably because it would need a proper zanata server for testing
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,35 +1,11 @@
@comment $NetBSD: PLIST,v 1.3 2016/08/18 12:46:32 ryoon Exp $
@comment $NetBSD: PLIST,v 1.4 2022/07/20 22:08:10 wiz Exp $
bin/flies
bin/zanata
${PYSITELIB}/test/__init__.py
${PYSITELIB}/test/__init__.pyc
${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
${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
${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}/${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}/zanataclient/VERSION-FILE
${PYSITELIB}/zanataclient/__init__.py
${PYSITELIB}/zanataclient/__init__.pyc
@ -61,6 +37,30 @@ ${PYSITELIB}/zanataclient/pullcmd.pyo
${PYSITELIB}/zanataclient/pushcmd.py
${PYSITELIB}/zanataclient/pushcmd.pyc
${PYSITELIB}/zanataclient/pushcmd.pyo
${PYSITELIB}/zanataclient/test/__init__.py
${PYSITELIB}/zanataclient/test/__init__.pyc
${PYSITELIB}/zanataclient/test/__init__.pyo
${PYSITELIB}/zanataclient/test/test_all.py
${PYSITELIB}/zanataclient/test/test_all.pyc
${PYSITELIB}/zanataclient/test/test_all.pyo
${PYSITELIB}/zanataclient/test/test_client.py
${PYSITELIB}/zanataclient/test/test_client.pyc
${PYSITELIB}/zanataclient/test/test_client.pyo
${PYSITELIB}/zanataclient/test/test_context.py
${PYSITELIB}/zanataclient/test/test_context.pyc
${PYSITELIB}/zanataclient/test/test_context.pyo
${PYSITELIB}/zanataclient/test/test_parseconfig.py
${PYSITELIB}/zanataclient/test/test_parseconfig.pyc
${PYSITELIB}/zanataclient/test/test_parseconfig.pyo
${PYSITELIB}/zanataclient/test/test_publicanutil.py
${PYSITELIB}/zanataclient/test/test_publicanutil.pyc
${PYSITELIB}/zanataclient/test/test_publicanutil.pyo
${PYSITELIB}/zanataclient/test/test_service.py
${PYSITELIB}/zanataclient/test/test_service.pyc
${PYSITELIB}/zanataclient/test/test_service.pyo
${PYSITELIB}/zanataclient/test/test_zanatacmd.py
${PYSITELIB}/zanataclient/test/test_zanatacmd.pyc
${PYSITELIB}/zanataclient/test/test_zanatacmd.pyo
${PYSITELIB}/zanataclient/zanata.py
${PYSITELIB}/zanataclient/zanata.pyc
${PYSITELIB}/zanataclient/zanata.pyo

View file

@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.8 2021/10/26 10:19:17 nia Exp $
$NetBSD: distinfo,v 1.9 2022/07/20 22:08:10 wiz Exp $
BLAKE2s (zanata-python-client-1.5.0.tar.gz) = d3fe5d7e95647f4d5b25789e0d67cbac3644eb89cce8fc4a302f7dfb40f0cd35
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
BLAKE2s (zanata-python-client-1.5.3.tar.gz) = e6a2a93301bee82429d3e5095ded9f432fbb1cb218d3963d563f3d70c751f43d
SHA512 (zanata-python-client-1.5.3.tar.gz) = 10190770f61267b058ff15f1a9187f4c8d253ac0edf04799643a0e139689df8bb96965dc3a94d7ca27121c3968100939a3ae48af9027d9a6c67627c72eb3f74d
Size (zanata-python-client-1.5.3.tar.gz) = 74158 bytes

View file

@ -1,15 +0,0 @@
$NetBSD: patch-VERSION-GEN,v 1.2 2016/03/05 04:47:44 ryoon Exp $
* Provide version number without git
--- 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=UNKNOWN
+DEFAULT_VERSION=@PKGVERSION_NOREV@
LF='
'