Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/seafile/
Date: Sun, 03 Apr 2022 09:34:59
Message-Id: 1648978447.f19652144e630cee734ab5838e8f6db761f02353.matthew@gentoo
1 commit: f19652144e630cee734ab5838e8f6db761f02353
2 Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
3 AuthorDate: Sun Mar 13 23:44:06 2022 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 3 09:34:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1965214
7
8 net-misc/seafile: version bump to 8.0.6
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
12 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
13
14 net-misc/seafile/Manifest | 1 +
15 net-misc/seafile/seafile-8.0.6.ebuild | 59 +++++++++++++++++++++++++++++++++++
16 2 files changed, 60 insertions(+)
17
18 diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
19 index 8971168b3dd7..394fc28e72dc 100644
20 --- a/net-misc/seafile/Manifest
21 +++ b/net-misc/seafile/Manifest
22 @@ -3,3 +3,4 @@ DIST seafile-8.0.2.tar.gz 732341 BLAKE2B 29bf3187a37c0f01261d3afba996e1165ddebe0
23 DIST seafile-8.0.3.tar.gz 738066 BLAKE2B 302de3b5a4f465429955d2819c7b43ddb305cccc76cc7cf67885a75747ec5dcad85d17f94975abdd3b3d54d49a5d9ea05ab7947c3a2b84764b50fe5fb10e7636 SHA512 c51edfc094aa509c730b1b3f4ceb911461081689c8cc2564fb866cddaa54c445d9ad12ca9e4e90e98b771eafc6b6e1496e052538a2475a03642cdceb9212115a
24 DIST seafile-8.0.4.tar.gz 738250 BLAKE2B 5502160519144764de16fe50ccc922dd2bce43571aa3485758c23667cb1546e60683f2fe7778c5da6c7a4c18d78f544e72a40ba6857a58cec3fa2b817d7e5d82 SHA512 9dad4a4bd288598dbfea316002d0570d759274b55479432f528f78f3a241d6ec826960d65ab5ec5ea4eeca27586398e0db5b76cbbbed27ca3dbd3ac2fd2d7060
25 DIST seafile-8.0.5.tar.gz 738268 BLAKE2B a142acd9613b4a4aba62640486ee3e79de13274f068e8db69693d93092123f73150e579a38e2aaffc0144cb03a88c56cdac20ca33c0c9a5d09bb8684f184e193 SHA512 712a5d445f586beb9cbd425298734181f2eef302dc2f1f7634c4182bd113a7818c948475e9981ce32af218fcc635254e4d5fea28d514ad6eafe169c4a41eb6f9
26 +DIST seafile-8.0.6.tar.gz 738248 BLAKE2B c36904c459429985bf5a6b34546be7af2ba913b4dc5df860858cf73c0d0fe4797fc1fd64a70d8feb3ac2888404e30705540672cdbcc7cea4b91e6229939ed1e4 SHA512 261e1c58018f3e427e79a811f67322a2d0ce4cc8bfa913f029bd42bdfa5498f35ec5003cafc8eaf583b0b0ef9cd7159bc4f57136f4fd4270b38327a79e0f95cd
27
28 diff --git a/net-misc/seafile/seafile-8.0.6.ebuild b/net-misc/seafile/seafile-8.0.6.ebuild
29 new file mode 100644
30 index 000000000000..09f56deaa11c
31 --- /dev/null
32 +++ b/net-misc/seafile/seafile-8.0.6.ebuild
33 @@ -0,0 +1,59 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +
41 +# Upstream is moving tags repeatedly, then we use commit hash.
42 +RELEASE_COMMIT="7a61feaba63006d11c09d1020593ba3fcb3fc717"
43 +
44 +inherit autotools python-single-r1 vala
45 +
46 +DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
47 +HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/"
48 +SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz"
49 +
50 +LICENSE="GPL-2+-with-openssl-exception"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
54 +
55 +RDEPEND="${PYTHON_DEPS}
56 + $(python_gen_cond_dep '
57 + dev-python/future[${PYTHON_USEDEP}]
58 + ')
59 + dev-libs/openssl:=
60 + dev-db/sqlite:3
61 + dev-libs/glib:2
62 + dev-libs/jansson:=
63 + dev-libs/libevent:=
64 + net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
65 + net-misc/curl
66 + sys-apps/util-linux
67 + sys-libs/zlib"
68 +DEPEND="${RDEPEND}"
69 +BDEPEND="${PYTHON_DEPS}
70 + $(vala_depend)"
71 +
72 +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
73 +
74 +src_prepare() {
75 + default
76 + eautoreconf
77 + vala_src_prepare
78 +}
79 +
80 +src_configure() {
81 + local myeconfargs=(
82 + --disable-static
83 + )
84 + econf "${myeconfargs[@]}"
85 +}
86 +
87 +src_install() {
88 + default
89 + # Remove unnecessary .la files
90 + find "${ED}" -name '*.la' -delete || die
91 + python_fix_shebang "${ED}"/usr/bin/seaf-cli
92 +}