public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/beets: beets-1.0_rc2.ebuild ChangeLog
@ 2013-01-03  0:08 Stanislav Ochotnicky (sochotnicky)
  0 siblings, 0 replies; only message in thread
From: Stanislav Ochotnicky (sochotnicky) @ 2013-01-03  0:08 UTC (permalink / raw
  To: gentoo-commits

sochotnicky    13/01/03 00:08:40

  Modified:             beets-1.0_rc2.ebuild ChangeLog
  Log:
  Properly fix tests failing during update (#422685)
  
  We'd accidentally use beetsplug modules from previous version when doing updates
  due to beets using python namespaces (and portage not supporting them
  correctly).
  
  Thanks to Arfrever for help with finding the root cause and proposing a fix
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 7B087241)

Revision  Changes    Path
1.2                  media-sound/beets/beets-1.0_rc2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/beets-1.0_rc2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/beets-1.0_rc2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/beets-1.0_rc2.ebuild?r1=1.1&r2=1.2

Index: beets-1.0_rc2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/beets/beets-1.0_rc2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- beets-1.0_rc2.ebuild	2 Jan 2013 23:18:22 -0000	1.1
+++ beets-1.0_rc2.ebuild	3 Jan 2013 00:08:39 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/beets-1.0_rc2.ebuild,v 1.1 2013/01/02 23:18:22 sochotnicky Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/beets-1.0_rc2.ebuild,v 1.2 2013/01/03 00:08:39 sochotnicky Exp $
 
 EAPI="4"
 
@@ -10,7 +10,7 @@
 #There a few test failures with 2.6, worth investigating
 RESTRICT_PYTHON_ABIS="2.5 3.* 2.7-pypy-*"
 
-inherit distutils
+inherit distutils eutils
 
 MY_PV=${PV/_rc/rc}
 MY_P=${PN}-${MY_PV}
@@ -47,6 +47,11 @@
 src_prepare() {
 	distutils_src_prepare
 
+	# we'll need this as long as portage doesn't have proper python
+	# namespace support (without this we would try to load modules from
+	# previous installation during updates)
+	use test && epatch "${FILESDIR}/${P}-test-namespace.patch"
+
 	# remove plugins that do not have appropriate dependencies installed
 	for flag in bpd chroma convert echonest_tempo lastgenre replaygain web;do
 		if ! use $flag ; then
@@ -63,6 +68,7 @@
 	done
 
 	use bpd || rm -f test/test_player.py
+
 }
 
 src_compile() {



1.10                 media-sound/beets/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/beets/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	2 Jan 2013 23:18:22 -0000	1.9
+++ ChangeLog	3 Jan 2013 00:08:39 -0000	1.10
@@ -1,6 +1,13 @@
 # ChangeLog for media-sound/beets
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v 1.9 2013/01/02 23:18:22 sochotnicky Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/ChangeLog,v 1.10 2013/01/03 00:08:39 sochotnicky Exp $
+
+  03 Jan 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+  +files/beets-1.0_rc2-test-namespace.patch, beets-1.0_rc2.ebuild:
+  Properly fix tests failing during update (#422685)  We'd accidentally use
+  beetsplug modules from previous version when doing updates due to beets using
+  python namespaces (and portage not supporting them correctly).  Thanks to
+  Arfrever for help with finding the root cause and proposing a fix
 
 *beets-1.0_rc2 (02 Jan 2013)
 
@@ -46,4 +53,3 @@
   28 May 2012; Stanislav Ochotnicky <sochotnicky@gentoo.org>
   +beets-1.0_beta14.ebuild, +metadata.xml:
   New ebuild for beets music organizer
-





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

only message in thread, other threads:[~2013-01-03  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03  0:08 [gentoo-commits] gentoo-x86 commit in media-sound/beets: beets-1.0_rc2.ebuild ChangeLog Stanislav Ochotnicky (sochotnicky)

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