summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-05 19:08:57 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-05 19:08:57 +0000
commite9c2a8bde99b45408b6c72bb626d5b3e38be9dd6 (patch)
tree2f6e17b20956b59434673eb87ca6616990b8808b /net-misc/s3cmd
parentUse Python 2 (bug #315839). (diff)
downloadgentoo-2-e9c2a8bde99b45408b6c72bb626d5b3e38be9dd6.tar.gz
gentoo-2-e9c2a8bde99b45408b6c72bb626d5b3e38be9dd6.tar.bz2
gentoo-2-e9c2a8bde99b45408b6c72bb626d5b3e38be9dd6.zip
Fix dependencies, use Python 2 (bug #315841).
(Portage version: 2.2.0_alpha29_p9/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/s3cmd')
-rw-r--r--net-misc/s3cmd/ChangeLog6
-rw-r--r--net-misc/s3cmd/s3cmd-0.9.9.91.ebuild19
-rw-r--r--net-misc/s3cmd/s3cmd-1.0.0.ebuild17
3 files changed, 34 insertions, 8 deletions
diff --git a/net-misc/s3cmd/ChangeLog b/net-misc/s3cmd/ChangeLog
index d922afdb02bb..6dc0d7688ccc 100644
--- a/net-misc/s3cmd/ChangeLog
+++ b/net-misc/s3cmd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/s3cmd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/s3cmd/ChangeLog,v 1.12 2011/01/14 15:53:14 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/s3cmd/ChangeLog,v 1.13 2011/04/05 19:08:57 arfrever Exp $
+
+ 05 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ s3cmd-0.9.9.91.ebuild, s3cmd-1.0.0.ebuild:
+ Fix dependencies, use Python 2 (bug #315841).
*s3cmd-1.0.0 (14 Jan 2011)
diff --git a/net-misc/s3cmd/s3cmd-0.9.9.91.ebuild b/net-misc/s3cmd/s3cmd-0.9.9.91.ebuild
index 99fd489e0271..d20ae2f2a6b8 100644
--- a/net-misc/s3cmd/s3cmd-0.9.9.91.ebuild
+++ b/net-misc/s3cmd/s3cmd-0.9.9.91.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/s3cmd/s3cmd-0.9.9.91.ebuild,v 1.3 2010/07/16 09:59:11 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/s3cmd/s3cmd-0.9.9.91.ebuild,v 1.4 2011/04/05 19:08:57 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="xml"
inherit distutils
@@ -13,8 +17,15 @@ LICENSE="GPL-2"
IUSE=""
SLOT="0"
-RDEPEND=">=dev-lang/python-2.4
- dev-python/elementtree"
+DEPEND=""
+RDEPEND=""
+
+PYTHON_MODNAME="S3"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
src_install() {
S3CMD_INSTPATH_DOC=/usr/share/doc/${PF} distutils_src_install
diff --git a/net-misc/s3cmd/s3cmd-1.0.0.ebuild b/net-misc/s3cmd/s3cmd-1.0.0.ebuild
index 5a596fee4a68..2f3c7e79304d 100644
--- a/net-misc/s3cmd/s3cmd-1.0.0.ebuild
+++ b/net-misc/s3cmd/s3cmd-1.0.0.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/s3cmd/s3cmd-1.0.0.ebuild,v 1.1 2011/01/14 15:53:14 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/s3cmd/s3cmd-1.0.0.ebuild,v 1.2 2011/04/05 19:08:57 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="xml"
inherit distutils
@@ -13,8 +17,15 @@ LICENSE="GPL-2"
IUSE=""
SLOT="0"
-RDEPEND=">=dev-lang/python-2.4
- dev-python/elementtree"
+DEPEND=""
+RDEPEND=""
+
+PYTHON_MODNAME="S3"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
src_install() {
S3CMD_INSTPATH_DOC=/usr/share/doc/${PF} distutils_src_install