Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=MVY+JdUC; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=AVcx5haW Received: by mail.netbsd.org (Postfix, from userid 605) id 60F8A84EBB; Tue, 30 Apr 2024 13:22:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714483336; bh=iVlEqyPN6Qy7GsJOCsm0lRZtcqcMyazr7kEn8bAI1qw=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=MVY+JdUC6fqJaBykMtJ44KzpknejekBx2nNMqnSP/5JaxXMtDVfGo/JnlaWcak4uq Zhu1YKr8eh0k+7kan3ZLvHRrUgVLY3yb7j5Vu8NZTxT2Sj/tOcDkBscCDlddclnTcP Sehb2rlYiZvN4kf6MDuwOf8C+W5BCCNJoX/j1RDk= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 51AB284E79 for ; Tue, 30 Apr 2024 13:22:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id vhxXaH9RLbh3 for ; Tue, 30 Apr 2024 13:22:13 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id BC7C784E6F for ; Tue, 30 Apr 2024 13:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714483333; bh=iVlEqyPN6Qy7GsJOCsm0lRZtcqcMyazr7kEn8bAI1qw=; h=Date:From:Subject:To:Reply-To; b=AVcx5haW+3K0b181F701pkfPi24Ib6Z3Tu3yiiSaVVjCRtRcYgyaxYCHHlRYtaWVZ taIT2shwaHsAsqXgd4JT2aKbFbI7/LPxSBdCtFSaj4uagxEO7U1voNKJG+rlFtc9UX NObRBK7VIwvgUVQpfMG+jqlyXSRu8UsvMY0x5QXM= Received: by cvs.NetBSD.org (Postfix, from userid 500) id B7265FA2C; Tue, 30 Apr 2024 13:22:13 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1714483333291020" MIME-Version: 1.0 Date: Tue, 30 Apr 2024 13:22:13 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/net/py-irclib To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20240430132213.B7265FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1714483333291020 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: wiz Date: Tue Apr 30 13:22:13 UTC 2024 Modified Files: pkgsrc/net/py-irclib: Makefile PLIST distinfo Log Message: py-irclib: update to 20.4.0. v20.4.0 ======= Features -------- - Replace deprecated ssl.wrap_socket with SSLContext.wrap_socket and update examples in connection.py docs. (#216) v20.3.1 ======= No significant changes. v20.3.0 ======= Features -------- - Added support for SASL login. (#195) Bugfixes -------- - Better handling of escape sequences in message tags. (#205) v20.2.0 ======= Features -------- - Require Python 3.8 or later. v20.1.1 ======= * #213: Pinned against jaraco.text 3.10 due to change in interface. v20.1.0 ======= * #196: In irc.bot, avoid hanging idle when the first connection attempt fails. v20.0.0 ======= * ``SingleServerIRCBot`` no longer accepts ``reconnection_interval`` as a parameter. * Added server support for NOTICE commands. * Require Python 3.7 or later. v19.0.1 ======= * #176: Fix issues with version number reporting. Restored version version number reporting in bot and client. v19.0.0 ======= * ``irc.client`` no longer exposes a ``VERSION`` or ``VERSION_STRING``. To get the version, call ``importlib.metadata.version('irc')`` directly. v18.0.0 ======= * Require Python 3.6 or later. 17.1 ==== * Rely on `importlib_metadata `_ for loading version from metadata. Removes implicit dependency on setuptools and pkg_resources. * #158: The AsyncIO server now accepts a connection factory to enable features like SSL and IPv6 support. * #155: ``SimpleIRCClient`` now has a ``dcc`` method for initiating and associating a DCCConnection object with the client. ``DCCConnection.listen`` now accepts a ``address`` parameter. Deprecated ``SimpleIRCClient.dcc_listen`` and ``SimpleIRCClient.dcc_connect`` in favor of the better separation of concerns. Clients should replace:: client.dcc_connect(addr, port, type) client.dcc_listen(type) with:: client.dcc(type).connect(addr, port) client.dcc(type).listen() 17.0 ==== * Removed ``irc.buffer`` module, deprecated in 14.2. * #153: Drop support for Python 3.3 and 2.7. 16.4 ==== * Long Term Service release for Python 2.7. * #149: ``AioConnection.connect`` moved to coroutine, added disconnect handling for AsyncIO. 16.3 ==== * #140: Methods now use 'connection' and 'event' for parameter names. * #135 via #144: Added AsyncIO implementation. 16.2.1 ====== * Package refresh and cleanup. 16.2 ==== * #133: In ``irc.server``, add support for ISON. 16.1 ==== * #131: Add ``Connection.encode`` and ``Connection.transmit_encoding`` to enable encodings other than UTF-8 to be used when transmitting text. 16.0 ==== * Removed deprecated ``execute_*`` methods on ``Connection`` and ``Reactor`` as introduced in 15.0. * Fixed link in README. 15.1.1 ====== * New ``send_items`` method takes star args for simplicity in the syntax and usage. 15.1 ==== * Introduce ``ServerConnection.send_items``, consolidating common behavior across many methods previously calling ``send_raw``. 15.0.6 ====== * Now publish `documentation `_ to Read The Docs. 15.0.5 ====== * #119: Handle broken pipe exception in IRCClient _send() (server.py). 15.0.4 ====== * #116: Correct invocation of execute_every. 15.0.3 ====== * #115: Fix AttributeError in ``execute_at`` in scheduling support. 15.0.2 ====== * #113: Use preferred scheduler in the bot implementation. 15.0.1 ====== * Deprecated calls to Connection.execute_* and Reactor.execute_*. Instead, call the equivalently-named methods on the reactor's scheduler. 15.0 ==== * The event scheduling functionality has been decoupled from the client.Reactor object. Now the reactor will construct a Scheduler from the scheduler_class property, which must be an instance of irc.schedule.IScheduler. The ``_on_schedule`` parameter is no longer accepted to the Reactor class. Implementations requiring a signal during scheduling should hook into the ``add`` method of the relevant scheduler class. * Moved the underlying scheduler implementation to `tempora `_, allowing it to be re-used for other purposes. 14.2.2 ====== * Issue #98: Add an ugly hack to force ``build_sphinx`` command to have the requisite libraries to build module documentation. 14.2.1 ====== * Issue #97: Restore ``irc.buffer`` module for compatibility. * Issue #95: Update docs to remove missing or deprecated modules. * Issue #96: Declare Gitter support as a badge in the docs. 14.2 ==== * Moved buffer module to `jaraco.stream `_ for use in other packages. 14.1 ==== * ``SingleServerIRCBot`` now accepts a ``recon`` parameter implementing a ReconnectStrategy. The new default strategy is ExponentialBackoff, implementing an exponential backoff with jitter. The ``reconnection_interval`` parameter is now deprecated but retained for compatibility. To customize the minimum time before reconnect, create a custom ExponentialBackoff instance or create another ReconnectStrategy object and pass that as the ``recon`` parameter. The ``reconnection_interval`` parameter will be removed in future versions. * Issue #82: The ``ExponentialBackoff`` implementation now protects from multiple scheduled reconnects, avoiding the issue where reconnect attempts accumulate exponentially when the bot is immediately disconnected by the server. 14.0 ==== * Dropped deprecated constructor ``connection.Factory.from_legacy_params``. Use the natural constructor instead. * Issue #83: ``connection.Factory`` no longer attempts to bind before connect unless a bind address is specified. 13.3.1 ====== * Now remove mode for owners, halfops, and admins when the user is removed from a channel. * Refactored the Channel class implementation for cleaner, less repetitive code. * Expanded tests coverage for Channel class. 13.3 ==== * Issue #75: In ``irc.bot``, add support for tracking admin status (mode 'a') in channels. Use ``channel.is_admin`` or ``channel.admins`` to identify admin users for a channel. * Removed deprecated irc.logging module. 13.2 ==== * Moved hosting to github. 13.1.1 ====== * Issue #67: Fix infinite recursion for ``irc.strings.IRCFoldedCase`` and ``irc.strings.lower``. 13.1 ==== * Issue #64: ISUPPORT PREFIX now retains the order of permissions for each prefix. 13.0 ==== * Updated ``schedule`` module to properly support timezone aware times and use them by default. Clients that rely on the timezone naïve datetimes may restore the old behavior by overriding the ``schedule.now`` and ``schedule.from_timestamp`` functions like so: schedule.from_timestamp = datetime.datetime.fromtimestamp schedule.now = datetime.datetime.now Clients that were previously patching ``schedule.DelayedCommand.now`` will need to instead patch the aforementioned module-global methods. The classmethod technique was a poor interface for effectively controlling timezone awareness, so was likely unused. Please file a ticket with the project for support with your client as needed. 12.4.2 ====== * Bump to jaraco.functools 1.5 to throttler failures in Python 2. 12.4 ==== * Moved ``Throttler`` class to `jaraco.functools `_ 1.4. 12.3 ==== * Pull Request #33: Fix apparent escaping issue with IRCv3 tags. 12.2 ==== * Pull Request #32: Add numeric for WHOX reply. * Issue #62 and Pull Request #34: Add support for tags in message processing and ``Event`` class. 12.1.2 ====== * Issue #59: Fixed broken references to irc.client members. * Issue #60: Fix broken initialization of ``irc.server.IRCClient`` on Python 2. 12.1.1 ====== * Issue #57: Better handling of Python 3 in testbot.py script. 12.1 ==== * Remove changelog from package metadata. 12.0 ==== * Remove dependency on jaraco.util. Instead depend on surgical packages. * Deprecated ``irc.logging`` in favor of ``jaraco.logging``. * Dropped support for Python 3.2. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 pkgsrc/net/py-irclib/Makefile cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/py-irclib/PLIST cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/py-irclib/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1714483333291020 Content-Disposition: inline Content-Length: 5603 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/py-irclib/Makefile diff -u pkgsrc/net/py-irclib/Makefile:1.19 pkgsrc/net/py-irclib/Makefile:1.20 --- pkgsrc/net/py-irclib/Makefile:1.19 Tue Jun 6 12:42:07 2023 +++ pkgsrc/net/py-irclib/Makefile Tue Apr 30 13:22:13 2024 @@ -1,26 +1,30 @@ -# $NetBSD: Makefile,v 1.19 2023/06/06 12:42:07 riastradh Exp $ +# $NetBSD: Makefile,v 1.20 2024/04/30 13:22:13 wiz Exp $ -DISTNAME= irc-11.1.1 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/irc/irclib/} -PKGREVISION= 1 -CATEGORIES= net python -MASTER_SITES= ${MASTER_SITE_PYPI:=i/irc/} -EXTRACT_SUFX= .zip -EXTRACT_OPTS_ZIP= -aa -q -o +DISTNAME= irc-20.4.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/irc/irclib/} +CATEGORIES= net python +MASTER_SITES= ${MASTER_SITE_PYPI:=i/irc/} MAINTAINER= imil@NetBSD.org HOMEPAGE= http://python-irclib.sourceforge.net/ COMMENT= Internet Relay Chat (IRC) protocol client library LICENSE= gnu-gpl-v2 -USE_LANGUAGES= # none +TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools +TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=0:../../devel/py-setuptools_scm +TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel +DEPENDS+= ${PYPKGPREFIX}-jaraco.collections>=0:../../devel/py-jaraco.collections +DEPENDS+= ${PYPKGPREFIX}-jaraco.text>=3.10:../../textproc/py-jaraco.text +DEPENDS+= ${PYPKGPREFIX}-jaraco.logging>=0:../../devel/py-jaraco.logging +DEPENDS+= ${PYPKGPREFIX}-jaraco.functools>=1.20:../../devel/py-jaraco.functools +DEPENDS+= ${PYPKGPREFIX}-jaraco.stream>=0:../../devel/py-jaraco.stream +DEPENDS+= ${PYPKGPREFIX}-pytz>=0:../../time/py-pytz +DEPENDS+= ${PYPKGPREFIX}-more-itertools>=0:../../devel/py-more-itertools +DEPENDS+= ${PYPKGPREFIX}-tempora>=1.6:../../time/py-tempora -DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six -DEPENDS+= ${PYPKGPREFIX}-jaraco_util>=10.0.2:../../devel/py-jaraco_util -TOOL_DEPENDS+= ${PYPKGPREFIX}-hgtools>=5:../../devel/py-hgtools +USE_LANGUAGES= # none -post-extract: - cd ${WRKSRC} && ${CHMOD} ${SHAREMODE} irc.egg-info/* +PYTHON_VERSIONS_INCOMPATIBLE= 27 -.include "../../lang/python/egg.mk" +.include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/net/py-irclib/PLIST diff -u pkgsrc/net/py-irclib/PLIST:1.7 pkgsrc/net/py-irclib/PLIST:1.8 --- pkgsrc/net/py-irclib/PLIST:1.7 Tue Jan 4 19:23:01 2022 +++ pkgsrc/net/py-irclib/PLIST Tue Apr 30 13:22:13 2024 @@ -1,21 +1,21 @@ -@comment $NetBSD: PLIST,v 1.7 2022/01/04 19:23:01 wiz Exp $ -${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 +@comment $NetBSD: PLIST,v 1.8 2024/04/30 13:22:13 wiz Exp $ +${PYSITELIB}/${WHEEL_INFODIR}/LICENSE +${PYSITELIB}/${WHEEL_INFODIR}/METADATA +${PYSITELIB}/${WHEEL_INFODIR}/RECORD +${PYSITELIB}/${WHEEL_INFODIR}/WHEEL +${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt ${PYSITELIB}/irc/__init__.py ${PYSITELIB}/irc/__init__.pyc ${PYSITELIB}/irc/__init__.pyo ${PYSITELIB}/irc/bot.py ${PYSITELIB}/irc/bot.pyc ${PYSITELIB}/irc/bot.pyo -${PYSITELIB}/irc/buffer.py -${PYSITELIB}/irc/buffer.pyc -${PYSITELIB}/irc/buffer.pyo ${PYSITELIB}/irc/client.py ${PYSITELIB}/irc/client.pyc ${PYSITELIB}/irc/client.pyo +${PYSITELIB}/irc/client_aio.py +${PYSITELIB}/irc/client_aio.pyc +${PYSITELIB}/irc/client_aio.pyo ${PYSITELIB}/irc/connection.py ${PYSITELIB}/irc/connection.pyc ${PYSITELIB}/irc/connection.pyo @@ -31,18 +31,16 @@ ${PYSITELIB}/irc/events.pyo ${PYSITELIB}/irc/features.py ${PYSITELIB}/irc/features.pyc ${PYSITELIB}/irc/features.pyo -${PYSITELIB}/irc/functools.py -${PYSITELIB}/irc/functools.pyc -${PYSITELIB}/irc/functools.pyo -${PYSITELIB}/irc/logging.py -${PYSITELIB}/irc/logging.pyc -${PYSITELIB}/irc/logging.pyo +${PYSITELIB}/irc/message.py +${PYSITELIB}/irc/message.pyc +${PYSITELIB}/irc/message.pyo ${PYSITELIB}/irc/modes.py ${PYSITELIB}/irc/modes.pyc ${PYSITELIB}/irc/modes.pyo ${PYSITELIB}/irc/rfc.py ${PYSITELIB}/irc/rfc.pyc ${PYSITELIB}/irc/rfc.pyo +${PYSITELIB}/irc/rfc2812.txt ${PYSITELIB}/irc/schedule.py ${PYSITELIB}/irc/schedule.pyc ${PYSITELIB}/irc/schedule.pyo @@ -61,6 +59,6 @@ ${PYSITELIB}/irc/tests/test_bot.pyo ${PYSITELIB}/irc/tests/test_client.py ${PYSITELIB}/irc/tests/test_client.pyc ${PYSITELIB}/irc/tests/test_client.pyo -${PYSITELIB}/irc/tests/test_schedule.py -${PYSITELIB}/irc/tests/test_schedule.pyc -${PYSITELIB}/irc/tests/test_schedule.pyo +${PYSITELIB}/irc/tests/test_client_aio.py +${PYSITELIB}/irc/tests/test_client_aio.pyc +${PYSITELIB}/irc/tests/test_client_aio.pyo Index: pkgsrc/net/py-irclib/distinfo diff -u pkgsrc/net/py-irclib/distinfo:1.10 pkgsrc/net/py-irclib/distinfo:1.11 --- pkgsrc/net/py-irclib/distinfo:1.10 Tue Oct 26 11:06:38 2021 +++ pkgsrc/net/py-irclib/distinfo Tue Apr 30 13:22:13 2024 @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.10 2021/10/26 11:06:38 nia Exp $ +$NetBSD: distinfo,v 1.11 2024/04/30 13:22:13 wiz Exp $ -BLAKE2s (irc-11.1.1.zip) = db6bd1cb6bff1fe0c4ea2e596c9b6470e3bf6ed1e239ea4f75b305d86320318e -SHA512 (irc-11.1.1.zip) = 30804737d9f7d760361c7cb739fb4ff87ceb6404be41d09fff4d9286bad6124f3fbd1568653282f3ee181b62e1083ba6dd68f9a72656307e1cd4f4146fa5878a -Size (irc-11.1.1.zip) = 121371 bytes -SHA1 (patch-setup.py) = beba108237c5fdc0cf72a64cee741d8924a7ee47 +BLAKE2s (irc-20.4.0.tar.gz) = 2508e1e9192a95cbb7343135329c5ed65e533735885ac14fc1b41959b11e5317 +SHA512 (irc-20.4.0.tar.gz) = ff75593cf9606c724232517c8340beb115ceda254acb5989c043bd0653f215b928b663570c98c27b845cc7431ea142514c85968e3e3b9bda0406ce799a2b1d2e +Size (irc-20.4.0.tar.gz) = 91215 bytes --_----------=_1714483333291020--