diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-07-15 10:10:06 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-07-15 10:10:06 +0000 |
commit | b142127269c8351a98f529d8c3cf4185eac7e911 (patch) | |
tree | c5a65accf469191334df0503a914bcd0bd62346c /net-p2p | |
parent | version bump (diff) | |
download | gentoo-2-b142127269c8351a98f529d8c3cf4185eac7e911.tar.gz gentoo-2-b142127269c8351a98f529d8c3cf4185eac7e911.tar.bz2 gentoo-2-b142127269c8351a98f529d8c3cf4185eac7e911.zip |
Version bump
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 i686)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/deluge/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/deluge/deluge-1.0.0_rc1.ebuild | 73 | ||||
-rw-r--r-- | net-p2p/deluge/deluge-9999.ebuild (renamed from net-p2p/deluge/deluge-0.9_pre9999.ebuild) | 2 | ||||
-rw-r--r-- | net-p2p/deluge/files/setup.patch | 40 |
4 files changed, 121 insertions, 2 deletions
diff --git a/net-p2p/deluge/ChangeLog b/net-p2p/deluge/ChangeLog index e5c970f47e2d..ebc60b785928 100644 --- a/net-p2p/deluge/ChangeLog +++ b/net-p2p/deluge/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/deluge # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.79 2008/07/13 18:12:09 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.80 2008/07/15 10:10:05 armin76 Exp $ + +*deluge-1.0.0_rc1 (15 Jul 2008) + + 15 Jul 2008; Raúl Porcel <armin76@gentoo.org> +files/setup.patch, + -deluge-0.9_pre9999.ebuild, +deluge-1.0.0_rc1.ebuild, +deluge-9999.ebuild: + Version bump *deluge-0.9_pre9999 (13 Jul 2008) diff --git a/net-p2p/deluge/deluge-1.0.0_rc1.ebuild b/net-p2p/deluge/deluge-1.0.0_rc1.ebuild new file mode 100644 index 000000000000..f2e5843bd746 --- /dev/null +++ b/net-p2p/deluge/deluge-1.0.0_rc1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-1.0.0_rc1.ebuild,v 1.1 2008/07/15 10:10:05 armin76 Exp $ + +inherit eutils distutils flag-o-matic + +MY_PV="0.9.01" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="BitTorrent client with a client/server model." +HOMEPAGE="http://deluge-torrent.org/" +SRC_URI="http://download.deluge-torrent.org/source/${MY_PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="gtk" + +S="${WORKDIR}"/${MY_P/deluge/deluge-torrent} + +DEPEND=">=dev-lang/python-2.3 + dev-libs/boost" +RDEPEND="${DEPEND} + dev-python/pyxdg + dev-python/setuptools + gtk? ( + >=dev-python/pygtk-2 + dev-python/pyxdg + dev-python/dbus-python + gnome-base/librsvg + )" + +pkg_setup() { + if ! built_with_use --missing true "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 + + filter-ldflags -Wl,--as-needed +} + +src_unpack() { + distutils_src_unpack + + cd "${S}" + + epatch "${FILESDIR}"/setup.patch +} + +src_install() { + distutils_src_install + newinitd "${FILESDIR}"/deluged.init deluged + newconfd "${FILESDIR}"/deluged.conf deluged +} + +pkg_postinst() { + elog + elog "If after upgrading it doesn't work, please remove the" + elog "'~/.config/deluge' directory and try again, but make a backup" + elog "first!" + elog + einfo "Please note that Deluge is still in it's early stages" + einfo "of development. Use it carefully and feel free to submit bugs" + einfo "in upstream page." + elog + elog "To start the daemon either run 'deluged' as user" + elog "or modify /etc/conf.d/deluged and run" + elog "/etc/init.d/deluged start as root" + elog "You can still use deluge the old way" + elog + elog "For more information look at http://dev.deluge-torrent.org/wiki/Faq" + elog +} diff --git a/net-p2p/deluge/deluge-0.9_pre9999.ebuild b/net-p2p/deluge/deluge-9999.ebuild index 136e059bd4a4..b8fc8eed4fd1 100644 --- a/net-p2p/deluge/deluge-0.9_pre9999.ebuild +++ b/net-p2p/deluge/deluge-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-0.9_pre9999.ebuild,v 1.1 2008/07/13 18:12:09 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-9999.ebuild,v 1.13 2008/07/15 10:10:05 armin76 Exp $ inherit eutils distutils subversion flag-o-matic diff --git a/net-p2p/deluge/files/setup.patch b/net-p2p/deluge/files/setup.patch new file mode 100644 index 000000000000..bc4045b22d3c --- /dev/null +++ b/net-p2p/deluge/files/setup.patch @@ -0,0 +1,40 @@ +--- setup.py.orig 2008-07-14 22:36:14.000000000 +0200 ++++ setup.py 2008-07-14 22:36:48.000000000 +0200 +@@ -53,26 +53,6 @@ + + # Try to get SVN revision number to append to version + revision_string = "" +-try: +- stdout = os.popen("svn info") +- for line in stdout: +- if line.split(" ")[0] == "Revision:": +- revision_string = line.split(" ")[1].strip() +- break +- # Try to get the SVN revision on Gentoo systems +- if revision_string == "": +- stdout = os.popen("svn info /usr/portage/distfiles/svn-src/deluge/deluge-0.6") +- for line in stdout: +- if line.split(" ")[0] == "Revision:": +- revision_string = line.split(" ")[1].strip() +- break +- +- f = open("deluge/data/revision", "w") +- f.write(revision_string) +- f.close() +-except: +- pass +- + + if not os.environ.has_key("CC"): + os.environ["CC"] = "gcc" +@@ -327,10 +307,3 @@ + url = "http://deluge-torrent.org", + version = "0.9.01", + ) +- +-try: +- f = open("deluge/data/revision", "w") +- f.write("") +- f.close() +-except: +- pass |