Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/epubgrep/
Date: Fri, 28 May 2021 13:50:02
Message-Id: 1622209642.6a5dc08a83a1fc61827c31cac40ff5c72d2d4902.tastytea@gentoo
1 commit: 6a5dc08a83a1fc61827c31cac40ff5c72d2d4902
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Fri May 28 13:46:05 2021 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Fri May 28 13:47:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a5dc08a
7
8 app-text/epubgrep: Version bump 0.3.2.
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 app-text/epubgrep/Manifest | 1 +
13 app-text/epubgrep/epubgrep-0.3.2.ebuild | 45 +++++++++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/app-text/epubgrep/Manifest b/app-text/epubgrep/Manifest
17 index c93d50428..f028ea61d 100644
18 --- a/app-text/epubgrep/Manifest
19 +++ b/app-text/epubgrep/Manifest
20 @@ -1,3 +1,4 @@
21 DIST epubgrep-0.1.3.tar.gz 33668 BLAKE2B 717de938e4830dbf970b11e67dd361e619ab77c83bfe4e3cb94dc3654317099e7bafb8029ab7899e83c16eb0d25f6bd41ac28d72c28b8826c1d6cd25d24b401b SHA512 c321578607400e365143111324851497681cc0464e1ddc8362dbbc3b76096b379d080800efd11e217a643ced14b6032fd16b8f0e01922e248926ac2e3840d659
22 DIST epubgrep-0.2.0.tar.gz 217269 BLAKE2B 4bf4065009ad4ee0f8963e692ad5c08d04950920b7f7a1ffab6ca8f24fadfc7f48486fe166799e1a984d683af962ef850cafab717eed9b068f1a0918a4faebbd SHA512 ab6d8433db63c7ab2e8c9ec334f573bb81f3d9390124f60d6619d52fe83d4df15abca240c55e74022abd17cf536fa00b31ac32f597a1370f99826bb8a6d5b904
23 DIST epubgrep-0.3.1.tar.gz 221043 BLAKE2B 26c7cd1bfa366cdfdd8c4c271cfefa893866db84769edd900dbec6bc543fad6ce18ebeadd7c4c652322adc9152a93911cf649632a9c2668eb53cd8742cc54259 SHA512 1846b9a5b0c3f92d0194a832bc3f560eaae95b811b2def5a38d1346cac5e84534116d9bc27d7d0925a8fe73722326d7000e7cea9318fdcd899bc808358719be7
24 +DIST epubgrep-0.3.2.tar.gz 241538 BLAKE2B 77de3e45ae79e957bf6ecaaccb55b1944b845894dce9ec2e6eb2f8440d0e90a6ee4185824a04435351726d72ea4cacef2d63d14265ae1f9c952d6ad341126533 SHA512 ea9eb953a05cfa1cb9cf54d27341d1b0af6fb95835495d975405e43c7c01d6c74e69f20e36aaf4ac238e55f9cf0ede7ecb42822d717b40e068e7a6aaef798ec3
25
26 diff --git a/app-text/epubgrep/epubgrep-0.3.2.ebuild b/app-text/epubgrep/epubgrep-0.3.2.ebuild
27 new file mode 100644
28 index 000000000..1bd1e40e5
29 --- /dev/null
30 +++ b/app-text/epubgrep/epubgrep-0.3.2.ebuild
31 @@ -0,0 +1,45 @@
32 +# Copyright 2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit cmake
38 +
39 +DESCRIPTION="Search tool for EPUB e-books"
40 +HOMEPAGE="https://schlomp.space/tastytea/epubgrep"
41 +SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +S="${WORKDIR}/${PN}"
43 +
44 +LICENSE="AGPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="test"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="
51 + dev-libs/boost[nls]
52 + app-arch/libarchive[bzip2,iconv,lzma,zlib]
53 + dev-libs/libfmt
54 +"
55 +DEPEND="
56 + ${RDEPEND}
57 + dev-cpp/termcolor
58 + test? ( dev-cpp/catch )
59 +"
60 +BDEPEND="
61 + sys-devel/gettext
62 + app-text/asciidoc
63 +"
64 +
65 +src_configure() {
66 + local mycmakeargs=(
67 + "-DWITH_TESTS=$(usex test)"
68 + "-DFALLBACK_BUNDLED=NO"
69 + )
70 +
71 + cmake_src_configure
72 +}
73 +
74 +src_test() {
75 + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
76 +}