New ebuild, bug 153543
authorRaúl Porcel <armin76@gentoo.org>
Fri, 16 Mar 2007 16:38:38 +0000 (16:38 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Fri, 16 Mar 2007 16:38:38 +0000 (16:38 +0000)
Package-Manager: portage-2.1.2.2

net-p2p/deluge/ChangeLog [new file with mode: 0644]
net-p2p/deluge/Manifest [new file with mode: 0644]
net-p2p/deluge/deluge-0.5.0_rc2.ebuild [new file with mode: 0644]
net-p2p/deluge/files/digest-deluge-0.5.0_rc2 [new file with mode: 0644]
net-p2p/deluge/metadata.xml [new file with mode: 0644]

diff --git a/net-p2p/deluge/ChangeLog b/net-p2p/deluge/ChangeLog
new file mode 100644 (file)
index 0000000..3564dfd
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for net-p2p/deluge
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.1 2007/03/16 16:38:38 armin76 Exp $
+
+*deluge-0.5.0_rc2 (16 Mar 2007)
+
+  16 Mar 2007; Raúl Porcel <armin76@gentoo.org> +metadata.xml,
+  +deluge-0.5.0_rc2.ebuild:
+  New ebuild, bug 153543
+
diff --git a/net-p2p/deluge/Manifest b/net-p2p/deluge/Manifest
new file mode 100644 (file)
index 0000000..377a278
--- /dev/null
@@ -0,0 +1,16 @@
+DIST deluge-0.4.99.2.tar.gz 513257 RMD160 2a8337e68eecfd24367a438fabd02b1dceecd24e SHA1 6e12d18cd1b41bd7b472ad19f373e33e7df7c188 SHA256 58ed4a12f5eb2e2e628c45e77ecd26e321e5ffdda49a6d229645008598943f63
+EBUILD deluge-0.5.0_rc2.ebuild 1357 RMD160 102cbf20c437bfcaf85429afdae4c1559ba271bc SHA1 dad5a94767a3d71b82042ff1e4441af18dcd0ea6 SHA256 ad775fed16a21170a7bde90e16f1a069e7a72191b3eb5cfaae0b37743ed8018a
+MD5 8721ef24d3a99964eb16ff1ffb04c2b2 deluge-0.5.0_rc2.ebuild 1357
+RMD160 102cbf20c437bfcaf85429afdae4c1559ba271bc deluge-0.5.0_rc2.ebuild 1357
+SHA256 ad775fed16a21170a7bde90e16f1a069e7a72191b3eb5cfaae0b37743ed8018a deluge-0.5.0_rc2.ebuild 1357
+MISC ChangeLog 353 RMD160 32c180b7f55a61520b16ab34f77ea52cb8cc6e2c SHA1 25812ceb0b628395747c9eef1e695a3f2d58068f SHA256 836c8bd16896c3369e3bf19c3eea5e869338546b47de57e47f46d64aae1dcdeb
+MD5 79527ac6cca53c4775f170673f48683f ChangeLog 353
+RMD160 32c180b7f55a61520b16ab34f77ea52cb8cc6e2c ChangeLog 353
+SHA256 836c8bd16896c3369e3bf19c3eea5e869338546b47de57e47f46d64aae1dcdeb ChangeLog 353
+MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
+SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160
+MD5 9afbfda7cd17e518d27fe69900937638 files/digest-deluge-0.5.0_rc2 247
+RMD160 47315e8aca06db056e326a95004db0c637733396 files/digest-deluge-0.5.0_rc2 247
+SHA256 5c8addd53dcf5a241529e2d44ef286505c901a925c18043ca7c03b8411b9a7b2 files/digest-deluge-0.5.0_rc2 247
diff --git a/net-p2p/deluge/deluge-0.5.0_rc2.ebuild b/net-p2p/deluge/deluge-0.5.0_rc2.ebuild
new file mode 100644 (file)
index 0000000..8be4004
--- /dev/null
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-0.5.0_rc2.ebuild,v 1.1 2007/03/16 16:38:38 armin76 Exp $
+
+inherit eutils distutils
+
+MY_P="${PN}-0.4.99.2"
+
+DESCRIPTION="BitTorrent client in Python and PyGTK."
+HOMEPAGE="http://deluge-torrent.org/"
+SRC_URI="http://deluge-torrent.org/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+DEPEND=">=dev-lang/python-2.3
+       dev-libs/boost"
+RDEPEND="${DEPEND}
+       >=dev-python/pygtk-2
+       dev-python/pyxdg
+       dev-python/dbus-python
+       libnotify? ( dev-python/notify-python )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+       if ! built_with_use "dev-libs/boost" threads; then
+               eerror "dev-libs/boost has to be built with threads USE-flag."
+               die "Missing threads USE-flag for dev-libs/boost"
+       fi
+}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # use the threaded libs
+       sed -i -e "s:\('boost_[^']*\):\1-mt:g" setup.py \
+               || die "sed failed"
+
+       # http://deluge-torrent.org/ticket/173
+       sed -i -e "s~INSTALL_PREFIX = '@datadir@'~INSTALL_PREFIX = '/usr'~g" \
+               src/dcommon.py || die "sed failed"
+}
+
+pkg_postinst() {
+       elog
+       elog "Please note that Deluge is still in it's early stages"
+       elog "of development. Use it carefully and feel free to submit bugs"
+       elog "in upstream page."
+       elog
+}
diff --git a/net-p2p/deluge/files/digest-deluge-0.5.0_rc2 b/net-p2p/deluge/files/digest-deluge-0.5.0_rc2
new file mode 100644 (file)
index 0000000..1db31fc
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e4f9b3a39dfecf793dfcd62f2ccb1286 deluge-0.4.99.2.tar.gz 513257
+RMD160 2a8337e68eecfd24367a438fabd02b1dceecd24e deluge-0.4.99.2.tar.gz 513257
+SHA256 58ed4a12f5eb2e2e628c45e77ecd26e321e5ffdda49a6d229645008598943f63 deluge-0.4.99.2.tar.gz 513257
diff --git a/net-p2p/deluge/metadata.xml b/net-p2p/deluge/metadata.xml
new file mode 100644 (file)
index 0000000..aa0f366
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-p2p</herd>
+</pkgmetadata>