Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/seafile/
Date: Sun, 19 Mar 2023 04:48:22
Message-Id: 1679201227.7e5252f929e16aaf42f4ea14941fb3844c20137e.sam@gentoo
1 commit: 7e5252f929e16aaf42f4ea14941fb3844c20137e
2 Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
3 AuthorDate: Sat Mar 4 19:35:41 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 04:47:07 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5252f9
7
8 net-misc/seafile: version bump to 9.0.0
9
10 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-misc/seafile/Manifest | 1 +
14 net-misc/seafile/seafile-9.0.0.ebuild | 65 +++++++++++++++++++++++++++++++++++
15 2 files changed, 66 insertions(+)
16
17 diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
18 index 0ea1f1b800d3..9c914ccea01b 100644
19 --- a/net-misc/seafile/Manifest
20 +++ b/net-misc/seafile/Manifest
21 @@ -1,2 +1,3 @@
22 DIST seafile-8.0.10.gh.tar.gz 749686 BLAKE2B 76c5f6e71dcf12c6950bfde17e529ea8d24efed78069d9bbc93c78f04167be371884aa069b6665afc21be5114352b7a73e5cf09d6f7f9cea6bad323c956ef254 SHA512 9ef1f01d180fe08452c39bd35683610844ff849fa261d98ac7366fde6af27886e823976f6fa2e82407fb844dcb4de8160658abd807eb1d4932e999a4ad75dd50
23 DIST seafile-8.0.9.gh.tar.gz 740920 BLAKE2B c62c7ccea536934a92166db5d2acea45b65f5508c1e5d4f70749c922c12d29da11bc2265203c91e87fe0096cc3f4b6ec4f6125b538a4de88725583871b05e67e SHA512 c4621ea4c08fcd9c5d4cf683152f7504c37212272b5a9535da869de846b71a7f5e9a72c5544f9b7487ad8025a6cdf2866c15788828cc27937209d8242fc13cb8
24 +DIST seafile-9.0.0.tar.gz 749947 BLAKE2B df9e68d1ee46c03d5d7cab35f141b6e7a890e78a5864bf55b4ac2913a214e24660f57157123845b62aa72c6ad1e689d6cf53bbe6b43f44c0178a867cb0e6c78e SHA512 3ab5a62faf7210e27df58a33f790b4aaeeb5b897532ec45af283bbaf70bdf40532c8be6481ef43752fc1e646e2d8d1c890f3e039df1d058d7067e2bae99e40fb
25
26 diff --git a/net-misc/seafile/seafile-9.0.0.ebuild b/net-misc/seafile/seafile-9.0.0.ebuild
27 new file mode 100644
28 index 000000000000..45069b35de3e
29 --- /dev/null
30 +++ b/net-misc/seafile/seafile-9.0.0.ebuild
31 @@ -0,0 +1,65 @@
32 +# Copyright 1999-2023 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{9..11} )
38 +
39 +# Upstream is moving tags repeatedly, then we use commit hash.
40 +RELEASE_COMMIT="c244a274912070a39864369a6a21c55566fe2fda"
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-libs/libwebsockets[client]
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 +pkg_setup() {
75 + python-single-r1_pkg_setup
76 + vala_setup
77 +}
78 +
79 +src_prepare() {
80 + default
81 + eautoreconf
82 +}
83 +
84 +src_configure() {
85 + local myeconfargs=(
86 + --disable-static
87 + )
88 + econf "${myeconfargs[@]}"
89 +}
90 +
91 +src_install() {
92 + default
93 + # Remove unnecessary .la files
94 + find "${ED}" -name '*.la' -delete || die
95 + python_fix_shebang "${ED}"/usr/bin/seaf-cli
96 +}