commit:     8f07ae7e1b50bf855199793628b4e4318aa63f2e
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Tue Apr 30 10:58:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May  7 12:27:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f07ae7e

dev-python/btrfs: add v14.1

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

 dev-python/btrfs/Manifest          |  1 +
 dev-python/btrfs/btrfs-14.1.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/btrfs/Manifest b/dev-python/btrfs/Manifest
index 8c584ff7f6ff..e4998b6d3298 100644
--- a/dev-python/btrfs/Manifest
+++ b/dev-python/btrfs/Manifest
@@ -1 +1,2 @@
 DIST btrfs-13.gh.tar.gz 93110 BLAKE2B 
286e5d1d9aa66ce5072f2fe144b2da6bbcde65dd90eb21efe1eb69b9aaa3230d76e8b8baffcfd269ce5d53e1004b5fc6c5546125bc1a5c26413ba8abc66f068a
 SHA512 
5117b9c6542fe191eccbed56a15bb5d8eadc2d3c0edd986a3e1a33d0b63f58c3db5e7f6d234c43a83d1cc74eea3e106c5882a92926c3087601edc36e6672721f
+DIST btrfs-14.1.gh.tar.gz 94011 BLAKE2B 
f1a0e7f2988417acb8f66fe28b95ea90e8c6c5dea7161730c2c4657d052d84425d26d3ef91b40194c24d9725687ca84104e45b33f258006c6ccb83269869fdee
 SHA512 
384bea01cc459894aced5923b3f2e874c896412a2c51e56f14390aa9d882bb6827b2c40a8dd7e083ee421de2b3a2411912581b617644075499da65d16eb4f6b6

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

Reply via email to