public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pmw: ChangeLog pmw-1.3.2-r2.ebuild
Date: Fri, 26 Feb 2010 19:05:10 +0000	[thread overview]
Message-ID: <E1Nl5Us-0002ax-Cf@stork.gentoo.org> (raw)

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
-
 }






             reply	other threads:[~2010-02-26 19:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 19:05 Arfrever Frehtes Taifersar Arahesis (arfrever) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-21 15:29 [gentoo-commits] gentoo-x86 commit in dev-python/pmw: ChangeLog pmw-1.3.2-r2.ebuild Justin Lecher (jlec)
2010-10-30 23:26 Arfrever Frehtes Taifersar Arahesis (arfrever)
2010-06-08 11:31 Markos Chandras (hwoarang)
2010-05-24 14:07 Raul Porcel (armin76)
2010-04-18 16:59 Gysbert Wassenaar (nixnut)
2010-02-20 12:21 Justin Lecher (jlec)

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=E1Nl5Us-0002ax-Cf@stork.gentoo.org \
    --to=arfrever@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