Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: app-arch/libdeflate/
Date: Mon, 01 Mar 2021 13:14:30
Message-Id: 1614604463.7b177dc46a24a7d1e377c4118d881553d1f75f64.epsilon-0@gentoo
1 commit: 7b177dc46a24a7d1e377c4118d881553d1f75f64
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Mon Mar 1 13:14:08 2021 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Mon Mar 1 13:14:23 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7b177dc4
7
8 app-arch/libdeflate: version bump to 1.7
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 app-arch/libdeflate/libdeflate-1.7.ebuild | 28 ++++++++++++++++++++++++++++
14 app-arch/libdeflate/libdeflate-9999.ebuild | 28 ++++++++++++++++++++++++++++
15 app-arch/libdeflate/metadata.xml | 4 ++++
16 3 files changed, 60 insertions(+)
17
18 diff --git a/app-arch/libdeflate/libdeflate-1.7.ebuild b/app-arch/libdeflate/libdeflate-1.7.ebuild
19 new file mode 100644
20 index 000000000..bfafcfecd
21 --- /dev/null
22 +++ b/app-arch/libdeflate/libdeflate-1.7.ebuild
23 @@ -0,0 +1,28 @@
24 +# Copyright 2019-2021 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression"
30 +HOMEPAGE="https://github.com/ebiggers/libdeflate"
31 +
32 +if [[ ${PV} == *9999 ]]; then
33 + inherit git-r3
34 + EGIT_REPO_URI="https://github.com/ebiggers/libdeflate"
35 +else
36 + SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz"
37 + KEYWORDS="~amd64 ~x86"
38 +fi
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +IUSE="static-libs test"
43 +RESTRICT="!test? ( test )"
44 +
45 +src_install() {
46 + emake DESTDIR="${ED}" PREFIX=/usr LIBDIR="/usr/$(get_libdir)" install
47 + if ! use static-libs; then
48 + find "${ED}" -name '*.a' -delete || die
49 + fi
50 + dodoc NEWS README.md
51 +}
52
53 diff --git a/app-arch/libdeflate/libdeflate-9999.ebuild b/app-arch/libdeflate/libdeflate-9999.ebuild
54 new file mode 100644
55 index 000000000..bfafcfecd
56 --- /dev/null
57 +++ b/app-arch/libdeflate/libdeflate-9999.ebuild
58 @@ -0,0 +1,28 @@
59 +# Copyright 2019-2021 Gentoo Authors
60 +# Distributed under the terms of the GNU General Public License v2
61 +
62 +EAPI=7
63 +
64 +DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression"
65 +HOMEPAGE="https://github.com/ebiggers/libdeflate"
66 +
67 +if [[ ${PV} == *9999 ]]; then
68 + inherit git-r3
69 + EGIT_REPO_URI="https://github.com/ebiggers/libdeflate"
70 +else
71 + SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz"
72 + KEYWORDS="~amd64 ~x86"
73 +fi
74 +
75 +LICENSE="MIT"
76 +SLOT="0"
77 +IUSE="static-libs test"
78 +RESTRICT="!test? ( test )"
79 +
80 +src_install() {
81 + emake DESTDIR="${ED}" PREFIX=/usr LIBDIR="/usr/$(get_libdir)" install
82 + if ! use static-libs; then
83 + find "${ED}" -name '*.a' -delete || die
84 + fi
85 + dodoc NEWS README.md
86 +}
87
88 diff --git a/app-arch/libdeflate/metadata.xml b/app-arch/libdeflate/metadata.xml
89 index 138cb7705..6e347494a 100644
90 --- a/app-arch/libdeflate/metadata.xml
91 +++ b/app-arch/libdeflate/metadata.xml
92 @@ -5,6 +5,10 @@
93 <email>mmokrejs@×××××××××××××××.cz</email>
94 <name>Martin Mokrejs</name>
95 </maintainer>
96 + <maintainer type="person">
97 + <email>gentoo@×××××.cc</email>
98 + <name>Aisha Tammy</name>
99 + </maintainer>
100 <maintainer type="project">
101 <email>sci-biology@g.o</email>
102 <name>Gentoo Biology Project</name>