ChangeLog

# ChangeLog for net-im/pyaim-t
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-im/pyaim-t/ChangeLog,v 1.4 2008/05/29 17:38:14 hawking Exp $

29 May 2008; Ali Polatel pyaim-t-0.8a.ebuild:
python_mod_{cleanup,optimize} are ROOT aware.

17 Mar 2008; Hanno Boeck pyaim-t-0.8a.ebuild:
Add ~amd64 keyword,.

21 Jan 2008; Maurice van der Pot
pyaim-t-0.8a.ebuild:
Adapted the ebuild to the new home of pyaim-t on google code. Thanks to
Michael Perigard in bug #206823 for the heads-up.

*pyaim-t-0.8a (04 Jun 2007)

04 Jun 2007; Maurice van der Pot
+files/pyaim-t-0.8-initd, +files/pyaim-t-0.8-twisted-2.5.patch,
+metadata.xml, +pyaim-t-0.8a.ebuild:
Initial import of pyaim-t into portage as requested by Chris Carlin
(closes bug #123160).

Manifest

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

AUX pyaim-t-0.8-initd 680 RMD160 0552cbe45e11d0f3d348475a41dd02bd245737b7 SHA1 c19759a00fabcc773d538c72d7236f920f28af44 SHA256 e9a1a81dc1c0d1ddd4e42be46925e3b1f6eb79592abd37b4041281432ce929d6
AUX pyaim-t-0.8-twisted-2.5.patch 842 RMD160 23b346c4ae86c8964d4dadf0e3164a48e534e580 SHA1 8e17c0ea5222c62add7b52e399eca8469de8e691 SHA256 a60ccb8af20b8144f6c4540a2567ccec9cc326cddef67ac22b3776a5dbac6dad
DIST pyaim-t-0.8a.tar.gz 165035 RMD160 ddc6485dc481cd97f1db3ceaa485387ba4669e56 SHA1 ef98a3a161e151706ad80481aefc3c14eb01c9f8 SHA256 93508f5f3b0fce5bca040fd2c393cac7bcb9dffeffa2ade7683a48e314fdf12f
EBUILD pyaim-t-0.8a.ebuild 1801 RMD160 81fcfdaa0a61a043144f83794624af8074024ade SHA1 2b06b1a45ed48d145123b1d6144fbc9b369fcdaf SHA256 fb63b267b6b91deeb1d019edc6373f9a24a9e22bf5108b2e32bbfa23cc5a5d48
MISC ChangeLog 948 RMD160 45966f6d88e2090c26303521a03091504355a89f SHA1 68704ad720bc8aba9f7c94802c10de4a1d3de001 SHA256 0bab6e11af246def61482c160ced5b206f27768cac0d9506e9a0480fa739a340
MISC metadata.xml 467 RMD160 b122636d21a6a1cda9942fdb2a0a85934d3b65f0 SHA1 70b73a7d65fc398fedcc1d4903d917fcafb93d52 SHA256 bc8f5ebc7e937c76f9c64d1f7c7234fdc8335f8aa67ceb301fd0c226b24f132f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkg+6ggACgkQQU4yORhF8iCifgCgg3FemA6phTfYS73Yr/mawXQ4
bZIAniuAnI3gdJCDJd44LunBVJBNKI82
=J+yr
-----END PGP SIGNATURE-----

files

metadata.xml




net-im

carlin@jlab.org
Chris Carlin
Proxy maintainer


griffon26@gentoo.org
Maurice van der Pot

Python based jabber transport for AIM

pyaim-t-0.8a.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/pyaim-t/pyaim-t-0.8a.ebuild,v 1.4 2008/05/29 17:38:14 hawking Exp $

NEED_PYTHON=2.3

inherit eutils multilib python

DESCRIPTION="Python based jabber transport for AIM"
HOMEPAGE="http://code.google.com/p/pyaimt/"
SRC_URI="http://pyaimt.googlecode.com/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="webinterface"

DEPEND="net-im/jabber-base"
RDEPEND="${DEPEND}
>=dev-python/twisted-2.2.0
>=dev-python/twisted-words-0.1.0
>=dev-python/twisted-web-0.5.0
webinterface? ( >=dev-python/nevow-0.4.1 )
>=dev-python/imaging-1.1"

src_unpack() {
unpack ${A} && cd "${S}" || die "unpack failed"

epatch "${FILESDIR}/${PN}-0.8-twisted-2.5.patch"
}

src_install() {
local inspath

python_version
inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
insinto ${inspath}
doins -r data src tools
newins PyAIMt.py ${PN}.py

insinto /etc/jabber
newins config_example.xml ${PN}.xml
fperms 600 /etc/jabber/${PN}.xml
fowners jabber:jabber /etc/jabber/${PN}.xml
dosed \
"s:[^\<]*:/var/spool/jabber:" \
/etc/jabber/${PN}.xml
dosed \
"s:[^\<]*:/var/run/jabber/${PN}.pid:" \
/etc/jabber/${PN}.xml

newinitd "${FILESDIR}/${PN}-0.8-initd" ${PN}
dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
}

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

elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
elog "Please edit it and the configuration of your Jabber server to match."
}

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