summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-01-24 15:20:54 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-01-24 15:20:54 +0000
commiteb6729276b8e2cca0dcad68b6332b253dacbc36b (patch)
tree8b5edcc74d2ae057793ae891f86323edf59ab6f8 /net-im/msnlib/msnlib-3.7.ebuild
parentStable on alpha, bug #297839 (diff)
downloadhistorical-eb6729276b8e2cca0dcad68b6332b253dacbc36b.tar.gz
historical-eb6729276b8e2cca0dcad68b6332b253dacbc36b.tar.bz2
historical-eb6729276b8e2cca0dcad68b6332b253dacbc36b.zip
Version bump net-im/msnlib to 3.7 (bug 300876).
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-im/msnlib/msnlib-3.7.ebuild')
-rw-r--r--net-im/msnlib/msnlib-3.7.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-im/msnlib/msnlib-3.7.ebuild b/net-im/msnlib/msnlib-3.7.ebuild
new file mode 100644
index 000000000000..dcbd699eebbc
--- /dev/null
+++ b/net-im/msnlib/msnlib-3.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/msnlib/msnlib-3.7.ebuild,v 1.1 2010/01/24 15:20:54 djc Exp $
+
+EAPI="2"
+inherit python multilib distutils
+
+DESCRIPTION="A Python MSN messenger protocol library and client"
+HOMEPAGE="http://auriga.wearlab.de/~alb/msnlib/"
+SRC_URI="http://auriga.wearlab.de/~alb/msnlib/files/${PV}/${P}.tar.bz2"
+
+LICENSE="OSL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="tk"
+
+DEPEND=">=dev-lang/python-2.2.2[tk?]"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ distutils_src_install
+
+ dodoc doc/* || die "dodoc failed."
+ dobin msn
+ dobin msnsetup
+ use tk && dobin utils/msntk
+
+ insinto /usr/share/doc/${PF}
+ doins msnrc.sample
+}
+
+pkg_postinst() {
+ local module
+ python_version
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/msn{cb,lib}.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}