summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-05-22 13:45:47 +0200
committerMichał Górny <mgorny@gentoo.org>2024-05-22 13:45:47 +0200
commit3640b56da637129192d62275bcf84c2c61a8e842 (patch)
tree1f6b2125fb39bb9914b3a4d8d8bd9f686e70cd71 /dev-python
parentdev-libs/castxml: Remove old (diff)
downloadgentoo-3640b56da637129192d62275bcf84c2c61a8e842.tar.gz
gentoo-3640b56da637129192d62275bcf84c2c61a8e842.tar.bz2
gentoo-3640b56da637129192d62275bcf84c2c61a8e842.zip
dev-python/btrfs: Fix variable order, improve homepage, filename
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/btrfs/Manifest2
-rw-r--r--dev-python/btrfs/btrfs-14.1.ebuild14
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-python/btrfs/Manifest b/dev-python/btrfs/Manifest
index 9df99b370068..32e15e0c704b 100644
--- a/dev-python/btrfs/Manifest
+++ b/dev-python/btrfs/Manifest
@@ -1 +1 @@
-DIST btrfs-14.1.gh.tar.gz 94011 BLAKE2B f1a0e7f2988417acb8f66fe28b95ea90e8c6c5dea7161730c2c4657d052d84425d26d3ef91b40194c24d9725687ca84104e45b33f258006c6ccb83269869fdee SHA512 384bea01cc459894aced5923b3f2e874c896412a2c51e56f14390aa9d882bb6827b2c40a8dd7e083ee421de2b3a2411912581b617644075499da65d16eb4f6b6
+DIST python-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
index f6a8c587b403..31231aa8879c 100644
--- a/dev-python/btrfs/btrfs-14.1.ebuild
+++ b/dev-python/btrfs/btrfs-14.1.ebuild
@@ -8,17 +8,23 @@ PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
+MY_P=python-btrfs-${PV}
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"
+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"
-S="${WORKDIR}/python-${P}"
-
python_install_all() {
if use examples; then
# skip symlink meant for development