dev-python/btrfs: add py3.15

Also silence a setuptools warning.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1361
Merges: https://codeberg.org/gentoo/gentoo/pulls/1361
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Holger Hoffstätte
2026-07-09 10:54:29 +02:00
committed by Sam James
parent 115004dddb
commit 4a3adc678c
2 changed files with 35 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1
@@ -25,6 +25,8 @@ SLOT="0"
KEYWORDS="amd64"
IUSE="examples"
PATCHES=( "${FILESDIR}"/15-setup.patch )
python_install_all() {
if use examples; then
# skip symlink meant for development

View File

@@ -0,0 +1,32 @@
https://github.com/knorrie/python-btrfs/issues/55
https://github.com/knorrie/python-btrfs/commit/7d27aa6665bd38ad05b6eb990dd3bfd5394ee37f
From: Hans van Kranenburg <hans@knorrie.org>
Date: Sun, 10 May 2026 10:59:27 +0200
Subject: [PATCH] setup.py: convert license classifier to SPDX
setuptools >75.6.0 wants to see the license type specified differently.
Use SPDX identifier instead of the now unused field in classifiers.
Thanks Holger Hoffstätte, for reporting.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 744bf26..25ca48a 100644
--- a/setup.py
+++ b/setup.py
@@ -56,11 +56,11 @@ def get_version():
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
- 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: POSIX :: Linux',
'Topic :: System :: Filesystems',
'Topic :: System :: Systems Administration',
],
+ license='LGPL-3.0-or-later',
)