commit:     1a239e5168ea0c9f8bd8417dad3ae46afdd30b5c
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Dec 14 02:05:29 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 19:20:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a239e51

net-misc/seafile: drop outdated dependency on dev-python/future

Removed upstream in 7.0.8 via
https://github.com/haiwen/seafile/commit/7e337a32333d2767d1dd3fe6e7f84f62011a3c10

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34389
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{seafile-9.0.3.ebuild => seafile-8.0.9-r2.ebuild}     | 15 ++++++---------
 .../{seafile-9.0.3.ebuild => seafile-9.0.3-r1.ebuild}     |  3 ---
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/net-misc/seafile/seafile-9.0.3.ebuild 
b/net-misc/seafile/seafile-8.0.9-r2.ebuild
similarity index 75%
copy from net-misc/seafile/seafile-9.0.3.ebuild
copy to net-misc/seafile/seafile-8.0.9-r2.ebuild
index 12f795caa8dc..9b5d65d24c4b 100644
--- a/net-misc/seafile/seafile-9.0.3.ebuild
+++ b/net-misc/seafile/seafile-8.0.9-r2.ebuild
@@ -3,16 +3,19 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 # Upstream is moving tags repeatedly, then we use commit hash.
-RELEASE_COMMIT="90a2bc6e30a14ac4c91250da3957330f1051462e"
+# (Please file a bug upstream if this happens!)
+#RELEASE_COMMIT="6bd36a957573eda6a53f3d1bc538dbfc001aa9fd"
 
 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"
+#SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> 
${P}.tar.gz"
+#S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
+SRC_URI="https://github.com/haiwen/seafile/archive/refs/tags/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="GPL-2+-with-openssl-exception"
 SLOT="0"
@@ -20,16 +23,12 @@ 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
@@ -38,8 +37,6 @@ DEPEND="${RDEPEND}"
 BDEPEND="${PYTHON_DEPS}
        $(vala_depend)"
 
-S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
-
 pkg_setup() {
        python-single-r1_pkg_setup
        vala_setup

diff --git a/net-misc/seafile/seafile-9.0.3.ebuild 
b/net-misc/seafile/seafile-9.0.3-r1.ebuild
similarity index 95%
rename from net-misc/seafile/seafile-9.0.3.ebuild
rename to net-misc/seafile/seafile-9.0.3-r1.ebuild
index 12f795caa8dc..0fe9c3b19303 100644
--- a/net-misc/seafile/seafile-9.0.3.ebuild
+++ b/net-misc/seafile/seafile-9.0.3-r1.ebuild
@@ -20,9 +20,6 @@ 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

Reply via email to