Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/
Date: Tue, 03 Jan 2023 15:21:28
Message-Id: 1672759236.e4b75196b40c712b7aa1c776564dcbec419d765e.tomjbe@gentoo
1 commit: e4b75196b40c712b7aa1c776564dcbec419d765e
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 3 15:19:10 2023 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 3 15:20:36 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b75196
7
8 media-libs/hamlib: drop 4.5, 4.5.1
9
10 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
11
12 media-libs/hamlib/Manifest | 2 -
13 media-libs/hamlib/hamlib-4.5.1.ebuild | 97 --------------------------------
14 media-libs/hamlib/hamlib-4.5.ebuild | 101 ----------------------------------
15 3 files changed, 200 deletions(-)
16
17 diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
18 index 7a18497ef0b7..bce411fa3727 100644
19 --- a/media-libs/hamlib/Manifest
20 +++ b/media-libs/hamlib/Manifest
21 @@ -1,4 +1,2 @@
22 DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7 SHA512 37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b
23 -DIST hamlib-4.5.1.tar.gz 2588713 BLAKE2B 11b45fe82adc0bedfabed1847589ee67fe3612c8b2c34e0c91bbf33b237f2992c97ab266687f7173767bf01db81747ea1b710af0bd3fdb3aa5c4035190d35ceb SHA512 3fbfa18f3f04890eb0bb2ffef5347ffc3759fa276d613785a0e585dd3613837db4461eb79bf7e3794f6ce33dcae8a4357b3f27c8be44a9d838fcb82cb0a60753
24 DIST hamlib-4.5.3.tar.gz 2590200 BLAKE2B 7c06a20a1185a2e413fee56231f3e0f6aa77a7585b9853896b00abb773e2e23fc5e97a8a3fbb873528282756ee674b1ca5b2b14f0fe8e6b9b8e8f7e8ffa223f2 SHA512 be3b58c7276c1289d85b4dc9054016757200fde06d66116f7a1687442e53bf322f0a3ae974c9b784cbd0bff0c64b901b97fac74184f4b4a0fdf1f5079d0ea509
25 -DIST hamlib-4.5.tar.gz 2568061 BLAKE2B 6ccb0c1faf8f64453c3696e75ced413048e7705184c7755fdde200be1d9b17f5495427ba492317cf7e75b5f373b859840d1d364db1f057c28f7779f8284fd96a SHA512 671da06aed54951ca810b4de7291a16de3a2f6ed54b8d024d4d9bfed9dfc6a21336c3cadd6f5b128c3ab54f1edd2b22db491b074b7759b9dfd9e71e1ce4055f3
26
27 diff --git a/media-libs/hamlib/hamlib-4.5.1.ebuild b/media-libs/hamlib/hamlib-4.5.1.ebuild
28 deleted file mode 100644
29 index a519e701d933..000000000000
30 --- a/media-libs/hamlib/hamlib-4.5.1.ebuild
31 +++ /dev/null
32 @@ -1,97 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -MY_P=${P/_rc2/~rc2}
40 -
41 -inherit autotools python-single-r1
42 -
43 -DESCRIPTION="Ham radio backend rig control libraries"
44 -HOMEPAGE="http://www.hamlib.org"
45 -SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
46 -
47 -LICENSE="LGPL-2 GPL-2"
48 -SLOT="0/4.2"
49 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
50 -IUSE="doc perl python tcl"
51 -
52 -RESTRICT="test"
53 -
54 -RDEPEND="
55 - =virtual/libusb-0*
56 - dev-libs/libxml2
57 - sys-libs/readline:0=
58 - perl? ( dev-lang/perl )
59 - python? ( ${PYTHON_DEPS} )
60 - tcl? ( dev-lang/tcl:0= )"
61 -
62 -DEPEND=" ${RDEPEND}
63 - virtual/pkgconfig
64 - dev-lang/swig
65 - >=sys-devel/libtool-2.2
66 - doc? ( app-doc/doxygen
67 - dev-util/source-highlight )"
68 -
69 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
70 -
71 -DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
72 -
73 -S="${WORKDIR}/${MY_P}"
74 -
75 -pkg_setup() {
76 - use python && python-single-r1_pkg_setup
77 -}
78 -
79 -src_prepare() {
80 - default
81 -
82 - # fix hardcoded libdir paths
83 - sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
84 - -e "s#fix}/include#fix}/include/hamlib#" \
85 - hamlib.pc.in || die "sed failed"
86 -
87 - # Correct install target to whatever INSTALLDIRS says and use vendor
88 - # installdirs everywhere (bug #611550)
89 - sed -i -e "s#install_site#install#" \
90 - -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" INSTALLDIRS=vendor#' \
91 - bindings/Makefile.am || die "sed failed patching for perl"
92 -
93 - # make building of documentation compatible with autotools-utils
94 - sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
95 -
96 - eautoreconf
97 -}
98 -
99 -src_configure() {
100 - econf \
101 - --libdir=/usr/$(get_libdir)/hamlib \
102 - --disable-static \
103 - --with-xml-support \
104 - $(use_with perl perl-binding) \
105 - $(use_with python python-binding) \
106 - $(use_with tcl tcl-binding)
107 -}
108 -
109 -src_compile() {
110 - emake
111 - use doc && emake html
112 -}
113 -
114 -src_install() {
115 - emake DESTDIR="${D}" install
116 -
117 - use python && python_optimize
118 -
119 - use doc && HTML_DOCS=( doc/html/ )
120 - einstalldocs
121 -
122 - insinto /usr/$(get_libdir)/pkgconfig
123 - doins hamlib.pc
124 -
125 - echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
126 - doenvd "${T}"/73hamlib
127 -
128 - find "${ED}" -name '*.la' -delete || die
129 -}
130
131 diff --git a/media-libs/hamlib/hamlib-4.5.ebuild b/media-libs/hamlib/hamlib-4.5.ebuild
132 deleted file mode 100644
133 index 18a7511241b4..000000000000
134 --- a/media-libs/hamlib/hamlib-4.5.ebuild
135 +++ /dev/null
136 @@ -1,101 +0,0 @@
137 -# Copyright 1999-2022 Gentoo Authors
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=8
141 -
142 -PYTHON_COMPAT=( python3_{8..10} )
143 -MY_P=${P/_rc2/~rc2}
144 -
145 -inherit autotools python-single-r1
146 -
147 -DESCRIPTION="Ham radio backend rig control libraries"
148 -HOMEPAGE="http://www.hamlib.org"
149 -SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
150 -
151 -LICENSE="LGPL-2 GPL-2"
152 -SLOT="0/4.2"
153 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
154 -IUSE="doc perl python tcl"
155 -
156 -RESTRICT="test"
157 -
158 -RDEPEND="
159 - =virtual/libusb-0*
160 - dev-libs/libxml2
161 - sys-libs/readline:0=
162 - perl? ( dev-lang/perl )
163 - python? ( ${PYTHON_DEPS} )
164 - tcl? ( dev-lang/tcl:0= )"
165 -
166 -DEPEND=" ${RDEPEND}
167 - virtual/pkgconfig
168 - dev-lang/swig
169 - >=sys-devel/libtool-2.2
170 - doc? ( app-doc/doxygen
171 - dev-util/source-highlight )"
172 -
173 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
174 -
175 -DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
176 -
177 -PATCHES=(
178 - "${FILESDIR}/${PN}-4.4-fix-clang-warnings.patch" # 880961
179 -)
180 -
181 -S="${WORKDIR}/${MY_P}"
182 -
183 -pkg_setup() {
184 - use python && python-single-r1_pkg_setup
185 -}
186 -
187 -src_prepare() {
188 - default
189 -
190 - # fix hardcoded libdir paths
191 - sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
192 - -e "s#fix}/include#fix}/include/hamlib#" \
193 - hamlib.pc.in || die "sed failed"
194 -
195 - # Correct install target to whatever INSTALLDIRS says and use vendor
196 - # installdirs everywhere (bug #611550)
197 - sed -i -e "s#install_site#install#" \
198 - -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" INSTALLDIRS=vendor#' \
199 - bindings/Makefile.am || die "sed failed patching for perl"
200 -
201 - # make building of documentation compatible with autotools-utils
202 - sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
203 -
204 - eautoreconf
205 -}
206 -
207 -src_configure() {
208 - econf \
209 - --libdir=/usr/$(get_libdir)/hamlib \
210 - --disable-static \
211 - --with-xml-support \
212 - $(use_with perl perl-binding) \
213 - $(use_with python python-binding) \
214 - $(use_with tcl tcl-binding)
215 -}
216 -
217 -src_compile() {
218 - emake
219 - use doc && emake html
220 -}
221 -
222 -src_install() {
223 - emake DESTDIR="${D}" install
224 -
225 - use python && python_optimize
226 -
227 - use doc && HTML_DOCS=( doc/html/ )
228 - einstalldocs
229 -
230 - insinto /usr/$(get_libdir)/pkgconfig
231 - doins hamlib.pc
232 -
233 - echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
234 - doenvd "${T}"/73hamlib
235 -
236 - find "${ED}" -name '*.la' -delete || die
237 -}