1 |
commit: 5e3a8c8e619349e0eb16ddc282e4dbeb71612d5a |
2 |
Author: Martin Gysel <me <AT> bearsh <DOT> org> |
3 |
AuthorDate: Sat Oct 26 18:30:01 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 1 14:06:44 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e3a8c8e |
7 |
|
8 |
dev-libs/libdivecomputer: remove old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/696526 |
11 |
Signed-off-by: Martin Gysel <me <AT> bearsh.org> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/13452 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
dev-libs/libdivecomputer/Manifest | 2 - |
16 |
.../libdivecomputer/libdivecomputer-0.4.1.ebuild | 74 ---------------------- |
17 |
.../libdivecomputer/libdivecomputer-0.4.2.ebuild | 74 ---------------------- |
18 |
3 files changed, 150 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/libdivecomputer/Manifest b/dev-libs/libdivecomputer/Manifest |
21 |
index 4a370131edc..5d0d3552844 100644 |
22 |
--- a/dev-libs/libdivecomputer/Manifest |
23 |
+++ b/dev-libs/libdivecomputer/Manifest |
24 |
@@ -1,3 +1 @@ |
25 |
-DIST libdivecomputer-0.4.1.tar.gz 481798 BLAKE2B c4e132087f833dabc8504cd2cdacfe2c5fb29c208855d799cbb095a1ac3c75e7562136a5d47a8ff5717fa7241eec2114812c3c854cb950e0260f9111f873ad9d SHA512 a1104981b1820ea93c3b3e389e42996f9199c5a4c37daf16e9577d8fd29b21440521d1ea5f89ec2df2861b582fd2e748d35eb811ad0d484eacce7d13d39bf88f |
26 |
-DIST libdivecomputer-0.4.2.tar.gz 487401 BLAKE2B fb6abdf8ac4a6bc4ab121dfcf4e898aed65a3ab7e8692c4a9525c46e3f7c890eeeac88d4903d7192752175f7c964fd0135cf1d119ffc2a49d572e4abf72d906f SHA512 590aca350d86d17a889f47238ad46f0a6a1353b5f7ed67c64a9bae303a010ab042e94a73a36c6f05f2d03d10c80b1fae49431ad581b3024db83b81711d5d1048 |
27 |
DIST libdivecomputer-0.6.0.tar.gz 680425 BLAKE2B 9ed951c6cdec07929ea7a9d3b842483ea1c88bff0171bfec1ec5a1a1d21a73580f70034856c97397bd21061d01967e14477ffabdf75b10bd6a736820b17e5b7f SHA512 b199d3e7e89fb2f79e4de5b54b086ae5f8b6bc08d02513e903e8fb008c1a453cf4cd4c4b7a94b1f7053ac53cc7b9085193b0ee0682318594c27ac2cb693c9b3f |
28 |
|
29 |
diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 36c4f31c926..00000000000 |
32 |
--- a/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,74 +0,0 @@ |
35 |
-# Copyright 1999-2016 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI="5" |
39 |
- |
40 |
-if [[ ${PV} = *9999* ]]; then |
41 |
- EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git" |
42 |
- GIT_ECLASS="git-2" |
43 |
- AUTOTOOLIZE=yes |
44 |
- KEYWORDS="" |
45 |
-else |
46 |
- KEYWORDS="~amd64 ~x86" |
47 |
-fi |
48 |
- |
49 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
50 |
-inherit eutils autotools-utils ${GIT_ECLASS} |
51 |
- |
52 |
-if [[ ${PV} = *9999* ]]; then |
53 |
- SRC_URI="" |
54 |
-else |
55 |
- SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz" |
56 |
-fi |
57 |
- |
58 |
-DESCRIPTION="Library for communication with dive computers from various manufacturers" |
59 |
-HOMEPAGE="http://www.divesoftware.org/libdc" |
60 |
-LICENSE="LGPL-2.1" |
61 |
- |
62 |
-SLOT="0" |
63 |
-IUSE="usb +static-libs -tools" |
64 |
- |
65 |
-RDEPEND="usb? ( virtual/libusb:1 )" |
66 |
-DEPEND="${RDEPEND} |
67 |
- virtual/pkgconfig" |
68 |
- |
69 |
-src_prepare() { |
70 |
- if [[ -n ${AUTOTOOLIZE} ]]; then |
71 |
- autotools-utils_src_prepare |
72 |
- else |
73 |
- epatch_user |
74 |
- fi |
75 |
-} |
76 |
- |
77 |
-src_configure() { |
78 |
- autotools-utils_src_configure |
79 |
- |
80 |
- if ! use tools ; then |
81 |
- sed -i 's|examples||' Makefile || die "sed failed" |
82 |
- fi |
83 |
-} |
84 |
- |
85 |
-src_compile() { |
86 |
- autotools-utils_src_compile |
87 |
-} |
88 |
- |
89 |
-src_install() { |
90 |
- autotools-utils_src_install |
91 |
- |
92 |
- if use tools ; then |
93 |
- einfo "prefixing tools with 'dctool_'" |
94 |
- pushd "${D}/usr/bin/" |
95 |
- for file in * ; do |
96 |
- mv "${file}" "dctool_${file}" || die "prefixing tools failed" |
97 |
- done |
98 |
- popd |
99 |
- fi |
100 |
-} |
101 |
- |
102 |
-pkg_postinst() { |
103 |
- if use tools ; then |
104 |
- elog "The 'tools' USE flag has been enabled," |
105 |
- elog "to avoid file collisions, all ${PN}" |
106 |
- elog "related tools have been prefixed with 'dctool_'" |
107 |
- fi |
108 |
-} |
109 |
|
110 |
diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild |
111 |
deleted file mode 100644 |
112 |
index 36c4f31c926..00000000000 |
113 |
--- a/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,74 +0,0 @@ |
116 |
-# Copyright 1999-2016 Gentoo Foundation |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
- |
119 |
-EAPI="5" |
120 |
- |
121 |
-if [[ ${PV} = *9999* ]]; then |
122 |
- EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git" |
123 |
- GIT_ECLASS="git-2" |
124 |
- AUTOTOOLIZE=yes |
125 |
- KEYWORDS="" |
126 |
-else |
127 |
- KEYWORDS="~amd64 ~x86" |
128 |
-fi |
129 |
- |
130 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
131 |
-inherit eutils autotools-utils ${GIT_ECLASS} |
132 |
- |
133 |
-if [[ ${PV} = *9999* ]]; then |
134 |
- SRC_URI="" |
135 |
-else |
136 |
- SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz" |
137 |
-fi |
138 |
- |
139 |
-DESCRIPTION="Library for communication with dive computers from various manufacturers" |
140 |
-HOMEPAGE="http://www.divesoftware.org/libdc" |
141 |
-LICENSE="LGPL-2.1" |
142 |
- |
143 |
-SLOT="0" |
144 |
-IUSE="usb +static-libs -tools" |
145 |
- |
146 |
-RDEPEND="usb? ( virtual/libusb:1 )" |
147 |
-DEPEND="${RDEPEND} |
148 |
- virtual/pkgconfig" |
149 |
- |
150 |
-src_prepare() { |
151 |
- if [[ -n ${AUTOTOOLIZE} ]]; then |
152 |
- autotools-utils_src_prepare |
153 |
- else |
154 |
- epatch_user |
155 |
- fi |
156 |
-} |
157 |
- |
158 |
-src_configure() { |
159 |
- autotools-utils_src_configure |
160 |
- |
161 |
- if ! use tools ; then |
162 |
- sed -i 's|examples||' Makefile || die "sed failed" |
163 |
- fi |
164 |
-} |
165 |
- |
166 |
-src_compile() { |
167 |
- autotools-utils_src_compile |
168 |
-} |
169 |
- |
170 |
-src_install() { |
171 |
- autotools-utils_src_install |
172 |
- |
173 |
- if use tools ; then |
174 |
- einfo "prefixing tools with 'dctool_'" |
175 |
- pushd "${D}/usr/bin/" |
176 |
- for file in * ; do |
177 |
- mv "${file}" "dctool_${file}" || die "prefixing tools failed" |
178 |
- done |
179 |
- popd |
180 |
- fi |
181 |
-} |
182 |
- |
183 |
-pkg_postinst() { |
184 |
- if use tools ; then |
185 |
- elog "The 'tools' USE flag has been enabled," |
186 |
- elog "to avoid file collisions, all ${PN}" |
187 |
- elog "related tools have been prefixed with 'dctool_'" |
188 |
- fi |
189 |
-} |