summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-15 18:48:41 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-16 05:08:49 +0100
commit43f7f297ed41706a94b40b13ee94fde0f00734be (patch)
treedbbbced604101097714d6b3eb1d674ccab7df97d /dev-python/sqlparse
parentdev-python/sqlitedict: Use pypi.eclass (diff)
downloadgentoo-43f7f297ed41706a94b40b13ee94fde0f00734be.tar.gz
gentoo-43f7f297ed41706a94b40b13ee94fde0f00734be.tar.bz2
gentoo-43f7f297ed41706a94b40b13ee94fde0f00734be.zip
dev-python/sqlparse: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sqlparse')
-rw-r--r--dev-python/sqlparse/sqlparse-0.4.3.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/dev-python/sqlparse/sqlparse-0.4.3.ebuild b/dev-python/sqlparse/sqlparse-0.4.3.ebuild
index c2230527e235..9dd66e93c5c0 100644
--- a/dev-python/sqlparse/sqlparse-0.4.3.ebuild
+++ b/dev-python/sqlparse/sqlparse-0.4.3.ebuild
@@ -4,14 +4,10 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_PN="${PN##python-}"
-MY_P="${MY_PN}-${PV}"
DESCRIPTION="A non-validating SQL parser module for Python"
HOMEPAGE="https://github.com/andialbrecht/sqlparse"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}"/${P#python-}
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"