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/btrfs/btrfs-14.1.ebuild
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/btrfs/btrfs-14.1.ebuild')
-rw-r--r--dev-python/btrfs/btrfs-14.1.ebuild14
1 files changed, 10 insertions, 4 deletions
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