public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/newt: ChangeLog newt-0.52.12.ebuild newt-0.52.10-r1.ebuild
@ 2010-12-27 22:30 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-12-27 22:30 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/12/27 22:30:03

  Modified:             ChangeLog newt-0.52.12.ebuild
                        newt-0.52.10-r1.ebuild
  Log:
  Use Python 2, use python_mod_optimize() and python_mod_cleanup() (bug #312197).
  
  (Portage version: 2.2.0_alpha10_p10/cvs/Linux x86_64)

Revision  Changes    Path
1.66                 dev-libs/newt/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.66&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.66&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?r1=1.65&r2=1.66

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- ChangeLog	30 Aug 2010 23:51:20 -0000	1.65
+++ ChangeLog	27 Dec 2010 22:30:03 -0000	1.66
@@ -1,6 +1,10 @@
 # ChangeLog for dev-libs/newt
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.65 2010/08/30 23:51:20 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.66 2010/12/27 22:30:03 arfrever Exp $
+
+  27 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  newt-0.52.10-r1.ebuild, newt-0.52.12.ebuild:
+  Use Python 2, use python_mod_optimize() and python_mod_cleanup() (bug #312197).
 
 *newt-0.52.12 (30 Aug 2010)
 



1.2                  dev-libs/newt/newt-0.52.12.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild?r1=1.1&r2=1.2

Index: newt-0.52.12.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- newt-0.52.12.ebuild	30 Aug 2010 23:48:52 -0000	1.1
+++ newt-0.52.12.ebuild	27 Dec 2010 22:30:03 -0000	1.2
@@ -1,8 +1,9 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v 1.1 2010/08/30 23:48:52 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v 1.2 2010/12/27 22:30:03 arfrever Exp $
 
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
 
 inherit eutils multilib python
 
@@ -17,7 +18,6 @@
 
 RDEPEND="=sys-libs/slang-2*
 	>=dev-libs/popt-1.6
-	dev-lang/python
 	elibc_uclibc? ( sys-libs/ncurses )
 	gpm? ( sys-libs/gpm )
 	tcl? ( =dev-lang/tcl-8.5* )
@@ -25,6 +25,11 @@
 
 DEPEND="${RDEPEND}"
 
+pkg_setup() {
+	python_set_active_version 2
+	python_pkg_setup
+}
+
 src_prepare() {
 	# bug 73850
 	if use elibc_uclibc; then
@@ -45,7 +50,7 @@
 	econf \
 		$(use_with gpm gpm-support) \
 		$(use_with tcl) \
-		$(use_enable nls) || die "econf failed"
+		$(use_enable nls)
 }
 
 src_compile() {
@@ -60,3 +65,11 @@
 	dodoc peanuts.py popcorn.py tutorial.sgml
 	doman whiptail.1
 }
+
+pkg_postinst() {
+	python_mod_optimize snack.py
+}
+
+pkg_postrm() {
+	python_mod_cleanup snack.py
+}



1.9                  dev-libs/newt/newt-0.52.10-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild?r1=1.8&r2=1.9

Index: newt-0.52.10-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- newt-0.52.10-r1.ebuild	2 Jun 2010 20:29:39 -0000	1.8
+++ newt-0.52.10-r1.ebuild	27 Dec 2010 22:30:03 -0000	1.9
@@ -1,6 +1,9 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild,v 1.8 2010/06/02 20:29:39 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild,v 1.9 2010/12/27 22:30:03 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
 
 inherit python toolchain-funcs eutils rpm
 
@@ -15,7 +18,6 @@
 
 RDEPEND="=sys-libs/slang-2*
 	>=dev-libs/popt-1.6
-	dev-lang/python
 	elibc_uclibc? ( sys-libs/ncurses )
 	gpm? ( sys-libs/gpm )
 	tcl? ( =dev-lang/tcl-8.5* )
@@ -23,6 +25,11 @@
 
 DEPEND="${RDEPEND}"
 
+pkg_setup() {
+	python_set_active_version 2
+	python_pkg_setup
+}
+
 src_unpack() {
 	unpack ${A}
 	#rpm_src_unpack
@@ -70,3 +77,11 @@
 	dodoc peanuts.py popcorn.py tutorial.sgml
 	doman whiptail.1
 }
+
+pkg_postinst() {
+	python_mod_optimize snack.py
+}
+
+pkg_postrm() {
+	python_mod_cleanup snack.py
+}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-27 22:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-27 22:30 [gentoo-commits] gentoo-x86 commit in dev-libs/newt: ChangeLog newt-0.52.12.ebuild newt-0.52.10-r1.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox