Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/seafile/
Date: Thu, 08 Jul 2021 23:09:00
Message-Id: 1625785525.496d03403b163cefe3f913fdcd1aeba261ddfcb8.ionen@gentoo
1 commit: 496d03403b163cefe3f913fdcd1aeba261ddfcb8
2 Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
3 AuthorDate: Mon Jun 28 15:46:54 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 8 23:05:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496d0340
7
8 net-misc/seafile: version bump to 8.0.3
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
12 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
13
14 net-misc/seafile/Manifest | 1 +
15 net-misc/seafile/seafile-8.0.3.ebuild | 57 +++++++++++++++++++++++++++++++++++
16 2 files changed, 58 insertions(+)
17
18 diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
19 index 9baa650ac40..d01dd286827 100644
20 --- a/net-misc/seafile/Manifest
21 +++ b/net-misc/seafile/Manifest
22 @@ -1,2 +1,3 @@
23 DIST seafile-8.0.1.tar.gz 731105 BLAKE2B ac4b79112e40196cce2dbc64bb94a852b3f81ea08e0a833d45a297c02f5f66432345647b9a34aef67d8108d16eb5e3648002a070bb556a70be63b8c0314af9bb SHA512 dd6366c06bfa25f16f5d3b2ef83b39b5886e834697891c274a3b4eafec3aabf72858dd4d341452e8d4fb8cd1166d30bb8a783dddb4370c02526e3a00ed9fdb3c
24 DIST seafile-8.0.2.tar.gz 732341 BLAKE2B 29bf3187a37c0f01261d3afba996e1165ddebe05a36f734fd3d7ee5d0368ae2f94b70cd9251799ddeeea2318c510094b7b2fe917ce06a6328aca00f378dcb9ae SHA512 772dfb060e381eb2395b7ab094e11865f13e71f8c767d31e4ca8b48eaadf74d5d447298ea261f9cd48ff126828829c8d258ca943b01890f72072a36753d8333b
25 +DIST seafile-8.0.3.tar.gz 738066 BLAKE2B 302de3b5a4f465429955d2819c7b43ddb305cccc76cc7cf67885a75747ec5dcad85d17f94975abdd3b3d54d49a5d9ea05ab7947c3a2b84764b50fe5fb10e7636 SHA512 c51edfc094aa509c730b1b3f4ceb911461081689c8cc2564fb866cddaa54c445d9ad12ca9e4e90e98b771eafc6b6e1496e052538a2475a03642cdceb9212115a
26
27 diff --git a/net-misc/seafile/seafile-8.0.3.ebuild b/net-misc/seafile/seafile-8.0.3.ebuild
28 new file mode 100644
29 index 00000000000..1506b7efd42
30 --- /dev/null
31 +++ b/net-misc/seafile/seafile-8.0.3.ebuild
32 @@ -0,0 +1,57 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=(python3_{8,9})
39 +
40 +RELEASE_COMMIT="303080b54859d0fc55ce693902c95f9620876c1b"
41 +
42 +inherit autotools python-single-r1 vala
43 +
44 +DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
45 +HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/"
46 +SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="GPL-2+-with-openssl-exception"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 +
53 +RDEPEND="${PYTHON_DEPS}
54 + $(python_gen_cond_dep '
55 + dev-python/future[${PYTHON_USEDEP}]
56 + ')
57 + dev-libs/openssl:=
58 + dev-db/sqlite:3
59 + dev-libs/glib:2
60 + dev-libs/jansson
61 + dev-libs/libevent:=
62 + net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
63 + net-misc/curl
64 + sys-libs/zlib"
65 +DEPEND="${RDEPEND}"
66 +BDEPEND="${PYTHON_DEPS}
67 + $(vala_depend)"
68 +
69 +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
70 +
71 +src_prepare() {
72 + default
73 + eautoreconf
74 + vala_src_prepare
75 +}
76 +
77 +src_configure() {
78 + local myeconfargs=(
79 + --disable-static
80 + )
81 + econf "${myeconfargs[@]}"
82 +}
83 +
84 +src_install() {
85 + default
86 + # Remove unnecessary .la files, as recommended by ltprune.eclass
87 + find "${ED}" -name '*.la' -delete || die
88 + python_fix_shebang "${ED}"/usr/bin/seaf-cli
89 +}