Gentoo Archives: gentoo-commits

From: Rafael Martins <rafaelmartins@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/fossil/
Date: Sun, 02 Feb 2020 14:19:44
Message-Id: 1580653176.cf6bf2055bab2bb8d3299c39a4fd4a13cb032520.rafaelmartins@gentoo
1 commit: cf6bf2055bab2bb8d3299c39a4fd4a13cb032520
2 Author: Rafael Martins <rafaelmartins <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 14:18:35 2020 +0000
4 Commit: Rafael Martins <rafaelmartins <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 14:19:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf6bf205
7
8 dev-vcs/fossil: version bump (bug #707902)
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Rafael Martins <rafaelmartins <AT> gentoo.org>
12
13 dev-vcs/fossil/Manifest | 1 +
14 dev-vcs/fossil/fossil-2.10.ebuild | 57 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest
18 index 586ebda95e0..824827d52c1 100644
19 --- a/dev-vcs/fossil/Manifest
20 +++ b/dev-vcs/fossil/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST fossil-src-2.10.tar.gz 5634327 BLAKE2B 1a02ef0d32b06dd09760d6a62450ad7bc15de97b5263d50ec776dbf0e2fff6b6fba4ec944eecffdaf31737f4a45e30aa898a728590a0c6e2ae171937a349e92b SHA512 aad54e3eaa2d647257c5c723fca4e55981aac0432d3d0b4deaa9651c7db7d27cb9f26f7ff40c31c452cb8dd54b0f0663c632183dc11982bc9cc24adf78b952e5
23 DIST fossil-src-2.8.tar.gz 5359975 BLAKE2B 6b63eadc8cd563d646698edc9972a52ec1feb868cb362449c232c99dcb81fea2fa227d631ebf8b695417c571933784dfffd5ecbec2a5027ac9901578a054c559 SHA512 5c6a8dc1545c43b3c95fbbec343db023e27a9db58f282a881bb7e488e3e26a0f7913a41f505dedf618b884507e48956780bd0e12482e184345d68edd1e79ff8e
24 DIST fossil-src-2.9.tar.gz 5440118 BLAKE2B 2817e3c88073a26ef384d45271511eaacf5394a67ba6041ba0b37f321303abcba28655daf7963b8e51a8bc9bfeee681cea1f318f5ba66e93a5317b98771ad059 SHA512 c3786d4ae5517c88917819448863e9e1e37704a7073a1c87c042660313b77ce3a63f32e35e6a56af1c681e7b8a5acc652b4447d0387b8a8a5b3b5aa04dd9a9b5
25
26 diff --git a/dev-vcs/fossil/fossil-2.10.ebuild b/dev-vcs/fossil/fossil-2.10.ebuild
27 new file mode 100644
28 index 00000000000..af7391ebfac
29 --- /dev/null
30 +++ b/dev-vcs/fossil/fossil-2.10.ebuild
31 @@ -0,0 +1,57 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit toolchain-funcs
38 +
39 +DESCRIPTION="Simple, high-reliability, source control management, and more"
40 +HOMEPAGE="http://www.fossil-scm.org/"
41 +SRC_URI="http://www.fossil-scm.org/index.html/uv/fossil-src-${PV}.tar.gz"
42 +
43 +LICENSE="BSD-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
46 +IUSE="debug fusefs json -legacy-mv-rm -miniz system-sqlite +ssl static
47 + tcl tcl-stubs tcl-private-stubs th1-docs th1-hooks"
48 +
49 +REQUIRED_USE="ssl? ( !miniz )"
50 +
51 +DEPEND="
52 + sys-libs/zlib
53 + || ( sys-libs/readline:0 dev-libs/libedit )
54 + system-sqlite? ( >=dev-db/sqlite-3.28.0:3 )
55 + ssl? ( dev-libs/openssl:0 )
56 + tcl? ( dev-lang/tcl:0= )
57 +"
58 +RDEPEND="${DEPEND}"
59 +
60 +# Tests can't be run from the build directory
61 +RESTRICT="test"
62 +
63 +src_configure() {
64 + # this is not an autotools situation so don't make it seem like one
65 + # --with-tcl: works
66 + # --without-tcl: dies
67 + local myconf="--with-openssl=$(usex ssl auto none)"
68 + use debug && myconf+=' --fossil-debug'
69 + use json && myconf+=' --json'
70 + use system-sqlite && myconf+=' --disable-internal-sqlite'
71 + use static && myconf+=' --static'
72 + use tcl && myconf+=' --with-tcl=1'
73 + use fusefs || myconf+=' --disable-fusefs'
74 +
75 + local u useflags
76 + useflags=( legacy-mv-rm miniz tcl-stubs tcl-private-stubs
77 + th1-docs th1-hooks )
78 + for u in ${useflags[@]} ; do
79 + use ${u} && myconf+=" --with-${u}"
80 + done
81 +
82 + tc-export CC
83 + ./configure ${myconf} || die
84 +}
85 +
86 +src_install() {
87 + dobin fossil
88 +}