ChangeLog

# ChangeLog for net-irc/supybot-plugins
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/supybot-plugins/ChangeLog,v 1.2 2008/05/29 17:42:55 hawking Exp $

29 May 2008; Ali Polatel
supybot-plugins-20060723.ebuild:
python_mod_{cleanup,optimize} are ROOT aware. Inherit multilib.

*supybot-plugins-20060723 (26 Sep 2007)

26 Sep 2007; Jim Ramsay +metadata.xml,
+supybot-plugins-20060723.ebuild:
Adding new ebuild. This is the officially released set of extra plugins for
Supybot.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DIST Supybot-plugins-20060723.tar.bz2 197391 RMD160 7e098cba23d366b79e5f75087250c70ca81436a0 SHA1 086dcefe3d814ec63788d08e93f2b9610ed24b11 SHA256 e933d844b226f172329b9e9d5fc5f40ac357934b7819f6aca44261417e1d896d
EBUILD supybot-plugins-20060723.ebuild 1002 RMD160 0c2e4f799bc7b5635c5926352750582036cc2339 SHA1 eaed133a5e90eb3aad7a6b3103a84cbab50db292 SHA256 97e7c6f30d947cf2f4e7569ed87e7ac7d4dfe4b6c863da9c1eaac6fb63e6f0a7
MISC ChangeLog 596 RMD160 36bdcd218828543e7e82e63f5620f5495944aef0 SHA1 322be028498b2e645df03454f69b592f50d246f7 SHA256 1d8f88df3fdce1132f53bd1ae28be6405ce7a74762d636ff672703b7ae87f9ae
MISC metadata.xml 248 RMD160 bc367c67ea92b8e5c174dcd39ed323620624f838 SHA1 5c491e191d85dfb7307a69dd91841d2239ee0427 SHA256 5abc3333184d546c8347da9a2e03bcea30177f0831d6347f378df0439c311fec
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkg+6ycACgkQQU4yORhF8iCKDgCgnuRCU0Nro1yAtWUT7Xnlnbij
GBkAn1AAT+pVAgo2PgFKy8au46BHdEU3
=6vdy
-----END PGP SIGNATURE-----

metadata.xml





lack@gentoo.org
Jim Ramsay

python

supybot-plugins-20060723.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/supybot-plugins/supybot-plugins-20060723.ebuild,v 1.3 2008/05/29 17:42:55 hawking Exp $

inherit python multilib

MY_PNAME="Supybot-plugins"
MY_P="${MY_PNAME}-${PV}"

DESCRIPTION="Official set of extra plugins for Supybot"
HOMEPAGE="http://supybot.com"
SRC_URI="mirror://sourceforge/supybot/${MY_P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND="net-irc/supybot"

src_install() {
cd "${WORKDIR}"/${MY_P}
python_version
PLUGIN_BASE="/usr/$(get_libdir)/python${PYVER}/site-packages/supybot/plugins"
for plugin in *; do
insinto ${PLUGIN_BASE}/${plugin}
doins $plugin/* || die "Install failed"
done
}

pkg_postinst() {
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/supybot/plugins
}

pkg_postrm() {
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/supybot/plugins
}