summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2009-09-29 18:15:27 +0000
committerMounir Lamouri <volkmar@gentoo.org>2009-09-29 18:15:27 +0000
commitc98898781f59e084c82cc78af83dc371c99e4802 (patch)
tree29aae9c84fc2e7438ed010579a247dfb0a0b4914 /net-misc/plowshare
parentStable on alpha, bug #278181 (diff)
downloadgentoo-2-c98898781f59e084c82cc78af83dc371c99e4802.tar.gz
gentoo-2-c98898781f59e084c82cc78af83dc371c99e4802.tar.bz2
gentoo-2-c98898781f59e084c82cc78af83dc371c99e4802.zip
Removing megaupload USE flag as python dep was deprecated.
(Portage version: 14420-svn/cvs/Linux ppc)
Diffstat (limited to 'net-misc/plowshare')
-rw-r--r--net-misc/plowshare/ChangeLog8
-rw-r--r--net-misc/plowshare/metadata.xml1
-rw-r--r--net-misc/plowshare/plowshare-0.8-r2.ebuild (renamed from net-misc/plowshare/plowshare-0.8-r1.ebuild)16
3 files changed, 13 insertions, 12 deletions
diff --git a/net-misc/plowshare/ChangeLog b/net-misc/plowshare/ChangeLog
index 3b2439c8479a..c08c723435bb 100644
--- a/net-misc/plowshare/ChangeLog
+++ b/net-misc/plowshare/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/plowshare
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.2 2009/09/28 19:50:39 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.3 2009/09/29 18:15:27 volkmar Exp $
+
+*plowshare-0.8-r2 (29 Sep 2009)
+
+ 29 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> -plowshare-0.8-r1.ebuild,
+ +plowshare-0.8-r2.ebuild, metadata.xml:
+ Removing megaupload USE flag as python dep was deprecated.
*plowshare-0.8-r1 (28 Sep 2009)
diff --git a/net-misc/plowshare/metadata.xml b/net-misc/plowshare/metadata.xml
index a96abd2bc0b2..7daff8077c08 100644
--- a/net-misc/plowshare/metadata.xml
+++ b/net-misc/plowshare/metadata.xml
@@ -7,7 +7,6 @@
<name>Mounir Lamouri</name>
</maintainer>
<use>
- <flag name="megaupload">Enable megaupload module</flag>
<flag name="view-captcha">View captcha with aview</flag>
</use>
</pkgmetadata>
diff --git a/net-misc/plowshare/plowshare-0.8-r1.ebuild b/net-misc/plowshare/plowshare-0.8-r2.ebuild
index 9d41893bf500..4a46e1f40e6e 100644
--- a/net-misc/plowshare/plowshare-0.8-r1.ebuild
+++ b/net-misc/plowshare/plowshare-0.8-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-0.8-r1.ebuild,v 1.1 2009/09/28 19:50:39 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-0.8-r2.ebuild,v 1.1 2009/09/29 18:15:27 volkmar Exp $
EAPI="2"
@@ -10,13 +10,11 @@ SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~ppc"
-IUSE="+javascript +megaupload view-captcha"
+KEYWORDS="~ppc ~x86"
+IUSE="+javascript view-captcha"
RDEPEND="
javascript? ( dev-lang/spidermonkey )
- megaupload? ( dev-lang/python
- dev-python/imaging )
view-captcha? ( media-gfx/aview )
app-shells/bash
app-text/recode
@@ -30,11 +28,6 @@ DEPEND=""
# dev-lang/spidermonkey is actually any javascript interpreter using /usr/bin/js
src_prepare() {
- if ! use megaupload; then
- sed -i -e "s: megaupload::" src/upload.sh src/download.sh \
- || die "sed failed"
- rm src/modules/megaupload.sh || die "rm failed"
- fi
if ! use javascript; then
sed -i -e "s: mediafire::" src/upload.sh src/download.sh \
|| die "sed failed"
@@ -42,6 +35,9 @@ src_prepare() {
|| die "sed failed"
rm src/modules/{mediafire,zshare}.sh
fi
+
+ # removing extras/ as it's now deprecated
+ rm -r src/modules/extras/ || die "rm -r failed"
}
src_test() {