summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-02 19:39:28 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-02 19:41:12 +0100
commit701d0e731cd90fcd1f3d0863c58453ae18c34a62 (patch)
tree3106142441543c182bacf53b73e42fa82218f75e /dev-python/python-snappy
parentRename dev-python/{snappy → python-snappy} (diff)
downloadgentoo-701d0e731cd90fcd1f3d0863c58453ae18c34a62.tar.gz
gentoo-701d0e731cd90fcd1f3d0863c58453ae18c34a62.tar.bz2
gentoo-701d0e731cd90fcd1f3d0863c58453ae18c34a62.zip
dev-python/python-snappy: Eliminate unnecessary MY_PN
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-snappy')
-rw-r--r--dev-python/python-snappy/python-snappy-0.6.1.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/dev-python/python-snappy/python-snappy-0.6.1.ebuild b/dev-python/python-snappy/python-snappy-0.6.1.ebuild
index 43168156fe6b..01d657a6f81b 100644
--- a/dev-python/python-snappy/python-snappy-0.6.1.ebuild
+++ b/dev-python/python-snappy/python-snappy-0.6.1.ebuild
@@ -8,16 +8,12 @@ PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
-MY_PN=python-snappy
-MY_P=${MY_PN}-${PV}
-
DESCRIPTION="Python library for the snappy compression library from Google"
HOMEPAGE="
https://github.com/andrix/python-snappy/
https://pypi.org/project/python-snappy/
"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 arm arm64 ~riscv x86 ~amd64-linux ~x86-linux"