commit:     7d67ec3ff6666b17fd1deb9794ec6b6ef89f9de4
Author:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
AuthorDate: Tue Apr 25 20:10:56 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu May 18 10:42:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d67ec3f

net-misc/seafile: version bump to 9.0.2

Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/seafile/Manifest             |  1 +
 net-misc/seafile/seafile-9.0.2.ebuild | 65 +++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
index e74ef91a009f..a65b90480ab7 100644
--- a/net-misc/seafile/Manifest
+++ b/net-misc/seafile/Manifest
@@ -2,3 +2,4 @@ DIST seafile-8.0.10.gh.tar.gz 749686 BLAKE2B 
76c5f6e71dcf12c6950bfde17e529ea8d24
 DIST seafile-8.0.9.gh.tar.gz 740920 BLAKE2B 
c62c7ccea536934a92166db5d2acea45b65f5508c1e5d4f70749c922c12d29da11bc2265203c91e87fe0096cc3f4b6ec4f6125b538a4de88725583871b05e67e
 SHA512 
c4621ea4c08fcd9c5d4cf683152f7504c37212272b5a9535da869de846b71a7f5e9a72c5544f9b7487ad8025a6cdf2866c15788828cc27937209d8242fc13cb8
 DIST seafile-9.0.0.tar.gz 749947 BLAKE2B 
df9e68d1ee46c03d5d7cab35f141b6e7a890e78a5864bf55b4ac2913a214e24660f57157123845b62aa72c6ad1e689d6cf53bbe6b43f44c0178a867cb0e6c78e
 SHA512 
3ab5a62faf7210e27df58a33f790b4aaeeb5b897532ec45af283bbaf70bdf40532c8be6481ef43752fc1e646e2d8d1c890f3e039df1d058d7067e2bae99e40fb
 DIST seafile-9.0.1.tar.gz 750253 BLAKE2B 
a076e1ee7df817a47cb2c586025be5126771baf520d66189c640138c9400d9ead04e4d8bcb98ef4071c6115b23f1e835b1cfd3772a305b730e219ffd45bc23de
 SHA512 
69371da95cc66657a83c9fb232c6560424be31d0ddc277870b474379ce3d2dc116c43dc0ab09e4aa79badcb87bb4bfad423f5cf1b466c8dfcc31272afe81b516
+DIST seafile-9.0.2.tar.gz 751089 BLAKE2B 
92f9329e109c797024c576b95def27db7a22ca1125c4305ca310020f68ecfb393a11c68ef040fe2c5d672a4671d5a5689cb6d15281c781541d8ffd3d2e7c7d50
 SHA512 
199702fb533e7a95c84ff10aeceb02850704ad18a953a1d27f34cce9536be5297386327f9adbc6b23b44ec051cfdd59c094e8c7923cefd37536f4d50023a07ef

diff --git a/net-misc/seafile/seafile-9.0.2.ebuild 
b/net-misc/seafile/seafile-9.0.2.ebuild
new file mode 100644
index 000000000000..954c05702ace
--- /dev/null
+++ b/net-misc/seafile/seafile-9.0.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+# Upstream is moving tags repeatedly, then we use commit hash.
+RELEASE_COMMIT="dd400f71101d0fe330d87776d595bbc935100719"
+
+inherit autotools python-single-r1 vala
+
+DESCRIPTION="File syncing and sharing software with file encryption and group 
sharing"
+HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/";
+SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+-with-openssl-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       $(python_gen_cond_dep '
+               dev-python/future[${PYTHON_USEDEP}]
+       ')
+       dev-libs/openssl:=
+       dev-db/sqlite:3
+       dev-libs/glib:2
+       dev-libs/jansson:=
+       dev-libs/libevent:=
+       net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
+       net-libs/libwebsockets[client]
+       net-misc/curl
+       sys-apps/util-linux
+       sys-libs/zlib
+       elibc_musl? ( sys-libs/fts-standalone )"
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
+       $(vala_depend)"
+
+S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
+
+pkg_setup() {
+       python-single-r1_pkg_setup
+       vala_setup
+}
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       local myeconfargs=(
+               --disable-static
+       )
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+       # Remove unnecessary .la files
+       find "${ED}" -name '*.la' -delete || die
+       python_fix_shebang "${ED}"/usr/bin/seaf-cli
+}

Reply via email to