Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbytesize/
Date: Fri, 24 Jun 2022 07:43:15
Message-Id: 1656056581.3fa6a93c052e4ac07f1b5d2401bcbad055f6ce51.polynomial-c@gentoo
1 commit: 3fa6a93c052e4ac07f1b5d2401bcbad055f6ce51
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 23 13:50:04 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 24 07:43:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa6a93c
7
8 dev-libs/libbytesize: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 dev-libs/libbytesize/Manifest | 1 -
13 dev-libs/libbytesize/libbytesize-2.5.ebuild | 89 -----------------------------
14 2 files changed, 90 deletions(-)
15
16 diff --git a/dev-libs/libbytesize/Manifest b/dev-libs/libbytesize/Manifest
17 index 0bc1e44127bc..44b25f50477b 100644
18 --- a/dev-libs/libbytesize/Manifest
19 +++ b/dev-libs/libbytesize/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST libbytesize-2.5.tar.gz 439194 BLAKE2B 8d2cd82cea1e95f3368eed5855abfbc89b410fe1d627f7cbe69974f0d1fc89b600c93ad242816a37c3585b8318fcce77ef0fe6ab349d10f34a8be4c69303e343 SHA512 730d9c84bfc7199424fa34de5037dd9187d60c1f32d82cedc3e395167bf39a98a3b7f20b15f154206e797144c11de05ae0f606e0af6a2157ed946f138a346ad6
22 DIST libbytesize-2.6.tar.gz 444795 BLAKE2B 5f89b2c614ebdd8efd3ac0841ad99c32309bdb33236373a0c9b007415a2f40ff30a0edcecb56947f2f41403cabb6a6bff68c2e4ce52e322df15d6daa3e10d2af SHA512 f6e72b763216c54c08318d090d604791c61cd5a3e683ffbe6e9d01de850661bd4e8a3adeb85c6fd0fb60244e2e128292cbae06c0aa2d1fe9f34104e64af8210e
23 DIST libbytesize-2.7.tar.gz 445367 BLAKE2B de5e48b4e17364308c19bbf8e8d68f88ee9e79c9b99d77a81f9f7a1b65e09c2af0ca1ae28ac30ad1b1820335afc1aa4a2596cff487cfd770f04fda0fb38258cd SHA512 3f2bdebad1e145227d7c81b25b8832ab9f984513c35d81254f68c0cb50b1883f3b96fbb258d7c8223fb284d79dc4ec8b01beae3f7687cded629b269ef5b7210e
24
25 diff --git a/dev-libs/libbytesize/libbytesize-2.5.ebuild b/dev-libs/libbytesize/libbytesize-2.5.ebuild
26 deleted file mode 100644
27 index 9afd519fb6c1..000000000000
28 --- a/dev-libs/libbytesize/libbytesize-2.5.ebuild
29 +++ /dev/null
30 @@ -1,89 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -
38 -inherit autotools python-r1
39 -
40 -DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes"
41 -HOMEPAGE="https://github.com/storaged-project/libbytesize"
42 -SRC_URI="https://github.com/storaged-project/libbytesize/releases/download/${PV}/${P}.tar.gz"
43 -LICENSE="LGPL-2+"
44 -SLOT="0"
45 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
46 -IUSE="doc python test tools"
47 -
48 -REQUIRED_USE="
49 - python? ( ${PYTHON_REQUIRED_USE} )
50 - tools? ( python )
51 -"
52 -
53 -RDEPEND="
54 - dev-libs/gmp:0=
55 - dev-libs/mpfr:=
56 - dev-libs/libpcre2
57 - python? ( ${PYTHON_DEPS} )
58 -"
59 -
60 -DEPEND="${RDEPEND}"
61 -
62 -BDEPEND="
63 - sys-devel/gettext
64 - doc? ( dev-util/gtk-doc )
65 - test? (
66 - dev-python/pocketlint[${PYTHON_USEDEP}]
67 - dev-python/polib[${PYTHON_USEDEP}]
68 - )
69 -"
70 -
71 -DOCS=( README.md )
72 -
73 -RESTRICT="test"
74 -
75 -PATCHES=(
76 - "${FILESDIR}/${PN}-2.4-no_Werror.patch"
77 -)
78 -
79 -python_do() {
80 - if use python; then
81 - python_foreach_impl run_in_build_dir "$@"
82 - else
83 - "$@"
84 - fi
85 -}
86 -
87 -src_prepare() {
88 - default
89 - eautoreconf
90 -}
91 -
92 -src_configure() {
93 - local myeconfargs=(
94 - $(use_with doc gtk-doc)
95 - $(use_with python python3)
96 - $(use_with tools)
97 - )
98 - local ECONF_SOURCE="${S}"
99 - CONFIG_SHELL="${BROOT}/bin/bash" python_do econf "${myeconfargs[@]}"
100 -}
101 -
102 -src_compile() {
103 - python_do emake
104 -}
105 -
106 -src_test() {
107 - python_do emake check
108 -}
109 -
110 -install_helper() {
111 - emake DESTDIR="${D}" install
112 - use python && python_optimize
113 -}
114 -
115 -src_install() {
116 - python_do install_helper
117 - einstalldocs
118 - find "${ED}" -name "*.la" -type f -delete || die
119 -}