pkgsrc/net/py-irclib/Makefile

35 lines
883 B
Makefile
Raw Normal View History

2016-06-08 19:43:20 +02:00
# $NetBSD: Makefile,v 1.13 2016/06/08 17:43:36 wiz Exp $
#
PYIRCVERS= 11.1.1
DISTNAME= irc-${PYIRCVERS}
PKGNAME= ${PYPKGPREFIX}-irclib-${PYIRCVERS}
CATEGORIES= net python
2016-06-08 19:43:20 +02:00
MASTER_SITES= ${MASTER_SITE_PYPI:=i/irc/}
EXTRACT_SUFX= .zip
2015-03-26 16:57:12 +01:00
EXTRACT_OPTS_ZIP=-aa -q -o
MAINTAINER= imil@NetBSD.org
Updated to py-irclib 12.0 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. 11.1.1 Issue #55: Correct import error on Python 2.7. 11.1 Decoding errors now log a warning giving a reference to the Decoding Input section of the readme. 11.0 Renamed irc.client.Manifold to irc.client.Reactor. Reactor better reflects the implementation as a reactor pattern <. This name makes it’s 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. 10.1 Added ServerConnection.as_nick, a context manager to set a nick for the duration of the context. 10.0 Dropped support for Python 2.6. Dropped irc.client.LineBuffer and irc.client.DecodingBuffer (available in irc.client.buffer). 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 version. Removed unused irc.client.mask_matches function. Removed unused irc.client.nick_characters. Added extra numerics for ‘whoisaccount’ and ‘cannotknock’. 9.0 Issue #46: The whois command now accepts a single string or iterable for the target. NickMask now returns None when user, host, or userhost are not present. Previously, an IndexError was raised. See Pull Request #26 for details.
2015-03-02 10:44:05 +01:00
HOMEPAGE= http://python-irclib.sourceforge.net/
COMMENT= Internet Relay Chat (IRC) protocol client library
LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-jaraco_util>=10.0.2:../../devel/py-jaraco_util
BUILD_DEPENDS+= ${PYPKGPREFIX}-hgtools>=5:../../devel/py-hgtools
.include "../../lang/python/distutils.mk"
PLIST_VARS+= requires
.if ${PYVERSSUFFIX} == "2.5" || ${PYVERSSUFFIX} == "2.6"
PLIST.requires= yes
.endif
post-extract:
cd ${WRKSRC} && ${CHMOD} ${SHAREMODE} irc.egg-info/*
.include "../../mk/bsd.pkg.mk"