Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/seafile/
Date: Thu, 26 May 2022 12:58:16
Message-Id: 1653569883.18f5668b66482ad293456473917724d97a63b4ad.juippis@gentoo
1 commit: 18f5668b66482ad293456473917724d97a63b4ad
2 Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
3 AuthorDate: Sun May 15 01:03:58 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 12:58:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f5668b
7
8 net-misc/seafile: version bump to 8.0.7
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: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-misc/seafile/Manifest | 1 +
15 net-misc/seafile/seafile-8.0.7.ebuild | 60 +++++++++++++++++++++++++++++++++++
16 2 files changed, 61 insertions(+)
17
18 diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
19 index 12cbfa1d74b8..078407655d46 100644
20 --- a/net-misc/seafile/Manifest
21 +++ b/net-misc/seafile/Manifest
22 @@ -1,2 +1,3 @@
23 DIST seafile-8.0.5.tar.gz 738268 BLAKE2B a142acd9613b4a4aba62640486ee3e79de13274f068e8db69693d93092123f73150e579a38e2aaffc0144cb03a88c56cdac20ca33c0c9a5d09bb8684f184e193 SHA512 712a5d445f586beb9cbd425298734181f2eef302dc2f1f7634c4182bd113a7818c948475e9981ce32af218fcc635254e4d5fea28d514ad6eafe169c4a41eb6f9
24 DIST seafile-8.0.6.tar.gz 738248 BLAKE2B c36904c459429985bf5a6b34546be7af2ba913b4dc5df860858cf73c0d0fe4797fc1fd64a70d8feb3ac2888404e30705540672cdbcc7cea4b91e6229939ed1e4 SHA512 261e1c58018f3e427e79a811f67322a2d0ce4cc8bfa913f029bd42bdfa5498f35ec5003cafc8eaf583b0b0ef9cd7159bc4f57136f4fd4270b38327a79e0f95cd
25 +DIST seafile-8.0.7.tar.gz 738238 BLAKE2B edb6ab4f1e61455a24ed43c4b516b58f0cd44fd57f63ebb7aca6daaa206888689c9139fd443acfb2fb35ace100921470e207c338ae5bcdd093e02e79ab57ef80 SHA512 4ce16b2abed36ff33237df1119be7ecb3a01caa9d29c954a6618dfbc94d4ba32c0e30bcf259a6f05bf6bfe0e2aaca7d394c6b6adf69c37447e27a9ed5ac0d3df
26
27 diff --git a/net-misc/seafile/seafile-8.0.7.ebuild b/net-misc/seafile/seafile-8.0.7.ebuild
28 new file mode 100644
29 index 000000000000..f1caa8837488
30 --- /dev/null
31 +++ b/net-misc/seafile/seafile-8.0.7.ebuild
32 @@ -0,0 +1,60 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +# Upstream is moving tags repeatedly, then we use commit hash.
41 +RELEASE_COMMIT="57c5ebab0efb596b398d206779fd3160101805eb"
42 +
43 +inherit autotools python-single-r1 vala
44 +
45 +DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
46 +HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/"
47 +SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz"
48 +
49 +LICENSE="GPL-2+-with-openssl-exception"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +
54 +RDEPEND="${PYTHON_DEPS}
55 + $(python_gen_cond_dep '
56 + dev-python/future[${PYTHON_USEDEP}]
57 + ')
58 + dev-libs/openssl:=
59 + dev-db/sqlite:3
60 + dev-libs/glib:2
61 + dev-libs/jansson:=
62 + dev-libs/libevent:=
63 + net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
64 + net-misc/curl
65 + sys-apps/util-linux
66 + sys-libs/zlib
67 + elibc_musl? ( sys-libs/fts-standalone )"
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 +}