1 |
commit: ff2aad81bd2f8f0f1447ef358d1c803aa8e8eff6 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 28 22:12:42 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 28 22:17:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2aad81 |
7 |
|
8 |
dev-util/astyle: remove unslotted variants |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-util/astyle/astyle-3.0.1.ebuild | 85 ---------------------------------- |
13 |
dev-util/astyle/astyle-3.1-r1.ebuild | 90 ------------------------------------ |
14 |
2 files changed, 175 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/astyle/astyle-3.0.1.ebuild b/dev-util/astyle/astyle-3.0.1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 369eb7a2300..00000000000 |
19 |
--- a/dev-util/astyle/astyle-3.0.1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,85 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2 |
28 |
- |
29 |
-DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" |
30 |
-HOMEPAGE="http://astyle.sourceforge.net/" |
31 |
-SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" |
32 |
- |
33 |
-LICENSE="MIT" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
36 |
-IUSE="examples java static-libs" |
37 |
- |
38 |
-DEPEND="app-arch/xz-utils |
39 |
- java? ( >=virtual/jdk-1.6:= )" |
40 |
-RDEPEND="${DEPEND}" |
41 |
- |
42 |
-S="${WORKDIR}/${PN}" |
43 |
- |
44 |
-src_prepare() { |
45 |
- if use java ; then |
46 |
- java-pkg-opt-2_src_prepare |
47 |
- sed -e "s:^\(JAVAINCS\s*\)=.*$:\1= $(java-pkg_get-jni-cflags):" \ |
48 |
- -e "s:ar crs:$(tc-getAR) crs:" \ |
49 |
- -i build/gcc/Makefile || die |
50 |
- else |
51 |
- default |
52 |
- fi |
53 |
-} |
54 |
- |
55 |
-src_configure() { |
56 |
- append-cxxflags -std=c++11 |
57 |
- tc-export CXX |
58 |
- default |
59 |
-} |
60 |
- |
61 |
-src_compile() { |
62 |
- # ../build/clang/Makefile is identical except for CXX line. |
63 |
- emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \ |
64 |
- ${PN} \ |
65 |
- shared \ |
66 |
- $(usev java) \ |
67 |
- $(usex static-libs static '') |
68 |
-} |
69 |
- |
70 |
-src_install() { |
71 |
- doheader src/${PN}.h |
72 |
- |
73 |
- pushd src/bin >/dev/null || die |
74 |
- dobin ${PN} |
75 |
- |
76 |
- # ex: libastyle.so.3.0.1 |
77 |
- dolib.so lib${PN}.so.${PV} |
78 |
- # ex: libastyle.so.3 |
79 |
- dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) |
80 |
- if use java ; then |
81 |
- dolib.so lib${PN}j.so.${PV} |
82 |
- dosym lib${PN}j.so.${PV} /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version) |
83 |
- fi |
84 |
- if use static-libs ; then |
85 |
- dolib lib${PN}.a |
86 |
- fi |
87 |
- popd >/dev/null || die |
88 |
- if use examples ; then |
89 |
- docinto examples |
90 |
- dodoc -r file/. |
91 |
- docompress -x /usr/share/doc/${PF}/examples |
92 |
- fi |
93 |
- local HTML_DOCS=( doc/. ) |
94 |
- einstalldocs |
95 |
-} |
96 |
- |
97 |
-pkg_postinst() { |
98 |
- if [[ -n "$REPLACING_VERSIONS" && "$(get_major_version $REPLACING_VERSIONS)" -lt 3 ]]; then |
99 |
- elog "Artistic Style 3.0 introduces new configuration verbiage more fitting" |
100 |
- elog "for modern use. Some options that were valid in 2.06 or older are now" |
101 |
- elog "deprecated. For more information, consult astyle's release notes at" |
102 |
- elog "http://astyle.sourceforge.net/news.html. To view offline, see:" |
103 |
- elog |
104 |
- elog "${ROOT}usr/share/doc/${P}/html" |
105 |
- fi |
106 |
-} |
107 |
|
108 |
diff --git a/dev-util/astyle/astyle-3.1-r1.ebuild b/dev-util/astyle/astyle-3.1-r1.ebuild |
109 |
deleted file mode 100644 |
110 |
index 75d605a3c89..00000000000 |
111 |
--- a/dev-util/astyle/astyle-3.1-r1.ebuild |
112 |
+++ /dev/null |
113 |
@@ -1,90 +0,0 @@ |
114 |
-# Copyright 1999-2018 Gentoo Foundation |
115 |
-# Distributed under the terms of the GNU General Public License v2 |
116 |
- |
117 |
-EAPI=6 |
118 |
- |
119 |
-inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2 |
120 |
- |
121 |
-DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" |
122 |
-HOMEPAGE="http://astyle.sourceforge.net/" |
123 |
-SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" |
124 |
- |
125 |
-LICENSE="MIT" |
126 |
-SLOT="0" |
127 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
128 |
-IUSE="examples java static-libs" |
129 |
- |
130 |
-DEPEND="app-arch/xz-utils |
131 |
- java? ( >=virtual/jdk-1.6:= )" |
132 |
-RDEPEND="${DEPEND}" |
133 |
- |
134 |
-S="${WORKDIR}/${PN}" |
135 |
- |
136 |
-src_prepare() { |
137 |
- if use java ; then |
138 |
- java-pkg-opt-2_src_prepare |
139 |
- sed -e "s:^\(JAVAINCS\s*\)=.*$:\1= $(java-pkg_get-jni-cflags):" \ |
140 |
- -e "s:ar crs:$(tc-getAR) crs:" \ |
141 |
- -i build/gcc/Makefile || die |
142 |
- else |
143 |
- default |
144 |
- fi |
145 |
-} |
146 |
- |
147 |
-src_configure() { |
148 |
- append-cxxflags -std=c++11 |
149 |
- tc-export CXX |
150 |
- default |
151 |
-} |
152 |
- |
153 |
-src_compile() { |
154 |
- # ../build/clang/Makefile is identical except for CXX line. |
155 |
- emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \ |
156 |
- ${PN} \ |
157 |
- shared \ |
158 |
- $(usev java) \ |
159 |
- $(usex static-libs static '') |
160 |
-} |
161 |
- |
162 |
-src_install() { |
163 |
- doheader src/${PN}.h |
164 |
- |
165 |
- pushd src/bin >/dev/null || die |
166 |
- dobin ${PN} |
167 |
- |
168 |
- # ex: libastyle.so.3.0.1 |
169 |
- local libastylename=lib${PN}.so.${PV}.0 |
170 |
- dolib.so ${libastylename} |
171 |
- # ex: libastyle.so.3 |
172 |
- local libdestdir=/usr/$(get_libdir) |
173 |
- dosym ${libastylename} ${libdestdir}/lib${PN}.so.$(get_major_version) |
174 |
- dosym ${libastylename} ${libdestdir}/lib${PN}.so |
175 |
- if use java ; then |
176 |
- local libastylejname=lib${PN}j.so.${PV}.0 |
177 |
- dolib.so ${libastylejname} |
178 |
- dosym ${libastylejname} ${libdestdir}/lib${PN}j.so.$(get_major_version) |
179 |
- dosym ${libastylejname} ${libdestdir}/lib${PN}j.so |
180 |
- fi |
181 |
- if use static-libs ; then |
182 |
- dolib.a lib${PN}.a |
183 |
- fi |
184 |
- popd >/dev/null || die |
185 |
- if use examples ; then |
186 |
- docinto examples |
187 |
- dodoc -r file/. |
188 |
- docompress -x /usr/share/doc/${PF}/examples |
189 |
- fi |
190 |
- local HTML_DOCS=( doc/. ) |
191 |
- einstalldocs |
192 |
-} |
193 |
- |
194 |
-pkg_postinst() { |
195 |
- if [[ -n "$REPLACING_VERSIONS" && "$(get_major_version $REPLACING_VERSIONS)" -lt 3 ]]; then |
196 |
- elog "Artistic Style 3.0 introduces new configuration verbiage more fitting" |
197 |
- elog "for modern use. Some options that were valid in 2.06 or older are now" |
198 |
- elog "deprecated. For more information, consult astyle's release notes at" |
199 |
- elog "http://astyle.sourceforge.net/news.html. To view offline, see:" |
200 |
- elog |
201 |
- elog "${EROOT%/}/usr/share/doc/${P}/html" |
202 |
- fi |
203 |
-} |