summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:46 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:40 +0100
commitf711f92cbb161cd4f0a67cb9a5b039429c501863 (patch)
treea390a0391f37dae8f020064e6d85efc63a7901e9 /dev-python/pygresql
parentdev-python/pygments: Use pypi.eclass (diff)
downloadgentoo-f711f92cbb161cd4f0a67cb9a5b039429c501863.tar.gz
gentoo-f711f92cbb161cd4f0a67cb9a5b039429c501863.tar.bz2
gentoo-f711f92cbb161cd4f0a67cb9a5b039429c501863.zip
dev-python/pygresql: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pygresql')
-rw-r--r--dev-python/pygresql/pygresql-5.2.4.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-python/pygresql/pygresql-5.2.4.ebuild b/dev-python/pygresql/pygresql-5.2.4.ebuild
index cf8382f2dda3..2c4fcce017a1 100644
--- a/dev-python/pygresql/pygresql-5.2.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.4.ebuild
@@ -4,17 +4,15 @@
EAPI=7
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="PyGreSQL"
POSTGRES_COMPAT=( 9.6 {10..14} )
PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1 postgres
-
-MY_P="PyGreSQL-${PV}"
+inherit distutils-r1 postgres pypi
DESCRIPTION="A Python interface for the PostgreSQL database"
HOMEPAGE="https://pygresql.org/"
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="POSTGRESQL"
SLOT="0"