1 |
commit: 1e3aa362c53bb84312e67ab4f055223e3fe06391 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 21 10:49:24 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 21 10:49:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3aa362 |
7 |
|
8 |
dev-libs/libbytesize: Removed old |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libbytesize/Manifest | 2 - |
14 |
dev-libs/libbytesize/libbytesize-1.4.ebuild | 66 ------------------------ |
15 |
dev-libs/libbytesize/libbytesize-2.1.ebuild | 80 ----------------------------- |
16 |
3 files changed, 148 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/libbytesize/Manifest b/dev-libs/libbytesize/Manifest |
19 |
index 4b660c558f6..89aa9afc701 100644 |
20 |
--- a/dev-libs/libbytesize/Manifest |
21 |
+++ b/dev-libs/libbytesize/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
-DIST libbytesize-1.4.tar.gz 80943 BLAKE2B d4c6c34d81be01bf7db2c37b0660886d99eff3c0a87024f5fbc12cc3606dc01e772b81dfbcacbf76c62213120253a9e7bda90adbc749b6d4c3e31e1ed3ae7702 SHA512 5dd13cf52a1674be776220ee1863f42261a47dc53af1ce4a31460d6d02ce87e19c5a52260f700928af98f1d9d7a96de7c11d8f384907b3187ef2effc10cbb593 |
24 |
-DIST libbytesize-2.1.tar.gz 440209 BLAKE2B 7c689f269eae7b408b7f85fb9c877c9eb519d2a2eb143ef0ddb1657fbb4d79fab7cdaa56b35b4bbbb964e47361e37d7c70a0a135bacb8f817bd6cf8d2e22b68e SHA512 6b93d877e921820c19ed6874a36d9f8b6958112f6230f24980e8e6e30570b39ce74594f0ef126f70dc81b5434899c1f0f3ad0925f3ff7b6a596a9329c8f106c8 |
25 |
DIST libbytesize-2.2.tar.gz 443040 BLAKE2B 04035f99f1da4d2d426106e1f292d71089dae89923d41425fa815a72e375639a7d8b6fc5552a3f08462597ce9c19797c7fce5b79fdad504b9062168093a70a4f SHA512 4538ac3499a24023c21fe07f527e400f99509921e377248970ac2da0eaf1655ddb261f432eed46a59ef69a1275ba7d1e5b0cc488d64eeea936b6cfa54c552ac1 |
26 |
DIST libbytesize-2.3.tar.gz 438198 BLAKE2B 583450b66781bbb16298507292ffe60012ccc296f0822784ead13bcf1ce3f9a9cf7c2341d5f64d3356fb78aefb3e6b0770bce64ebf85aa92d168277d35f9629c SHA512 23720b90f4dbf7880a640ec04e910c4c1f34637dd3621900772187cb2e1d04ec34d4900ce3c9b4083ac462b411d5a409a644f62ed76b2c57ef1f11432c58be8a |
27 |
|
28 |
diff --git a/dev-libs/libbytesize/libbytesize-1.4.ebuild b/dev-libs/libbytesize/libbytesize-1.4.ebuild |
29 |
deleted file mode 100644 |
30 |
index 617d3525db9..00000000000 |
31 |
--- a/dev-libs/libbytesize/libbytesize-1.4.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,66 +0,0 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-PYTHON_COMPAT=( python3_{6,7} ) |
40 |
- |
41 |
-inherit autotools python-r1 |
42 |
- |
43 |
-DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes" |
44 |
-HOMEPAGE="https://github.com/storaged-project/libbytesize" |
45 |
-SRC_URI="https://github.com/storaged-project/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
-LICENSE="LGPL-2+" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86" |
49 |
-IUSE="doc test" |
50 |
- |
51 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- ${PYTHON_DEPS} |
55 |
- dev-libs/gmp:0= |
56 |
- dev-libs/mpfr:= |
57 |
- >=dev-libs/libpcre-8.32 |
58 |
-" |
59 |
- |
60 |
-DEPEND=" |
61 |
- ${RDEPEND} |
62 |
- sys-devel/gettext |
63 |
- doc? ( dev-util/gtk-doc ) |
64 |
- test? ( |
65 |
- dev-python/pocketlint |
66 |
- dev-python/polib |
67 |
- ) |
68 |
-" |
69 |
- |
70 |
-RESTRICT="test" |
71 |
- |
72 |
-pkg_setup() { |
73 |
- python_setup |
74 |
-} |
75 |
- |
76 |
-src_prepare() { |
77 |
- default |
78 |
- eautoreconf |
79 |
-} |
80 |
- |
81 |
-src_configure() { |
82 |
- local myeconfargs=( |
83 |
- --without-python3 #634840 |
84 |
- $(use_with doc gtk-doc) |
85 |
- ) |
86 |
- econf "${myeconfargs[@]}" |
87 |
-} |
88 |
- |
89 |
-src_install() { |
90 |
- emake install DESTDIR="${D}" |
91 |
- |
92 |
- python_install() { |
93 |
- emake -C src/python install DESTDIR="${D}" |
94 |
- python_optimize |
95 |
- } |
96 |
- python_foreach_impl python_install |
97 |
- |
98 |
- find "${ED}" -name "*.la*" -delete || die |
99 |
-} |
100 |
|
101 |
diff --git a/dev-libs/libbytesize/libbytesize-2.1.ebuild b/dev-libs/libbytesize/libbytesize-2.1.ebuild |
102 |
deleted file mode 100644 |
103 |
index 0d91bc5f999..00000000000 |
104 |
--- a/dev-libs/libbytesize/libbytesize-2.1.ebuild |
105 |
+++ /dev/null |
106 |
@@ -1,80 +0,0 @@ |
107 |
-# Copyright 1999-2020 Gentoo Authors |
108 |
-# Distributed under the terms of the GNU General Public License v2 |
109 |
- |
110 |
-EAPI=7 |
111 |
- |
112 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
113 |
- |
114 |
-inherit python-r1 |
115 |
- |
116 |
-DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes" |
117 |
-HOMEPAGE="https://github.com/storaged-project/libbytesize" |
118 |
-SRC_URI="https://github.com/storaged-project/libbytesize/releases/download/${PV}/${P}.tar.gz" |
119 |
-LICENSE="LGPL-2+" |
120 |
-SLOT="0" |
121 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
122 |
-IUSE="doc python test tools" |
123 |
- |
124 |
-REQUIRED_USE=" |
125 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
126 |
- tools? ( python ) |
127 |
-" |
128 |
- |
129 |
-RDEPEND=" |
130 |
- dev-libs/gmp:0= |
131 |
- dev-libs/mpfr:= |
132 |
- dev-libs/libpcre2 |
133 |
- python? ( ${PYTHON_DEPS} ) |
134 |
-" |
135 |
- |
136 |
-DEPEND="${RDEPEND}" |
137 |
- |
138 |
-BDEPEND=" |
139 |
- sys-devel/gettext |
140 |
- doc? ( dev-util/gtk-doc ) |
141 |
- test? ( |
142 |
- dev-python/pocketlint[${PYTHON_USEDEP}] |
143 |
- dev-python/polib[${PYTHON_USEDEP}] |
144 |
- ) |
145 |
-" |
146 |
- |
147 |
-DOCS=( README.md ) |
148 |
- |
149 |
-RESTRICT="test" |
150 |
- |
151 |
-python_do() { |
152 |
- if use python; then |
153 |
- python_foreach_impl run_in_build_dir "$@" |
154 |
- else |
155 |
- "$@" |
156 |
- fi |
157 |
-} |
158 |
- |
159 |
-src_configure() { |
160 |
- local myeconfargs=( |
161 |
- $(use_with doc gtk-doc) |
162 |
- $(use_with python python3) |
163 |
- $(use_with tools) |
164 |
- ) |
165 |
- local ECONF_SOURCE="${S}" |
166 |
- python_do econf "${myeconfargs[@]}" |
167 |
-} |
168 |
- |
169 |
-src_compile() { |
170 |
- python_do emake |
171 |
-} |
172 |
- |
173 |
-src_test() { |
174 |
- python_do emake check |
175 |
-} |
176 |
- |
177 |
-install_helper() { |
178 |
- emake DESTDIR="${D}" install |
179 |
- use python && python_optimize |
180 |
-} |
181 |
- |
182 |
-src_install() { |
183 |
- python_do install_helper |
184 |
- einstalldocs |
185 |
- find "${ED}" -name "*.la" -type f -delete || die |
186 |
-} |