Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/szip/
Date: Thu, 14 Oct 2021 08:04:55
Message-Id: 1634198682.481d4038870ec68590e282eaae3a6ec9d4c957ef.jsmolic@gentoo
1 commit: 481d4038870ec68590e282eaae3a6ec9d4c957ef
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 14 07:42:28 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 14 08:04:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=481d4038
7
8 sci-libs/szip: Revert "drop 2.1.1"
9
10 * I've accidentaly removed version 2.1.1 instead of 2.1
11
12 This reverts commit 0ce003d9c0ff4b5d4670516b890e67b677a004a1.
13
14 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
15
16 sci-libs/szip/Manifest | 1 +
17 sci-libs/szip/szip-2.1.1.ebuild | 30 ++++++++++++++++++++++++++++++
18 2 files changed, 31 insertions(+)
19
20 diff --git a/sci-libs/szip/Manifest b/sci-libs/szip/Manifest
21 index 8514ce8c09e..d322f045334 100644
22 --- a/sci-libs/szip/Manifest
23 +++ b/sci-libs/szip/Manifest
24 @@ -1 +1,2 @@
25 +DIST szip-2.1.1.tar.gz 415774 BLAKE2B e0f8d1f6528801c422a4db0f0cad43dd2c17f913dfff85962f4b4d448176903bcb385f631d32c5328cfb114527220baa9fb7d560364f700a61d4930ce799a7a4 SHA512 ada6406efb096cd8a2daf8f9217fe9111a96dcae87e29d1c31f58ddd2ad2aa7bac03f23c7205dc9360f3b62d259461759330c7189ef0c2fe559704b1ea9d40dd
26 DIST szip-2.1.tar.gz 383219 BLAKE2B 84e10763bcec885a423d64c2c3cff0632d7a6a39c8cd177cf607f549cb4cd02a4ca03362464c2c4ec4539c80149493329427f529f5d6daea4a35b91af6fa1538 SHA512 bb7e0af6dfaaaaa85013ef52e6901d5b7b6159795338d285c2e843bd2879230a6397fb072662fdfeda5690981db4e9af94782c057bf993f92516d92a8934cb75
27
28 diff --git a/sci-libs/szip/szip-2.1.1.ebuild b/sci-libs/szip/szip-2.1.1.ebuild
29 new file mode 100644
30 index 00000000000..ebfb026a668
31 --- /dev/null
32 +++ b/sci-libs/szip/szip-2.1.1.ebuild
33 @@ -0,0 +1,30 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +DESCRIPTION="Extended-Rice lossless compression algorithm implementation"
40 +HOMEPAGE="https://www.hdfgroup.org/doc_resource/SZIP/"
41 +SRC_URI="https://support.hdfgroup.org/ftp/lib-external/${PN}/${PV}/src/${P}.tar.gz"
42 +
43 +LICENSE="szip"
44 +SLOT="0/2"
45 +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
46 +IUSE="static-libs"
47 +
48 +RDEPEND="!sci-libs/libaec[szip]"
49 +DEPEND=""
50 +
51 +DOCS=( RELEASE.txt HISTORY.txt test/example.c )
52 +
53 +src_configure() {
54 + econf $(use_enable static-libs static)
55 +}
56 +
57 +src_install() {
58 + default
59 +
60 + if ! use static-libs; then
61 + find "${ED}" -name '*.la' -delete || die
62 + fi
63 +}