1 |
vapier 15/02/09 15:43:16 |
2 |
|
3 |
Modified: toolchain-binutils.eclass |
4 |
Log: |
5 |
drop cvs support |
6 |
|
7 |
Revision Changes Path |
8 |
1.138 eclass/toolchain-binutils.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.138&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.138&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.137&r2=1.138 |
13 |
|
14 |
Index: toolchain-binutils.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v |
17 |
retrieving revision 1.137 |
18 |
retrieving revision 1.138 |
19 |
diff -u -r1.137 -r1.138 |
20 |
--- toolchain-binutils.eclass 8 Nov 2014 17:12:09 -0000 1.137 |
21 |
+++ toolchain-binutils.eclass 9 Feb 2015 15:43:16 -0000 1.138 |
22 |
@@ -1,6 +1,6 @@ |
23 |
-# Copyright 1999-2013 Gentoo Foundation |
24 |
+# Copyright 1999-2015 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.137 2014/11/08 17:12:09 vapier Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.138 2015/02/09 15:43:16 vapier Exp $ |
28 |
# |
29 |
# Maintainer: Toolchain Ninjas <toolchain@g.o> |
30 |
# |
31 |
@@ -8,17 +8,14 @@ |
32 |
# us easily merge multiple versions for multiple targets (if we wish) and |
33 |
# then switch the versions on the fly (with `binutils-config`). |
34 |
# |
35 |
-# binutils-99999999 -> live cvs |
36 |
# binutils-9999 -> live git |
37 |
# binutils-9999_preYYMMDD -> nightly snapshot date YYMMDD |
38 |
# binutils-# -> normal release |
39 |
|
40 |
-extra_eclass="" |
41 |
if [[ -n ${BINUTILS_TYPE} ]] ; then |
42 |
BTYPE=${BINUTILS_TYPE} |
43 |
else |
44 |
case ${PV} in |
45 |
- 99999999) BTYPE="cvs";; |
46 |
9999) BTYPE="git";; |
47 |
9999_pre*) BTYPE="snap";; |
48 |
*.*.90) BTYPE="snap";; |
49 |
@@ -28,18 +25,10 @@ |
50 |
fi |
51 |
|
52 |
case ${BTYPE} in |
53 |
-cvs) |
54 |
- extra_eclass="cvs" |
55 |
- ECVS_SERVER="sourceware.org:/cvs/src" |
56 |
- ECVS_MODULE="binutils" |
57 |
- ECVS_USER="anoncvs" |
58 |
- ECVS_PASS="anoncvs" |
59 |
- BVER="cvs" |
60 |
- ;; |
61 |
git) |
62 |
- extra_eclass="git-2" |
63 |
BVER="git" |
64 |
EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" |
65 |
+ inherit git-2 |
66 |
;; |
67 |
snap) |
68 |
BVER=${PV/9999_pre} |
69 |
@@ -49,7 +38,7 @@ |
70 |
;; |
71 |
esac |
72 |
|
73 |
-inherit eutils libtool flag-o-matic gnuconfig multilib versionator unpacker ${extra_eclass} |
74 |
+inherit eutils libtool flag-o-matic gnuconfig multilib versionator unpacker |
75 |
case ${EAPI:-0} in |
76 |
0|1) |
77 |
EXPORT_FUNCTIONS src_unpack src_compile src_test src_install pkg_postinst pkg_postrm ;; |
78 |
@@ -70,7 +59,7 @@ |
79 |
HOMEPAGE="http://sourceware.org/binutils/" |
80 |
|
81 |
case ${BTYPE} in |
82 |
- cvs|git) SRC_URI="" ;; |
83 |
+ git) SRC_URI="" ;; |
84 |
snap) |
85 |
SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2 |
86 |
ftp://sourceware.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;; |
87 |
@@ -119,7 +108,7 @@ |
88 |
|
89 |
S=${WORKDIR}/binutils |
90 |
case ${BVER} in |
91 |
-cvs|git) ;; |
92 |
+git) ;; |
93 |
*) S=${S}-${BVER} ;; |
94 |
esac |
95 |
|
96 |
@@ -135,7 +124,6 @@ |
97 |
|
98 |
tc-binutils_unpack() { |
99 |
case ${BTYPE} in |
100 |
- cvs) cvs_src_unpack ;; |
101 |
git) git-2_src_unpack ;; |
102 |
*) unpacker ${A} ;; |
103 |
esac |