The NetBSD Project

CVS log for pkgsrc/net/py-irclib/Makefile

[BACK] Up to [] / pkgsrc / net / py-irclib

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 6 12:42:07 2023 UTC (5 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, HEAD
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 4 19:23:01 2022 UTC (22 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.17: +5 -6 lines
Diff to previous 1.17 (colored)

py-irclib: convert to


Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 24 01:17:24 2021 UTC (2 years, 9 months ago) by gutteridge
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.16: +2 -9 lines
Diff to previous 1.16 (colored)

py-irclib: remove handling for now unsupported Python versions

Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 20 11:58:10 2020 UTC (3 years, 8 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

*: Convert broken sourceforge HOMEPAGEs back to http

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jan 18 23:33:20 2020 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as, CTAN and GNU.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 3 11:45:50 2019 UTC (4 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.13: +8 -8 lines
Diff to previous 1.13 (colored)

net: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 8 17:43:36 2016 UTC (7 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)


Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 26 15:57:12 2015 UTC (8 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Extract everything as text.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 2 15:54:17 2015 UTC (8 years, 9 months ago) by imil
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

Downgraded to version 11.1.1, dependency removal on jaraco.util introduced
20 dependencies that are not documented, plus a bug on egg info file generation.

These chances are reverted back:

    Remove dependency on jaraco.util. Instead depend on surgical packages.
    Deprecated irc.logging in favor of jaraco.logging.
    Dropped support for Python 3.2.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 2 09:44:05 2015 UTC (8 years, 9 months ago) by imil
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Updated to py-irclib 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.


    Issue #55: Correct import error on Python 2.7.


    Decoding errors now log a warning giving a reference to the Decoding Input
section of the readme.


    Renamed irc.client.Manifold to irc.client.Reactor. Reactor better reflects
the implementation as a reactor pattern <. This name makes it function much
more clear and inline with standard terminology.
    Removed deprecated manifold and irclibobj properties from Connection. Use
reactor instead.
    Removed deprecated ircobj from SimpleIRCClient. Use reactor instead.


    Added ServerConnection.as_nick, a context manager to set a nick for the
duration of the context.


    Dropped support for Python 2.6.
    Dropped irc.client.LineBuffer and irc.client.DecodingBuffer (available in
    Renamed irc.client.IRC to irc.client.Manifold to provide a clearer name for
that object. Clients supporting 8.6 and later can use the Manifold name. Latest
clients must use the Manifold name.
    Renamed irc.client.Connection.irclibobj property to manifold. The property
is still exposed as irclibobj for compatibility but will be removed in a future
    Removed unused irc.client.mask_matches function.
    Removed unused irc.client.nick_characters.
    Added extra numerics for hoisaccountand annotknock


    Issue #46: The whois command now accepts a single string or iterable for the
    NickMask now returns None when user, host, or userhost are not present.
Previously, an IndexError was raised. See Pull Request #26 for details.

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 9 21:37:03 2014 UTC (9 years, 6 months ago) by imil
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Updated to version 8.9

    Documentation is now published at

    Issue #35: Removed the mutex during process_once.
    Issue #37: Deprecated buffer.LineBuffer for Python 3.

    Issue #34: Introduced buffer.LenientDecodingLineBuffer for handling input
    in a more lenient way, preferring UTF-8 but falling back to latin-1 if the
    content cannot be decoded as UTF-8.

    Introduced 'Manifold' as an alias for irc.client.IRC. This better name will
    replace the IRC name in a future version.
    Introduced the 'manifold' property of SimpleIRCClient as an alias for
    Added 'manifold_class' property to the client.SimpleIRCClient to allow
    consumers to provide a customized Manifold.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 20 12:44:01 2014 UTC (9 years, 7 months ago) by imil
Branch: MAIN
Changes since 1.7: +5 -9 lines
Diff to previous 1.7 (colored)

* Removed buildlink on py-hgtools
* Added BUILD_DEPENDS on hgtools
* Replaced with thus simplified the Makefile

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 20 10:32:41 2014 UTC (9 years, 7 months ago) by imil
Branch: MAIN
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)

Removed useless devel/py-setuptools dependency.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 20 08:21:56 2014 UTC (9 years, 7 months ago) by imil
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Added devel/py-setuptools as a dependency

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 8 16:52:50 2014 UTC (9 years, 7 months ago) by imil
Branch: MAIN
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

Forgot a new dependency for py-irclib (lang/py-six)

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 8 16:40:35 2014 UTC (9 years, 7 months ago) by imil
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Updated irclib to version 8.5.4


    Issue #32: Add logging around large DCC messages to facilitate
    Issue #31: Fix error in connection wrapper for SSL example.


    Issue #28: Fix TypeError in version calculation in CTCP version.


    Updated DCC send and receive scripts (Issue #27).


    Fix timestamp support in schedule.DelayedCommand construction.


    irc.client.NickMask is now a Unicode object on Python 2. Fixes issue
    reported in pull request #19.
    Issue #24: Added DCCConnection.send_bytes for transmitting binary data.
    privmsg remains to support transmitting text.


    Code base now runs natively on Python 2 and Python 3, but requires six to
    be installed.
    Issue #25: Rate-limiting has been updated to be finer grained (preventing
    bursts exceeding the limit following idle periods).


    Issue #22: Catch error in on NAMREPLY when nick is not in any visible


    Fixed encoding errors in server on Python 3.


    Added a set_keepalive method to the ServerConnection. Sends a periodic PING
    message every indicated interval.


    Added support for throttling send_raw messages via the ServerConnection
    object. For example, on any connection object:


    That would set the rate limit to 30 Hz (30 per second). Thanks to Jason Kendall for the suggestion and bug fixes.


    Fix typo in client.NickMask.


    Fix typo in


    Issue #15: Added client support for ISUPPORT directives on server connections. Now, each ServerConnection has a features attribute which reflects the features supported by the server. See the docs for irc.features for details about the implementation.


    Issue #14: Fix errors when handlers of the same priority are added under Python 3. This also fixes the unintended behavior of allowing handlers of the same priority to compare as unequal.


This release brings several backward-incompatible changes to the scheduled commands.

    Refactored implementation of schedule classes. No longer do they override the datetime constructor, but now only provide suitable classmethods for construction in various forms.
    Removed backward-compatible references from irc.client.
    Remove 'arguments' parameter from scheduled commands.

Clients that reference the schedule classes from irc.client or that construct them from the basic constructor will need to update to use the new class methods:

- DelayedCommand -> DelayedCommand.after
- PeriodicCommand -> PeriodicCommand.after

Arguments may no longer be passed to the 'function' callback, but one is encouraged instead to use functools.partial to attach parameters to the callback. For example:

DelayedCommand.after(3, func, ('a', 10))


func = functools.partial(func, 'a', 10)
DelayedCommand.after(3, func)

This mode puts less constraints on the both the handler and the caller. For example, a caller can now pass keyword arguments instead:

func = functools.partial(func, name='a', quantity=10)
DelayedCommand.after(3, func)

Readability, maintainability, and usability go up.

    Issue #13: TypeError on Python 3 when constructing PeriodicCommand (and thus execute_every).


    Fixed regression created in 7.0 where PeriodicCommandFixedDelay would only cause the first command to be scheduled, but not subsequent ones.


    Moved scheduled command classes to irc.schedule module. Kept references for backwards-compatibility.


    PeriodicCommand now raises a ValueError if it's created with a negative or zero delay (meaning all subsequent commands are immediately due). This fixes #12.

    Renamed the parameters to the IRC object. If you use a custom event loop and your code constructs the IRC object with keyword parameters, you will need to update your code to use the new names, so:

    IRC(fn_to_add_socket=adder, fn_to_remove_socket=remover, fn_to_add_timeout=timeout)


    IRC(on_connect=adder, on_disconnect=remover, on_schedule=timeout)

    If you don't use a custom event loop or you pass the parameters positionally, no change is necessary.


    Fixed some unhandled exceptions in server client connections when the client would disconnect in response to messages sent after select was called.


    Moved LineBuffer and DecodingLineBuffer from client to buffer module. Backward-compatible references have been kept for now.
    Removed daemon mode and log-to-file options for server.
    Miscellaneous bugfixes in server.


    Fix error in 2to3 conversion on irc/ (issue #11).


The IRC library is now licensed under the MIT license.

    Added irc/, based on hircd by Ferry Boender.
    Added support for CAP command (pull request #10), thanks to Danneh Oaks.


Another backward-incompatible change. In irc 5.0, many of the unnecessary getter functions have been removed and replaced with simple attributes. This change addresses issue #2. In particular:

        Connection._get_socket() -> Connection.socket (including subclasses)
        Event.eventtype() -> Event.type
        Event.source() -> Event.source ->
        Event.arguments() -> Event.arguments

The nm_to_* functions were removed. Instead, use the NickMask class attributes.

These deprecated function aliases were removed from irc.client:

- parse_nick_modes -> modes.parse_nick_modes
- parse_channel_modes -> modes.parse_channel_modes
- generated_events -> events.generated
- protocol_events -> events.protocol
- numeric_events -> events.numeric
- all_events -> events.all
- irc_lower -> strings.lower

Also, the parameter name when constructing an event was renamed from eventtype to simply type.

    Removed deprecated arguments to ServerConnection.connect. See notes on the 3.3 release on how to use the connect_factory parameter if your application requires ssl, ipv6, or other connection customization.


    Filter out disconnected sockets when processing input.


    Created two new exceptions in irc.client: MessageTooLong and InvalidCharacters.
    Use explicit exceptions instead of ValueError when sending data.


    SingleServerIRCBot now accepts keyword arguments which are passed through to the ServerConnection.connect method. One can use this to use SSL for connections:

    factory = irc.connection.Factory(wrapper=ssl.wrap_socket)
    bot =, connect_factory = factory)

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 22 13:34:49 2012 UTC (10 years, 11 months ago) by imil
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.2: +13 -2 lines
Diff to previous 1.2 (colored)

Fixed install for python 2.7, seems buggy and does  not create
requires.txt when version is > 2.6. There's room for improvement, that's
a quick fix.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Nov 18 02:25:37 2012 UTC (11 years ago) by asau
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Nov 3 14:18:06 2012 UTC (11 years, 1 month ago) by imil
Branch: MAIN

Initial import of py-irclib, version 3.4.2, into the NetBSD Packages Collection.

This library is intended to encapsulate the IRC protocol at a quite low level.
It provides an event-driven IRC client framework. It has a fairly thorough
support for the basic IRC protocol, CTCP and DCC connections.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>