commit:     09740af2f3524d1a28b3076d58d330bf3aec66cf
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Sun Apr 20 14:38:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 21 11:08:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09740af2

dev-python/btrfs: add v15, remove python-3.10

Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/41674
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/btrfs/Manifest        |  1 +
 dev-python/btrfs/btrfs-15.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/btrfs/Manifest b/dev-python/btrfs/Manifest
index 32e15e0c704b..5f822bae376d 100644
--- a/dev-python/btrfs/Manifest
+++ b/dev-python/btrfs/Manifest
@@ -1 +1,2 @@
 DIST python-btrfs-14.1.gh.tar.gz 94011 BLAKE2B 
f1a0e7f2988417acb8f66fe28b95ea90e8c6c5dea7161730c2c4657d052d84425d26d3ef91b40194c24d9725687ca84104e45b33f258006c6ccb83269869fdee
 SHA512 
384bea01cc459894aced5923b3f2e874c896412a2c51e56f14390aa9d882bb6827b2c40a8dd7e083ee421de2b3a2411912581b617644075499da65d16eb4f6b6
+DIST python-btrfs-15.gh.tar.gz 95215 BLAKE2B 
1490f1ab45c7dfb004afaec2799c5020681e66f745574ecb582b925c3ea43db2d49f2e99d269822fecfcdf990ea413c28e4c6bf5c81b84881e4d58d0239c4ec6
 SHA512 
b9821d866b1b9a1fcc5ac9abe7fad0c51d5bf375301c8c4e20407f1d84162081aa06580d469b414bcf46cf9e29b03dd99760c7e7101730dafac764fc0bf637b3

diff --git a/dev-python/btrfs/btrfs-15.ebuild b/dev-python/btrfs/btrfs-15.ebuild
new file mode 100644
index 000000000000..f3c175a27be0
--- /dev/null
+++ b/dev-python/btrfs/btrfs-15.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+MY_P=python-btrfs-${PV}
+DESCRIPTION="Python module to inspect btrfs filesystems"
+HOMEPAGE="
+       https://github.com/knorrie/python-btrfs/
+       https://pypi.org/project/btrfs/
+"
+SRC_URI="
+       https://github.com/knorrie/python-btrfs/archive/v${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+python_install_all() {
+       if use examples; then
+               # skip symlink meant for development
+               rm examples/btrfs || die
+               dodoc -r examples
+       fi
+
+       distutils-r1_python_install_all
+}

Reply via email to