pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-zanata-python-client



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jul 20 22:08:10 UTC 2022

Modified Files:
        pkgsrc/devel/py-zanata-python-client: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/py-zanata-python-client/patches: patch-VERSION-GEN

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

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

* Mon Apr 16 2018 Sundeep Anand <suanand%redhat.com@localhost> - 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@localhost> - 1.5.1
- Bug 1368381 - download only those which have translations
- ZNTA-106 - zanata-python-client installs a test module


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-zanata-python-client/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-zanata-python-client/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-zanata-python-client/distinfo
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/devel/py-zanata-python-client/patches/patch-VERSION-GEN

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-zanata-python-client/Makefile
diff -u pkgsrc/devel/py-zanata-python-client/Makefile:1.16 pkgsrc/devel/py-zanata-python-client/Makefile:1.17
--- pkgsrc/devel/py-zanata-python-client/Makefile:1.16  Wed Jan  5 20:03:35 2022
+++ pkgsrc/devel/py-zanata-python-client/Makefile       Wed Jul 20 22:08:10 2022
@@ -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"

Index: pkgsrc/devel/py-zanata-python-client/PLIST
diff -u pkgsrc/devel/py-zanata-python-client/PLIST:1.3 pkgsrc/devel/py-zanata-python-client/PLIST:1.4
--- pkgsrc/devel/py-zanata-python-client/PLIST:1.3      Thu Aug 18 12:46:32 2016
+++ pkgsrc/devel/py-zanata-python-client/PLIST  Wed Jul 20 22:08:10 2022
@@ -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

Index: pkgsrc/devel/py-zanata-python-client/distinfo
diff -u pkgsrc/devel/py-zanata-python-client/distinfo:1.8 pkgsrc/devel/py-zanata-python-client/distinfo:1.9
--- pkgsrc/devel/py-zanata-python-client/distinfo:1.8   Tue Oct 26 10:19:17 2021
+++ pkgsrc/devel/py-zanata-python-client/distinfo       Wed Jul 20 22:08:10 2022
@@ -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



Home | Main Index | Thread Index | Old Index