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/s3cmd-0.9.9.91.ebuild
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/s3cmd-0.9.9.91.ebuild')
-rw-r--r--net-misc/s3cmd/s3cmd-0.9.9.91.ebuild19
1 files changed, 15 insertions, 4 deletions
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