public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Samuli Suominen (ssuominen)" <ssuominen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/dsx: ChangeLog dsx-0.1.ebuild
Date: Sun,  6 Jun 2010 10:05:59 +0000 (UTC)	[thread overview]
Message-ID: <20100606100559.4469C2CE3C@corvid.gentoo.org> (raw)

ssuominen    10/06/06 10:05:59

  Modified:             ChangeLog dsx-0.1.ebuild
  Log:
  Force Python 2.x wrt #317009.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.8                  x11-misc/dsx/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dsx/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dsx/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dsx/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/dsx/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	22 Jul 2007 02:52:01 -0000	1.7
+++ ChangeLog	6 Jun 2010 10:05:59 -0000	1.8
@@ -1,6 +1,9 @@
 # ChangeLog for x11-misc/dsx
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/dsx/ChangeLog,v 1.7 2007/07/22 02:52:01 coldwind Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/dsx/ChangeLog,v 1.8 2010/06/06 10:05:59 ssuominen Exp $
+
+  06 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> dsx-0.1.ebuild:
+  Force Python 2.x wrt #317009.
 
   22 Jul 2007; Santiago M. Mola <coldwind@gentoo.org> dsx-0.1.ebuild:
   virtual/x11 removed.



1.8                  x11-misc/dsx/dsx-0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild?r1=1.7&r2=1.8

Index: dsx-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dsx-0.1.ebuild	22 Jul 2007 02:52:01 -0000	1.7
+++ dsx-0.1.ebuild	6 Jun 2010 10:05:59 -0000	1.8
@@ -1,19 +1,33 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild,v 1.7 2007/07/22 02:52:01 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild,v 1.8 2010/06/06 10:05:59 ssuominen Exp $
+
+EAPI=2
+PYTHON_DEPEND="2"
+
+inherit python
 
 DESCRIPTION="command line selection of your X desktop environment"
-HOMEPAGE="none"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI=""
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="ppc x86"
+KEYWORDS="~amd64 ppc x86"
 IUSE=""
 
+RDEPEND="x11-apps/xinit"
 DEPEND=""
-RDEPEND="x11-apps/xinit
-	>=dev-lang/python-2.1"
+
+pkg_setup() {
+	python_set_active_version 2
+}
+
+src_prepare() {
+	cp "${FILESDIR}"/${P} "${T}"
+	python_convert_shebangs -r 2 "${T}"
+}
 
 src_install() {
-	newbin "${FILESDIR}/${P}" dsx
+	newbin "${T}"/${P} dsx
 }






                 reply	other threads:[~2010-06-06 10:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100606100559.4469C2CE3C@corvid.gentoo.org \
    --to=ssuominen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox