commit:     9de7bc0e9e0980ad666b741fd2fbc4a989253b9e
Author:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
AuthorDate: Sun Dec 25 00:40:37 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 13:06:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de7bc0e

net-misc/seafile: version bump to 8.0.10

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-8.0.10.ebuild | 64 ++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
index 1fe9993090b7..58e35184cd9c 100644
--- a/net-misc/seafile/Manifest
+++ b/net-misc/seafile/Manifest
@@ -1,3 +1,4 @@
+DIST seafile-8.0.10.tar.gz 741596 BLAKE2B 
231ba41db372c966a391d8baa28b45ca717ec550d1e8e6bf1e5b375d28061da5f1d25a7e5adb7b4a00ab8f01c8063ed75cca0e5459c3fa82b246755382186fb3
 SHA512 
3c527bea0687a893f00734034a1049633dfed34ab0e7586ceb4cb5345b380c622b8b62486f608e3579ab2eaca872c2bbb3d250dea12927b38a0b0cafb34a9120
 DIST seafile-8.0.5.tar.gz 738268 BLAKE2B 
a142acd9613b4a4aba62640486ee3e79de13274f068e8db69693d93092123f73150e579a38e2aaffc0144cb03a88c56cdac20ca33c0c9a5d09bb8684f184e193
 SHA512 
712a5d445f586beb9cbd425298734181f2eef302dc2f1f7634c4182bd113a7818c948475e9981ce32af218fcc635254e4d5fea28d514ad6eafe169c4a41eb6f9
 DIST seafile-8.0.6.tar.gz 738248 BLAKE2B 
c36904c459429985bf5a6b34546be7af2ba913b4dc5df860858cf73c0d0fe4797fc1fd64a70d8feb3ac2888404e30705540672cdbcc7cea4b91e6229939ed1e4
 SHA512 
261e1c58018f3e427e79a811f67322a2d0ce4cc8bfa913f029bd42bdfa5498f35ec5003cafc8eaf583b0b0ef9cd7159bc4f57136f4fd4270b38327a79e0f95cd
 DIST seafile-8.0.7.tar.gz 738238 BLAKE2B 
edb6ab4f1e61455a24ed43c4b516b58f0cd44fd57f63ebb7aca6daaa206888689c9139fd443acfb2fb35ace100921470e207c338ae5bcdd093e02e79ab57ef80
 SHA512 
4ce16b2abed36ff33237df1119be7ecb3a01caa9d29c954a6618dfbc94d4ba32c0e30bcf259a6f05bf6bfe0e2aaca7d394c6b6adf69c37447e27a9ed5ac0d3df

diff --git a/net-misc/seafile/seafile-8.0.10.ebuild 
b/net-misc/seafile/seafile-8.0.10.ebuild
new file mode 100644
index 000000000000..49fb67450a4c
--- /dev/null
+++ b/net-misc/seafile/seafile-8.0.10.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+# Upstream is moving tags repeatedly, then we use commit hash.
+RELEASE_COMMIT="740763934a097577b92f0446cd73b555ca86b436"
+
+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-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