Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 21:25:37 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174342: [NEW PORT] irc/shirk: Modular IRC bot based on the Twisted framework
Message-ID:  <20121210202541.0DB43E5A@hub.freebsd.org>
Resent-Message-ID: <201212102030.qBAKU0QG001079@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174342
>Category:       ports
>Synopsis:       [NEW PORT] irc/shirk: Modular IRC bot based on the Twisted framework
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 10 20:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
Shirk is a modular IRC bot based on the Twisted framework. It is designed
to be easy to write modules for so you can focus on the things you actually
want to do. After all, if you wanted to mess with IRC internals you wouldn't
be using someone else's bot.

WWW: https://github.com/frank001/shirk/tree/wigglytuff

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	shirk
#	shirk/Makefile
#	shirk/pkg-descr
#	shirk/files
#	shirk/files/pkg-message.in
#	shirk/files/shirk.in
#	shirk/distinfo
#	shirk/pkg-plist
#
echo c - shirk
mkdir -p shirk > /dev/null 2>&1
echo x - shirk/Makefile
sed 's/^X//' >shirk/Makefile << '90cc93ca8421e2feda7ce10c717142cb'
X# Created by:	nemysis@gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME=	shirk
XPORTVERSION=	0.5
XCATEGORIES=	irc
XMASTER_SITES=	GITHUB
XDIST_SUBDIR=	python
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	Modular IRC bot based on the Twisted framework
X
XLICENSE=	MIT
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	frank001
XGH_PROJECT=	${PORTNAME}
XGH_TAGNAME=	master
XGH_COMMIT=	4452e8c
X
XUSE_PYTHON=	yes
XUSE_TWISTED=	framework words
X
XPORTDOCS=	README.md
X
XSUB_FILES=	${PORTNAME} \
X		pkg-message
X
X.include <bsd.port.options.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} \
X	-e 's|python2.7|${PYTHON_CMD}|' \
X		${WRKSRC}/shirk.py
X	@${FIND} ${WRKSRC} -name "*.bak" -delete
X
Xdo-build:
X	@${PYTHON_CMD} -m compileall ${WRKSRC}
X	@${PYTHON_CMD} -O -m compileall ${WRKSRC}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X.for d in *.py *.pyc
X	@(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${d} ${DATADIR})
X.endfor
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "plugconf plugs" ${DATADIR})
X	@cd ${WRKSRC} && ${CP} -a conf-example.json conf.json
X	${INSTALL_DATA} ${WRKSRC}/*.json ${DATADIR}
X	@${CHMOD} 774 ${DATADIR}
X	@${CHMOD} 644 ${DATADIR}/conf.json
X
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X	@${ECHO_CMD}
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO_CMD}
X
X.include <bsd.port.mk>
90cc93ca8421e2feda7ce10c717142cb
echo x - shirk/pkg-descr
sed 's/^X//' >shirk/pkg-descr << 'de8d117c81325bd91637ac82b3456f13'
XShirk is a modular IRC bot based on the Twisted framework. It is designed
Xto be easy to write modules for so you can focus on the things you actually
Xwant to do. After all, if you wanted to mess with IRC internals you wouldn't
Xbe using someone else's bot.
X
XWWW: https://github.com/frank001/shirk/tree/wigglytuff
de8d117c81325bd91637ac82b3456f13
echo c - shirk/files
mkdir -p shirk/files > /dev/null 2>&1
echo x - shirk/files/pkg-message.in
sed 's/^X//' >shirk/files/pkg-message.in << '67715b0ee1fc26816ce521cc265a8f3c'
X===============================================================================
X
XShirk has been installed.
X
XAll options are given only in the config file.
X
XPlease adjust it for your needs
X
X     %%DATADIR%%/conf.json
X
X===============================================================================
67715b0ee1fc26816ce521cc265a8f3c
echo x - shirk/files/shirk.in
sed 's/^X//' >shirk/files/shirk.in << '576472a22937f7da0022a8d10e322341'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
Xcd "%%DATADIR%%"
Xexec /usr/bin/env python ./shirk.py "${@}"
576472a22937f7da0022a8d10e322341
echo x - shirk/distinfo
sed 's/^X//' >shirk/distinfo << '207c934ba8a72c91cacd7d5a03e6faf0'
XSHA256 (python/shirk-0.5.tar.gz) = 2aa76a47420665d9294c23fc16665a3d75cc76952c33c090f87ef2f2a55464e0
XSIZE (python/shirk-0.5.tar.gz) = 11222
207c934ba8a72c91cacd7d5a03e6faf0
echo x - shirk/pkg-plist
sed 's/^X//' >shirk/pkg-plist << '04b1c0cc7e68e76f05b0cb71b435266f'
Xbin/shirk
X%%DATADIR%%/conf-example.json
X%%DATADIR%%/conf.json
X%%DATADIR%%/plugconf/README
X%%DATADIR%%/plugs/Auth/Auth-example.json
X%%DATADIR%%/plugs/Auth/__init__.py
X%%DATADIR%%/plugs/Auth/__init__.pyc
X%%DATADIR%%/plugs/Auth/__init__.pyo
X%%DATADIR%%/plugs/Auth/auth.py
X%%DATADIR%%/plugs/Auth/auth.pyc
X%%DATADIR%%/plugs/Auth/auth.pyo
X%%DATADIR%%/plugs/Core/__init__.py
X%%DATADIR%%/plugs/Core/__init__.pyc
X%%DATADIR%%/plugs/Core/__init__.pyo
X%%DATADIR%%/plugs/Core/core.py
X%%DATADIR%%/plugs/Core/core.pyc
X%%DATADIR%%/plugs/Core/core.pyo
X%%DATADIR%%/plugs/__init__.py
X%%DATADIR%%/plugs/__init__.pyc
X%%DATADIR%%/plugs/__init__.pyo
X%%DATADIR%%/plugs/plugbase.py
X%%DATADIR%%/plugs/plugbase.pyc
X%%DATADIR%%/plugs/plugbase.pyo
X%%DATADIR%%/shirk.py
X%%DATADIR%%/shirk.pyc
X%%DATADIR%%/users.py
X%%DATADIR%%/users.pyc
X%%DATADIR%%/util.py
X%%DATADIR%%/util.pyc
X@dirrm %%DATADIR%%/plugs/Core
X@dirrm %%DATADIR%%/plugs/Auth
X@dirrm %%DATADIR%%/plugs
X@dirrm %%DATADIR%%/plugconf
X@dirrm %%DATADIR%%
04b1c0cc7e68e76f05b0cb71b435266f
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121210202541.0DB43E5A>