public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2008-03-06 20:43 Doug Klima (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Klima (cardoe) @ 2008-03-06 20:43 UTC (permalink / raw
  To: gentoo-commits

cardoe      08/03/06 20:43:17

  Modified:             mythtv.eclass
  Log:
  we're going to use _alpha instead of _pre since _pre comes after _beta for the future

Revision  Changes    Path
1.12                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.11&r2=1.12

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mythtv.eclass	20 Feb 2008 20:03:38 -0000	1.11
+++ mythtv.eclass	6 Mar 2008 20:43:16 -0000	1.12
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.11 2008/02/20 20:03:38 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.12 2008/03/06 20:43:16 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org>
@@ -30,8 +30,8 @@
 MYTHTV_REV="${BASH_REMATCH[2]}" # revision number
 
 case $REV_PREFIX in
-	    _pre) MYTHTV_REPO="trunk/${MY_PN}";;
-	_p|_beta|_alpha) VER_COMP=( $(get_version_components ${MY_PV}) )
+	_pre|_alpha) MYTHTV_REPO="trunk/${MY_PN}";;
+	_p|_beta) VER_COMP=( $(get_version_components ${MY_PV}) )
 	          FIXES_VER="${VER_COMP[0]}-${VER_COMP[1]}"
 	          MYTHTV_REPO="branches/release-${FIXES_VER}-fixes/${MY_PN}";;
 esac



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2009-11-16  7:59 Doug Goldstein (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Goldstein (cardoe) @ 2009-11-16  7:59 UTC (permalink / raw
  To: gentoo-commits

cardoe      09/11/16 07:59:47

  Modified:             mythtv.eclass
  Log:
  add DEPEND on unzip temporarily for bug #283798

Revision  Changes    Path
1.20                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.19&r2=1.20

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- mythtv.eclass	31 Oct 2009 22:10:58 -0000	1.19
+++ mythtv.eclass	16 Nov 2009 07:59:47 -0000	1.20
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.19 2009/10/31 22:10:58 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.20 2009/11/16 07:59:47 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @AUTHOR: Doug Goldstein <cardoe@gentoo.org>
@@ -10,6 +10,9 @@
 
 inherit versionator
 
+# temporary until all the packagers are fixed for bug #283798
+DEPEND="app-arch/unzip"
+
 # Release version
 MY_PV="${PV%_*}"
 






^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2009-10-31 22:10 Doug Goldstein (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Goldstein (cardoe) @ 2009-10-31 22:10 UTC (permalink / raw
  To: gentoo-commits

cardoe      09/10/31 22:10:59

  Modified:             mythtv.eclass
  Log:
  update MYTHTV_REPO to only contain the path to the specific branch and not the product as well

Revision  Changes    Path
1.19                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.18&r2=1.19

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- mythtv.eclass	16 Oct 2009 04:26:15 -0000	1.18
+++ mythtv.eclass	31 Oct 2009 22:10:58 -0000	1.19
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.18 2009/10/16 04:26:15 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.19 2009/10/31 22:10:58 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @AUTHOR: Doug Goldstein <cardoe@gentoo.org>
@@ -32,13 +32,13 @@
 MYTHTV_REV="${BASH_REMATCH[2]}" # revision number
 
 case $REV_PREFIX in
-	_pre|_alpha) MYTHTV_REPO="trunk/${MY_PN}";;
+	_pre|_alpha) MYTHTV_REPO="trunk";;
 	_p|_beta|_rc) VER_COMP=( $(get_version_components ${MY_PV}) )
 	          FIXES_VER="${VER_COMP[0]}-${VER_COMP[1]}"
-	          MYTHTV_REPO="branches/release-${FIXES_VER}-fixes/${MY_PN}";;
+	          MYTHTV_REPO="branches/release-${FIXES_VER}-fixes";;
 esac
 
 HOMEPAGE="http://www.mythtv.org"
 LICENSE="GPL-2"
-SRC_URI="http://svn.mythtv.org/trac/changeset/${MYTHTV_REV}/${MYTHTV_REPO}?old_path=%2F&format=zip -> ${MY_PN}-${PV}.zip"
-S="${WORKDIR}/${MYTHTV_REPO}"
+SRC_URI="http://svn.mythtv.org/trac/changeset/${MYTHTV_REV}/${MYTHTV_REPO}/${MY_PN}?old_path=%2F&format=zip -> ${MY_PN}-${PV}.zip"
+S="${WORKDIR}/${MYTHTV_REPO}/${MY_PN}"






^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2009-10-16  4:26 Doug Goldstein (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Goldstein (cardoe) @ 2009-10-16  4:26 UTC (permalink / raw
  To: gentoo-commits

cardoe      09/10/16 04:26:16

  Modified:             mythtv.eclass
  Log:
  add support for release candidate versions

Revision  Changes    Path
1.18                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.17&r2=1.18

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- mythtv.eclass	25 Aug 2009 16:51:21 -0000	1.17
+++ mythtv.eclass	16 Oct 2009 04:26:15 -0000	1.18
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.17 2009/08/25 16:51:21 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.18 2009/10/16 04:26:15 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @AUTHOR: Doug Goldstein <cardoe@gentoo.org>
@@ -23,17 +23,17 @@
 
 # _pre is from SVN trunk while _p and _beta are from SVN ${MY_PV}-fixes
 # TODO: probably ought to do something smart if the regex doesn't match anything
-[[ "${PV}" =~ (_beta|_pre|_p|_alpha)([0-9]+) ]] || {
-	eerror "Invalid version requested (_alpha|_beta|_pre|_p) only"
+[[ "${PV}" =~ (_alpha|_beta|_pre|_rc|_p)([0-9]+) ]] || {
+	eerror "Invalid version requested (_alpha|_beta|_pre|_rc|_p) only"
 	exit 1
 }
 
-REV_PREFIX="${BASH_REMATCH[1]}" # _beta, _pre, or _p
+REV_PREFIX="${BASH_REMATCH[1]}" # _alpha, _beta, _pre, _rc, or _p
 MYTHTV_REV="${BASH_REMATCH[2]}" # revision number
 
 case $REV_PREFIX in
 	_pre|_alpha) MYTHTV_REPO="trunk/${MY_PN}";;
-	_p|_beta) VER_COMP=( $(get_version_components ${MY_PV}) )
+	_p|_beta|_rc) VER_COMP=( $(get_version_components ${MY_PV}) )
 	          FIXES_VER="${VER_COMP[0]}-${VER_COMP[1]}"
 	          MYTHTV_REPO="branches/release-${FIXES_VER}-fixes/${MY_PN}";;
 esac






^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2009-08-25 16:51 Thomas Anderson (gentoofan23)
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Anderson (gentoofan23) @ 2009-08-25 16:51 UTC (permalink / raw
  To: gentoo-commits

gentoofan23    09/08/25 16:51:21

  Modified:             mythtv.eclass
  Log:
  Revert commit 1.16, mythtv ebuilds adjusted for a fix that doesn't break non-stable ebuilds. See bug #280516.

Revision  Changes    Path
1.17                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.16&r2=1.17

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- mythtv.eclass	4 Aug 2009 20:55:02 -0000	1.16
+++ mythtv.eclass	25 Aug 2009 16:51:21 -0000	1.17
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.16 2009/08/04 20:55:02 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.17 2009/08/25 16:51:21 gentoofan23 Exp $
 #
 # @ECLASS: mythtv.eclass
 # @AUTHOR: Doug Goldstein <cardoe@gentoo.org>
@@ -41,4 +41,4 @@
 HOMEPAGE="http://www.mythtv.org"
 LICENSE="GPL-2"
 SRC_URI="http://svn.mythtv.org/trac/changeset/${MYTHTV_REV}/${MYTHTV_REPO}?old_path=%2F&format=zip -> ${MY_PN}-${PV}.zip"
-[[ ${PN} == mythtv ]] || S="${WORKDIR}/${MYTHTV_REPO}"
+S="${WORKDIR}/${MYTHTV_REPO}"






^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2009-08-04 20:55 Thomas Anderson (gentoofan23)
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Anderson (gentoofan23) @ 2009-08-04 20:55 UTC (permalink / raw
  To: gentoo-commits

gentoofan23    09/08/04 20:55:02

  Modified:             mythtv.eclass
  Log:
  Fix S definition for PN=mythtv, conditionalize the S redifinition based on whether we're in a 'mythtv' ebuild.

Revision  Changes    Path
1.16                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.15&r2=1.16

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- mythtv.eclass	19 Jul 2009 04:12:59 -0000	1.15
+++ mythtv.eclass	4 Aug 2009 20:55:02 -0000	1.16
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.15 2009/07/19 04:12:59 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.16 2009/08/04 20:55:02 gentoofan23 Exp $
 #
 # @ECLASS: mythtv.eclass
 # @AUTHOR: Doug Goldstein <cardoe@gentoo.org>
@@ -41,4 +41,4 @@
 HOMEPAGE="http://www.mythtv.org"
 LICENSE="GPL-2"
 SRC_URI="http://svn.mythtv.org/trac/changeset/${MYTHTV_REV}/${MYTHTV_REPO}?old_path=%2F&format=zip -> ${MY_PN}-${PV}.zip"
-S="${WORKDIR}/${MYTHTV_REPO}"
+[[ ${PN} == mythtv ]] || S="${WORKDIR}/${MYTHTV_REPO}"






^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2009-07-19  4:12 Doug Goldstein (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Goldstein (cardoe) @ 2009-07-19  4:12 UTC (permalink / raw
  To: gentoo-commits

cardoe      09/07/19 04:12:59

  Modified:             mythtv.eclass
  Log:
  use MY_PN so that all the plugins can be d/l'd in just mythplugins instead of individual tarballs which actually contain them all.

Revision  Changes    Path
1.15                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.14&r2=1.15

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- mythtv.eclass	19 Jul 2009 03:34:55 -0000	1.14
+++ mythtv.eclass	19 Jul 2009 04:12:59 -0000	1.15
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.14 2009/07/19 03:34:55 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.15 2009/07/19 04:12:59 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @AUTHOR: Doug Goldstein <cardoe@gentoo.org>
@@ -40,5 +40,5 @@
 
 HOMEPAGE="http://www.mythtv.org"
 LICENSE="GPL-2"
-SRC_URI="http://svn.mythtv.org/trac/changeset/${MYTHTV_REV}/${MYTHTV_REPO}?old_path=%2F&format=zip -> ${P}.zip"
+SRC_URI="http://svn.mythtv.org/trac/changeset/${MYTHTV_REV}/${MYTHTV_REPO}?old_path=%2F&format=zip -> ${MY_PN}-${PV}.zip"
 S="${WORKDIR}/${MYTHTV_REPO}"






^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2009-07-19  3:34 Doug Goldstein (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Goldstein (cardoe) @ 2009-07-19  3:34 UTC (permalink / raw
  To: gentoo-commits

cardoe      09/07/19 03:34:55

  Modified:             mythtv.eclass
  Log:
  migrates away from SVN based ebuilds and towards versionable zips

Revision  Changes    Path
1.14                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.13&r2=1.14

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mythtv.eclass	1 Apr 2008 04:05:02 -0000	1.13
+++ mythtv.eclass	19 Jul 2009 03:34:55 -0000	1.14
@@ -1,13 +1,14 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.13 2008/04/01 04:05:02 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.14 2009/07/19 03:34:55 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
+# @AUTHOR: Doug Goldstein <cardoe@gentoo.org>
 # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org>
 # @BLURB: Downloads the MythTV source packages and any patches from the fixes branch
 #
 
-inherit eutils versionator subversion
+inherit versionator
 
 # Release version
 MY_PV="${PV%_*}"
@@ -37,8 +38,7 @@
 	          MYTHTV_REPO="branches/release-${FIXES_VER}-fixes/${MY_PN}";;
 esac
 
-ESVN_REPO_URI="http://svn.mythtv.org/svn/${MYTHTV_REPO}@${MYTHTV_REV}"
-
 HOMEPAGE="http://www.mythtv.org"
 LICENSE="GPL-2"
-SRC_URI=""
+SRC_URI="http://svn.mythtv.org/trac/changeset/${MYTHTV_REV}/${MYTHTV_REPO}?old_path=%2F&format=zip -> ${P}.zip"
+S="${WORKDIR}/${MYTHTV_REPO}"






^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2008-04-01  4:05 Doug Klima (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Klima (cardoe) @ 2008-04-01  4:05 UTC (permalink / raw
  To: gentoo-commits

cardoe      08/04/01 04:05:02

  Modified:             mythtv.eclass
  Log:
  mythtv-themes-extra support from Jesse Adelman <jesse@boldandbusted.com> bug #214453

Revision  Changes    Path
1.13                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.12&r2=1.13

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- mythtv.eclass	6 Mar 2008 20:43:16 -0000	1.12
+++ mythtv.eclass	1 Apr 2008 04:05:02 -0000	1.13
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.12 2008/03/06 20:43:16 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.13 2008/04/01 04:05:02 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org>
@@ -16,6 +16,7 @@
 case "${PN}" in
 	       mythtv) MY_PN="mythtv";;
 	mythtv-themes) MY_PN="myththemes";;
+	mythtv-themes-extra) MY_PN="themes";;
 	            *) MY_PN="mythplugins";;
 esac
 



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2008-02-20 20:03 Doug Klima (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Klima (cardoe) @ 2008-02-20 20:03 UTC (permalink / raw
  To: gentoo-commits

cardoe      08/02/20 20:03:39

  Modified:             mythtv.eclass
  Log:
  switch from ESVN_OPTIONS to ESVN_REPO_URI for the revision number, per the latest changes I've made to subversion.eclass

Revision  Changes    Path
1.11                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.10&r2=1.11

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- mythtv.eclass	14 Feb 2008 22:41:49 -0000	1.10
+++ mythtv.eclass	20 Feb 2008 20:03:38 -0000	1.11
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.10 2008/02/14 22:41:49 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.11 2008/02/20 20:03:38 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org>
@@ -21,8 +21,8 @@
 
 # _pre is from SVN trunk while _p and _beta are from SVN ${MY_PV}-fixes
 # TODO: probably ought to do something smart if the regex doesn't match anything
-[[ "${PV}" =~ (_beta|_pre|_p)([0-9]+) ]] || {
-	eerror "Invalid version requested (_beta|_pre|_p) only"
+[[ "${PV}" =~ (_beta|_pre|_p|_alpha)([0-9]+) ]] || {
+	eerror "Invalid version requested (_alpha|_beta|_pre|_p) only"
 	exit 1
 }
 
@@ -31,13 +31,12 @@
 
 case $REV_PREFIX in
 	    _pre) MYTHTV_REPO="trunk/${MY_PN}";;
-	_p|_beta) VER_COMP=( $(get_version_components ${MY_PV}) )
+	_p|_beta|_alpha) VER_COMP=( $(get_version_components ${MY_PV}) )
 	          FIXES_VER="${VER_COMP[0]}-${VER_COMP[1]}"
 	          MYTHTV_REPO="branches/release-${FIXES_VER}-fixes/${MY_PN}";;
 esac
 
-ESVN_REPO_URI="http://svn.mythtv.org/svn/${MYTHTV_REPO}"
-ESVN_OPTIONS="-r ${MYTHTV_REV}"
+ESVN_REPO_URI="http://svn.mythtv.org/svn/${MYTHTV_REPO}@${MYTHTV_REV}"
 
 HOMEPAGE="http://www.mythtv.org"
 LICENSE="GPL-2"



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2008-02-14 22:41 Doug Klima (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Klima (cardoe) @ 2008-02-14 22:41 UTC (permalink / raw
  To: gentoo-commits

cardoe      08/02/14 22:41:50

  Modified:             mythtv.eclass
  Log:
  I removed all backwords compat support for installing older versions. After removing the old stuff, kojiro checked it out and cleaned up the resultant eclass.

Revision  Changes    Path
1.10                 eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.9&r2=1.10

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mythtv.eclass	14 Feb 2008 20:37:45 -0000	1.9
+++ mythtv.eclass	14 Feb 2008 22:41:49 -0000	1.10
@@ -1,59 +1,44 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.9 2008/02/14 20:37:45 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.10 2008/02/14 22:41:49 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org>
 # @BLURB: Downloads the MythTV source packages and any patches from the fixes branch
 #
 
-inherit eutils versionator
+inherit eutils versionator subversion
 
 # Release version
 MY_PV="${PV%_*}"
 
 # what product do we want
-if [[ ${PN} = mythtv ]]; then
-	MY_PN="mythtv"
-elif [[ ${PN} = mythtv-themes ]]; then
-	MY_PN="myththemes"
-else
-	MY_PN="mythplugins"
-fi
-
-# _pre is from SVN trunk while _p is from SVN ${MY_PV}-fixes
-if [[ ${MY_PV} != ${PV} ]]; then
-	if [[ $PV = *_pre* ]]; then
-		SVNREV="${PV##*_pre}"
-		ESVN_REPO_URI="http://svn.mythtv.org/svn/trunk/${MY_PN}"
-	elif [[ $PV = *_p* || $PV = *_beta* ]]; then
-		PATCHREV="${PV##*_p}"
-# as of 0.20_p13783, we're using svn always
-		if [[ $PATCHREV -gt 13783 ]]; then
-			SVNREV=$PATCHREV
-			unset PATCHREV
-			VER_COMP=( $(get_version_components ${MY_PV}) )
-			FIXES_VER="${VER_COMP[0]}-${VER_COMP[1]}"
-			ESVN_REPO_URI="http://svn.mythtv.org/svn/branches/release-${FIXES_VER}-fixes/${MY_PN}"
-		fi
-	fi
-fi
+case "${PN}" in
+	       mythtv) MY_PN="mythtv";;
+	mythtv-themes) MY_PN="myththemes";;
+	            *) MY_PN="mythplugins";;
+esac
+
+# _pre is from SVN trunk while _p and _beta are from SVN ${MY_PV}-fixes
+# TODO: probably ought to do something smart if the regex doesn't match anything
+[[ "${PV}" =~ (_beta|_pre|_p)([0-9]+) ]] || {
+	eerror "Invalid version requested (_beta|_pre|_p) only"
+	exit 1
+}
+
+REV_PREFIX="${BASH_REMATCH[1]}" # _beta, _pre, or _p
+MYTHTV_REV="${BASH_REMATCH[2]}" # revision number
 
-ESVN_OPTIONS="-r ${SVNREV}"
+case $REV_PREFIX in
+	    _pre) MYTHTV_REPO="trunk/${MY_PN}";;
+	_p|_beta) VER_COMP=( $(get_version_components ${MY_PV}) )
+	          FIXES_VER="${VER_COMP[0]}-${VER_COMP[1]}"
+	          MYTHTV_REPO="branches/release-${FIXES_VER}-fixes/${MY_PN}";;
+esac
+
+ESVN_REPO_URI="http://svn.mythtv.org/svn/${MYTHTV_REPO}"
+ESVN_OPTIONS="-r ${MYTHTV_REV}"
 
 HOMEPAGE="http://www.mythtv.org"
 LICENSE="GPL-2"
 SRC_URI=""
-if [[ -z ${SVNREV} ]] ; then
-	SRC_URI="${SRC_URI} mirror://gentoo/${MY_PN}-${MY_PV}.tar.bz2"
-fi
-if [[ -n ${PATCHREV} ]] ; then
-	SRC_URI="${SRC_URI}
-		http://dev.gentoo.org/~cardoe/files/mythtv/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch.bz2"
-fi
-
-mythtv-fixes_patch() {
-	if [[ -n ${PATCHREV} ]]; then
-		epatch "${WORKDIR}/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch"
-	fi
-}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2008-02-14 20:37 Doug Klima (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Klima (cardoe) @ 2008-02-14 20:37 UTC (permalink / raw
  To: gentoo-commits

cardoe      08/02/14 20:37:45

  Modified:             mythtv.eclass
  Log:
  unquoted variable in obsolete function

Revision  Changes    Path
1.9                  eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.8&r2=1.9

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mythtv.eclass	14 Feb 2008 20:36:32 -0000	1.8
+++ mythtv.eclass	14 Feb 2008 20:37:45 -0000	1.9
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.8 2008/02/14 20:36:32 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.9 2008/02/14 20:37:45 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org>
@@ -54,6 +54,6 @@
 
 mythtv-fixes_patch() {
 	if [[ -n ${PATCHREV} ]]; then
-		epatch ${WORKDIR}/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch
+		epatch "${WORKDIR}/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch"
 	fi
 }



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass
@ 2008-02-14 20:36 Doug Klima (cardoe)
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Klima (cardoe) @ 2008-02-14 20:36 UTC (permalink / raw
  To: gentoo-commits

cardoe      08/02/14 20:36:32

  Modified:             mythtv.eclass
  Log:
  update mythtv eclass to support beta releases

Revision  Changes    Path
1.8                  eclass/mythtv.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mythtv.eclass?r1=1.7&r2=1.8

Index: mythtv.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mythtv.eclass	6 Aug 2007 19:11:19 -0000	1.7
+++ mythtv.eclass	14 Feb 2008 20:36:32 -0000	1.8
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.7 2007/08/06 19:11:19 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.8 2008/02/14 20:36:32 cardoe Exp $
 #
 # @ECLASS: mythtv.eclass
 # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org>
@@ -26,7 +26,7 @@
 	if [[ $PV = *_pre* ]]; then
 		SVNREV="${PV##*_pre}"
 		ESVN_REPO_URI="http://svn.mythtv.org/svn/trunk/${MY_PN}"
-	elif [[ $PV = *_p* ]]; then
+	elif [[ $PV = *_p* || $PV = *_beta* ]]; then
 		PATCHREV="${PV##*_p}"
 # as of 0.20_p13783, we're using svn always
 		if [[ $PATCHREV -gt 13783 ]]; then



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-10-31  3:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 20:43 [gentoo-commits] gentoo-x86 commit in eclass: mythtv.eclass Doug Klima (cardoe)
  -- strict thread matches above, loose matches on Subject: below --
2009-11-16  7:59 Doug Goldstein (cardoe)
2009-10-31 22:10 Doug Goldstein (cardoe)
2009-10-16  4:26 Doug Goldstein (cardoe)
2009-08-25 16:51 Thomas Anderson (gentoofan23)
2009-08-04 20:55 Thomas Anderson (gentoofan23)
2009-07-19  4:12 Doug Goldstein (cardoe)
2009-07-19  3:34 Doug Goldstein (cardoe)
2008-04-01  4:05 Doug Klima (cardoe)
2008-02-20 20:03 Doug Klima (cardoe)
2008-02-14 22:41 Doug Klima (cardoe)
2008-02-14 20:37 Doug Klima (cardoe)
2008-02-14 20:36 Doug Klima (cardoe)

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