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, 01 Sep 2022 06:28:00
Message-Id: 1662013672.9c855235c377ffb1dae61ab36569c776d85099f2.juippis@gentoo
1 commit: 9c855235c377ffb1dae61ab36569c776d85099f2
2 Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
3 AuthorDate: Sun Aug 21 03:00:38 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 1 06:27:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c855235
7
8 net-misc/seafile: version bump to 8.0.8
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.8.ebuild | 60 +++++++++++++++++++++++++++++++++++
16 2 files changed, 61 insertions(+)
17
18 diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
19 index 078407655d46..984406234294 100644
20 --- a/net-misc/seafile/Manifest
21 +++ b/net-misc/seafile/Manifest
22 @@ -1,3 +1,4 @@
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 +DIST seafile-8.0.8.tar.gz 738321 BLAKE2B ec8719890c5945c1dab0433c86e5e2b7ec7dc45ce9edb0b82760a4fffaf719892c1a650d2eb5df463f413df1c09c8062e45f35b13669fbc2c6312e0056590016 SHA512 a531acd582ce1f80918979305a2c822e37e25ad8cd80551359834ddb22434f2de5c63b9a364886bd12fe3aa8307087f85238271dbe9e3258e9e9c65f18ea9307
27
28 diff --git a/net-misc/seafile/seafile-8.0.8.ebuild b/net-misc/seafile/seafile-8.0.8.ebuild
29 new file mode 100644
30 index 000000000000..d49b3cf8f204
31 --- /dev/null
32 +++ b/net-misc/seafile/seafile-8.0.8.ebuild
33 @@ -0,0 +1,60 @@
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="f57dae37854acab74b08b0891584cb7ecb98cd18"
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 + elibc_musl? ( sys-libs/fts-standalone )"
69 +DEPEND="${RDEPEND}"
70 +BDEPEND="${PYTHON_DEPS}
71 + $(vala_depend)"
72 +
73 +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
74 +
75 +src_prepare() {
76 + default
77 + eautoreconf
78 + vala_src_prepare
79 +}
80 +
81 +src_configure() {
82 + local myeconfargs=(
83 + --disable-static
84 + )
85 + econf "${myeconfargs[@]}"
86 +}
87 +
88 +src_install() {
89 + default
90 + # Remove unnecessary .la files
91 + find "${ED}" -name '*.la' -delete || die
92 + python_fix_shebang "${ED}"/usr/bin/seaf-cli
93 +}