Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bcpp/files/, dev-util/bcpp/
Date: Sat, 24 Jun 2017 02:17:06
Message-Id: 1498270611.25f72daf7cd6a280d050715ed203d9c783345b02.kensington@gentoo
1 commit: 25f72daf7cd6a280d050715ed203d9c783345b02
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 24 02:15:07 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 24 02:16:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f72daf
7
8 dev-util/bcpp: remove old
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-util/bcpp/Manifest | 2 --
13 dev-util/bcpp/bcpp-20050725.ebuild | 39 --------------------
14 dev-util/bcpp/bcpp-20090630.ebuild | 41 ----------------------
15 dev-util/bcpp/bcpp-20150811.ebuild | 41 ----------------------
16 .../bcpp/files/bcpp-20050725-etc-cfg-files.patch | 22 ------------
17 5 files changed, 145 deletions(-)
18
19 diff --git a/dev-util/bcpp/Manifest b/dev-util/bcpp/Manifest
20 index 2db73d4cef7..ce3f8706288 100644
21 --- a/dev-util/bcpp/Manifest
22 +++ b/dev-util/bcpp/Manifest
23 @@ -1,3 +1 @@
24 -DIST bcpp-20050725.tgz 132649 SHA256 1a4b5e8e741d6be400eb68b7c4a3eebc6dabe29948a72a7a0bccb1db075eaa2a SHA512 0ada3aee998fa6748e7492bfe2e0d6e5417640eaa19aa3342637ee1d162c907d2af4fd2d1ab24661f36798d2d51fa017d9c113b8499b32bf4d521e130aa75323 WHIRLPOOL fff51c65b60351c9a7c55d060754e3e09383b905820ab79aa2f371a894a82d8a3fa5a00b00a066380909c49487e262f99a832022b5f214d564e43b8939fcbdcb
25 -DIST bcpp-20090630.tgz 138757 SHA256 27b46ab3cef53a658605f350e3982862e17b523e703f23617530a57180200a34 SHA512 660d11c0d8a8d3ccc2a4c14ccb60164a43647fface79ffd86b8d99519e227e32a882fc213a5fef64fd3aee1c409c4bb0a871dfd6d6a09a8ad35e253baef6496b WHIRLPOOL 1fa68efd9874933de2097b87aab0dd586cbc29cf7fc3d4ba6d80984ecb289f01d8093e82fbca3f8077300887a8d1b1b970ed5bcabb0a766489bdcb23704f7ac2
26 DIST bcpp-20150811.tgz 145969 SHA256 6a18d68a09c4a0e8bf62d23d13ed7c8a62c98664a655f9d648bc466240ce97c3 SHA512 a11462574bd87cf66dc50ce23f188d335480aae5448b527694791d4b7ae5cde27c0e0c0850dc8899b2b66198c37a434985c833f95f7f2d2d88a3b7dfe4ff34a9 WHIRLPOOL 959677314ce1bbd361b3060f7f8f028ad89cce8d7167ecc169f6d49a854ecfadc50177be2dd2ffdac838252f67af72d2a4c341b2666208bc8cef1aadcee867db
27
28 diff --git a/dev-util/bcpp/bcpp-20050725.ebuild b/dev-util/bcpp/bcpp-20050725.ebuild
29 deleted file mode 100644
30 index 2dc4a6daba8..00000000000
31 --- a/dev-util/bcpp/bcpp-20050725.ebuild
32 +++ /dev/null
33 @@ -1,39 +0,0 @@
34 -# Copyright 1999-2010 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -inherit eutils
38 -
39 -DESCRIPTION="Indents C/C++ source code"
40 -HOMEPAGE="http://invisible-island.net/bcpp/"
41 -SRC_URI="ftp://invisible-island.net/bcpp/${P}.tgz"
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
45 -IUSE=""
46 -DEPEND=""
47 -RDEPEND=""
48 -
49 -src_unpack() {
50 - unpack ${A}
51 - cd "${S}"
52 - epatch "${FILESDIR}/${P}-etc-cfg-files.patch"
53 -}
54 -
55 -src_install() {
56 - make DESTDIR="${D}" install || die
57 - dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \
58 - txtdocs/manual.txt
59 -
60 - # install our configuration files
61 - insinto /etc/bcpp
62 - doins bcpp.cfg indent.cfg
63 -}
64 -
65 -pkg_postinst() {
66 - elog "Check the documentation for more information on how to"
67 - elog "Run bcpp. Please note that in order to get help for"
68 - elog "bcpp, please run bcpp -h and not the command by itself."
69 - elog ""
70 - elog "Configuration files are at /etc/bcpp."
71 - elog "To use them, use the -c option followed by the filename."
72 -}
73
74 diff --git a/dev-util/bcpp/bcpp-20090630.ebuild b/dev-util/bcpp/bcpp-20090630.ebuild
75 deleted file mode 100644
76 index 2f411f8f2e0..00000000000
77 --- a/dev-util/bcpp/bcpp-20090630.ebuild
78 +++ /dev/null
79 @@ -1,41 +0,0 @@
80 -# Copyright 1999-2010 Gentoo Foundation
81 -# Distributed under the terms of the GNU General Public License v2
82 -
83 -EAPI="2"
84 -
85 -inherit eutils
86 -
87 -DESCRIPTION="Indents C/C++ source code"
88 -HOMEPAGE="http://invisible-island.net/bcpp/"
89 -SRC_URI="ftp://invisible-island.net/bcpp/${P}.tgz"
90 -
91 -LICENSE="GPL-2"
92 -SLOT="0"
93 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
94 -IUSE=""
95 -
96 -DEPEND=""
97 -RDEPEND=""
98 -
99 -src_prepare() {
100 - epatch "${FILESDIR}/${PN}-20050725-etc-cfg-files.patch"
101 -}
102 -
103 -src_install() {
104 - make DESTDIR="${D}" install || die "make install failed"
105 - dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \
106 - txtdocs/manual.txt || die "dodoc failed"
107 -
108 - # Install our configuration files.
109 - insinto /etc/bcpp
110 - doins bcpp.cfg indent.cfg || die "doins failed"
111 -}
112 -
113 -pkg_postinst() {
114 - elog "Check the documentation for more information on how to"
115 - elog "Run bcpp. Please note that in order to get help for"
116 - elog "bcpp, please run bcpp -h and not the command by itself."
117 - elog ""
118 - elog "Configuration files are at /etc/bcpp."
119 - elog "To use them, use the -c option followed by the filename."
120 -}
121
122 diff --git a/dev-util/bcpp/bcpp-20150811.ebuild b/dev-util/bcpp/bcpp-20150811.ebuild
123 deleted file mode 100644
124 index 93e1eb53958..00000000000
125 --- a/dev-util/bcpp/bcpp-20150811.ebuild
126 +++ /dev/null
127 @@ -1,41 +0,0 @@
128 -# Copyright 1999-2015 Gentoo Foundation
129 -# Distributed under the terms of the GNU General Public License v2
130 -
131 -EAPI="5"
132 -
133 -inherit eutils
134 -
135 -DESCRIPTION="Indents C/C++ source code"
136 -HOMEPAGE="http://invisible-island.net/bcpp/"
137 -SRC_URI="ftp://invisible-island.net/bcpp/${P}.tgz"
138 -
139 -LICENSE="GPL-2"
140 -SLOT="0"
141 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
142 -IUSE=""
143 -
144 -DEPEND=""
145 -RDEPEND=""
146 -
147 -src_compile() {
148 - emake CPPFLAGS='-DBCPP_CONFIG_DIR=\"/etc/bcpp/\"'
149 -}
150 -
151 -src_install() {
152 - make DESTDIR="${D}" install || die "make install failed"
153 - dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \
154 - txtdocs/manual.txt || die "dodoc failed"
155 -
156 - # Install our configuration files.
157 - insinto /etc/bcpp
158 - doins bcpp.cfg indent.cfg || die "doins failed"
159 -}
160 -
161 -pkg_postinst() {
162 - elog "Check the documentation for more information on how to"
163 - elog "Run bcpp. Please note that in order to get help for"
164 - elog "bcpp, please run bcpp -h and not the command by itself."
165 - elog ""
166 - elog "Configuration files are at /etc/bcpp."
167 - elog "To use them, use the -c option followed by the filename."
168 -}
169
170 diff --git a/dev-util/bcpp/files/bcpp-20050725-etc-cfg-files.patch b/dev-util/bcpp/files/bcpp-20050725-etc-cfg-files.patch
171 deleted file mode 100644
172 index e6ba66cd794..00000000000
173 --- a/dev-util/bcpp/files/bcpp-20050725-etc-cfg-files.patch
174 +++ /dev/null
175 @@ -1,22 +0,0 @@
176 -*** bcpp-20050725/code/bcpp.cpp.orig 2008-07-12 10:07:55.000000000 -0700
177 ---- bcpp-20050725/code/bcpp.cpp 2008-07-12 10:07:57.000000000 -0700
178 -***************
179 -*** 3100,3110 ****
180 ---- 3100,3116 ----
181 - const char* pathSepChar;
182 - char backUp;
183 - int count = 0;
184 -+ char buf[40];
185 -
186 - // test to see if file is in current directory first !
187 - if ((pCfgFile = fopen(pCfgName, "r")) != NULL)
188 - return;
189 -
190 -+ // try /etc/bcpp
191 -+ snprintf(buf, 40, "/etc/bcpp/%s", pCfgName);
192 -+ if ((pCfgFile = fopen(buf, "r")) != NULL)
193 -+ return;
194 -+
195 - // environment variable not found, lord knows what it is !
196 - if (pSPath == NULL)
197 - return;