From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C942715800A for ; Fri, 28 Jul 2023 09:32:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 002B4E0A6B; Fri, 28 Jul 2023 09:32:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B52C1E0A6B for ; Fri, 28 Jul 2023 09:32:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF65B341541 for ; Fri, 28 Jul 2023 09:32:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B357ACD for ; Fri, 28 Jul 2023 09:32:14 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1690536680.a2c830098c53be97bf1907b2f603e5a21dadefac.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/llfuse/, dev-python/llfuse/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/llfuse/files/llfuse-1.4.4-cython3.patch dev-python/llfuse/llfuse-1.4.4.ebuild X-VCS-Directories: dev-python/llfuse/ dev-python/llfuse/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a2c830098c53be97bf1907b2f603e5a21dadefac X-VCS-Branch: master Date: Fri, 28 Jul 2023 09:32:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 53f1a6d6-3813-4a50-8f02-9541ffb4faed X-Archives-Hash: 34b75b45995423be31c543799477a682 commit: a2c830098c53be97bf1907b2f603e5a21dadefac Author: Sam James gentoo org> AuthorDate: Fri Jul 28 09:17:24 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jul 28 09:31:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2c83009 dev-python/llfuse: depend on gentoo.org> dev-python/llfuse/files/llfuse-1.4.4-cython3.patch | 42 ++++++++++++++++++++++ dev-python/llfuse/llfuse-1.4.4.ebuild | 4 ++- 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/dev-python/llfuse/files/llfuse-1.4.4-cython3.patch b/dev-python/llfuse/files/llfuse-1.4.4-cython3.patch new file mode 100644 index 000000000000..38fea36a5fac --- /dev/null +++ b/dev-python/llfuse/files/llfuse-1.4.4-cython3.patch @@ -0,0 +1,42 @@ +https://github.com/python-llfuse/python-llfuse/commit/8c0160545ce01b3624c8ecad669f06fb6d22d2f6 + +From 8c0160545ce01b3624c8ecad669f06fb6d22d2f6 Mon Sep 17 00:00:00 2001 +From: Thomas Waldmann +Date: Sun, 21 May 2023 01:31:38 +0200 +Subject: [PATCH] remove Cython version check, fixes #81 + +distutils Version classes are deprecated. + +I decided to remove the Cython version check completely, +it is not as simple as checking a minimum version anyway. + +E.g. we can work with Cython 0.29.x and also 3.0.0b2, +but earlier 3.0.0 releases are of unknown compatibility. + +Also, latest Python 3.12-dev versions require 0.29.34, +while older Pythons are happy with stuff compiled by earlier +0.29.x releases. +--- a/setup.py ++++ b/setup.py +@@ -34,7 +34,6 @@ + + import setuptools + from setuptools import Extension +-from distutils.version import LooseVersion + + basedir = os.path.abspath(os.path.dirname(__file__)) + sys.path.insert(0, os.path.join(basedir, 'util')) +@@ -218,11 +217,7 @@ def run(self): + stderr=subprocess.STDOUT) + except OSError: + raise SystemExit('Cython needs to be installed for this command') +- +- hit = re.match('^Cython version (.+)$', version) +- if not hit or LooseVersion(hit.group(1)) < "0.29": +- # in fact, we need a very recent Cython version to support the latest pythons +- raise SystemExit('Need Cython 0.29 or newer, found ' + version) ++ print(f"Using {version.strip()}.") + + cmd = ['cython', '-Wextra', '--force', '-3', '--fast-fail', + '--directive', 'embedsignature=True', '--include-dir', + diff --git a/dev-python/llfuse/llfuse-1.4.4.ebuild b/dev-python/llfuse/llfuse-1.4.4.ebuild index 6bcd11762ba5..f6edb91dd6d3 100644 --- a/dev-python/llfuse/llfuse-1.4.4.ebuild +++ b/dev-python/llfuse/llfuse-1.4.4.ebuild @@ -27,13 +27,15 @@ DEPEND=" ${RDEPEND} sys-apps/attr " +#