public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in dev-python/pmw: ChangeLog pmw-1.3.2-r2.ebuild
@ 2010-02-26 19:05 99% Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 1+ results
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-02-26 19:05 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/02/26 19:05:10

  Modified:             ChangeLog pmw-1.3.2-r2.ebuild
  Log:
  Set SUPPORT_PYTHON_ABIS.
  (Portage version: 15458-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.28                 dev-python/pmw/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?r1=1.27&r2=1.28

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ChangeLog	20 Feb 2010 12:21:38 -0000	1.27
+++ ChangeLog	26 Feb 2010 19:05:09 -0000	1.28
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/pmw
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v 1.27 2010/02/20 12:21:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v 1.28 2010/02/26 19:05:09 arfrever Exp $
+
+  26 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  pmw-1.3.2-r2.ebuild:
+  Set SUPPORT_PYTHON_ABIS.
 
 *pmw-1.3.2-r2 (20 Feb 2010)
 



1.2                  dev-python/pmw/pmw-1.3.2-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild?r1=1.1&r2=1.2

Index: pmw-1.3.2-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pmw-1.3.2-r2.ebuild	20 Feb 2010 12:21:38 -0000	1.1
+++ pmw-1.3.2-r2.ebuild	26 Feb 2010 19:05:09 -0000	1.2
@@ -1,11 +1,12 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild,v 1.1 2010/02/20 12:21:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild,v 1.2 2010/02/26 19:05:09 arfrever Exp $
 
 EAPI="2"
-PYTHON_MODNAME="Pmw"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
 
-inherit eutils distutils
+inherit distutils eutils
 
 MY_P="Pmw.${PV}"
 
@@ -20,12 +21,15 @@
 
 DEPEND="dev-lang/python[tk]"
 RDEPEND="${DEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
 
-DOCS="${PYTHON_MODNAME}/README"
 S="${WORKDIR}/${MY_P}/src"
 
-src_unpack() {
-	distutils_src_unpack
+DOCS="Pmw/README"
+PYTHON_MODNAME="Pmw"
+
+src_prepare() {
+	distutils_src_prepare
 	epatch "${FILESDIR}/${P}-install-no-docs.patch"
 	epatch "${FILESDIR}/${PV}-python2.5.patch"
 }
@@ -33,21 +37,14 @@
 src_install() {
 	distutils_src_install
 
-	local DIR
-	DIR="${S}/${PYTHON_MODNAME}/Pmw_1_3"
+	local DIR="${PYTHON_MODNAME}/Pmw_1_3"
 
 	if use doc; then
-		dohtml -a html,gif,py "${DIR}"/doc/* \
-			|| die "failed to install docs"
+		dohtml -a html,gif,py "${DIR}"/doc/* || die "Installation of documentation failed"
 	fi
 
 	if use examples; then
-		insinto "${ROOT}/usr/share/doc/${PF}/examples"
-		doins "${DIR}"/demos/* \
-			|| die "failed to install demos"
+		insinto "/usr/share/doc/${PF}/examples"
+		doins "${DIR}"/demos/* || die "Installation of demos failed"
 	fi
-
-	#Tests are not unittests and show various
-	#GUIs. So we don't run them in the ebuild
-
 }






^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-02-26 19:05 99% [gentoo-commits] gentoo-x86 commit in dev-python/pmw: ChangeLog pmw-1.3.2-r2.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