Received: by mail.netbsd.org (Postfix, from userid 605) id 9CBAB84E6B; Mon, 24 Feb 2020 14:38:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2638B84D59 for ; Mon, 24 Feb 2020 14:38:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id U2dT9tN6KgO6 for ; Mon, 24 Feb 2020 14:38:25 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5D8F484CD3 for ; Mon, 24 Feb 2020 14:38:25 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5781FFBF4; Mon, 24 Feb 2020 14:38:25 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_158255510596980" MIME-Version: 1.0 Date: Mon, 24 Feb 2020 14:38:25 +0000 From: "Leonardo Taccari" Subject: CVS commit: pkgsrc/net/py-rt To: pkgsrc-changes@NetBSD.org Reply-To: leot@netbsd.org X-Mailer: log_accum Message-Id: <20200224143825.5781FFBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_158255510596980 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: leot Date: Mon Feb 24 14:38:25 UTC 2020 Modified Files: pkgsrc/net/py-rt: Makefile PLIST distinfo pkgsrc/net/py-rt/patches: patch-rt.py Log Message: py-rt: Update to 2.0.0 Changes: 2.0.0 ----- - Drop Python2 support - Adjust Travis tests for Python3-only, and add v3.8 - Add inline typing - Remove "debug_mode" parameter - Add "logging" support (basically replacing "debug_mode" and the various "print"s) - Fix "no-else-after-return" and "no-else-after-raise" - Fix "startswitch" typos / bugs - Removed deprecated "basic_auth" and "digest_auth" paramters. The same functionality is given by specifying the "http_auth" with an instance of either object. This allows for more flexibility with various other alternative authentication methods. (Done in a separate commit of 1.0.13 update because 1.0.13 was the last release supporting Python 2.7, if you use py-rt with python27 please let me know/feel free to add a possible py-rt1 package.) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/py-rt/Makefile pkgsrc/net/py-rt/distinfo cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-rt/PLIST cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-rt/patches/patch-rt.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_158255510596980 Content-Disposition: inline Content-Length: 3599 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/py-rt/Makefile diff -u pkgsrc/net/py-rt/Makefile:1.5 pkgsrc/net/py-rt/Makefile:1.6 --- pkgsrc/net/py-rt/Makefile:1.5 Mon Feb 24 13:38:38 2020 +++ pkgsrc/net/py-rt/Makefile Mon Feb 24 14:38:25 2020 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2020/02/24 13:38:38 leot Exp $ +# $NetBSD: Makefile,v 1.6 2020/02/24 14:38:25 leot Exp $ -DISTNAME= rt-1.0.13 +DISTNAME= rt-2.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=r/rt/} @@ -17,5 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../. USE_LANGUAGES= # none +# Only for Python 3 +PYTHON_VERSIONS_INCOMPATIBLE= 27 + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/net/py-rt/distinfo diff -u pkgsrc/net/py-rt/distinfo:1.5 pkgsrc/net/py-rt/distinfo:1.6 --- pkgsrc/net/py-rt/distinfo:1.5 Mon Feb 24 13:38:38 2020 +++ pkgsrc/net/py-rt/distinfo Mon Feb 24 14:38:25 2020 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2020/02/24 13:38:38 leot Exp $ +$NetBSD: distinfo,v 1.6 2020/02/24 14:38:25 leot Exp $ -SHA1 (py-rt/rt-1.0.13.tar.gz) = d5ce11772ee2db795eb4b7e3637c5b54161301eb -RMD160 (py-rt/rt-1.0.13.tar.gz) = dacbf92f7d244b46f6d604f234d50b8fdb20ceb1 -SHA512 (py-rt/rt-1.0.13.tar.gz) = 670b5e9cc582dfeefe706022251b66a4f4ea0e42507ed7ce6c4bc000140fd514c8559ac578e642c7b4c6aa6a8809463ace111f3d97e00b1f95e17586e1b174f7 -Size (py-rt/rt-1.0.13.tar.gz) = 36848 bytes -SHA1 (patch-rt.py) = 181b7e8f694efa1a76592496a5cc48df8fd9c055 +SHA1 (py-rt/rt-2.0.0.tar.gz) = 83095414750acef5f9a331249b26c9270d011f9e +RMD160 (py-rt/rt-2.0.0.tar.gz) = 2f4fb8586c6050dfec35d90a9d7edd187c398edc +SHA512 (py-rt/rt-2.0.0.tar.gz) = a70cef437f66b97f6d19a62f1d1a7d12633d2092da727599419aeabdd6f41e26cf97a531b745eac7bcd77ca7a39805c71a66dc5f610cbc352f8aa28a2f682967 +Size (py-rt/rt-2.0.0.tar.gz) = 38703 bytes +SHA1 (patch-rt.py) = 33668fc6ef0ea138acc8075a2d0fda2fca179de4 Index: pkgsrc/net/py-rt/PLIST diff -u pkgsrc/net/py-rt/PLIST:1.1 pkgsrc/net/py-rt/PLIST:1.2 --- pkgsrc/net/py-rt/PLIST:1.1 Sat Sep 15 10:53:31 2018 +++ pkgsrc/net/py-rt/PLIST Mon Feb 24 14:38:25 2020 @@ -1,9 +1,17 @@ -@comment $NetBSD: PLIST,v 1.1 2018/09/15 10:53:31 leot Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/02/24 14:38:25 leot Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe ${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt -${PYSITELIB}/rt.py -${PYSITELIB}/rt.pyc -${PYSITELIB}/rt.pyo +${PYSITELIB}/rt/__init__.py +${PYSITELIB}/rt/__init__.pyc +${PYSITELIB}/rt/__init__.pyo +${PYSITELIB}/rt/exceptions.py +${PYSITELIB}/rt/exceptions.pyc +${PYSITELIB}/rt/exceptions.pyo +${PYSITELIB}/rt/py.typed +${PYSITELIB}/rt/rt.py +${PYSITELIB}/rt/rt.pyc +${PYSITELIB}/rt/rt.pyo Index: pkgsrc/net/py-rt/patches/patch-rt.py diff -u pkgsrc/net/py-rt/patches/patch-rt.py:1.3 pkgsrc/net/py-rt/patches/patch-rt.py:1.4 --- pkgsrc/net/py-rt/patches/patch-rt.py:1.3 Thu Jan 2 15:46:11 2020 +++ pkgsrc/net/py-rt/patches/patch-rt.py Mon Feb 24 14:38:25 2020 @@ -1,10 +1,10 @@ -$NetBSD: patch-rt.py,v 1.3 2020/01/02 15:46:11 leot Exp $ +$NetBSD: patch-rt.py,v 1.4 2020/02/24 14:38:25 leot Exp $ In RT 4 when a ticket is not modified an empty response is returned. Treat it as a successfull operation. ---- rt.py.orig 2019-10-25 12:58:58.000000000 +0000 -+++ rt.py +--- rt/rt.py.orig 2019-10-25 12:58:58.000000000 +0000 ++++ rt/rt.py @@ -736,6 +736,8 @@ class Rt: """ post_data = self.__ticket_post_data(kwargs) --_----------=_158255510596980--