dev-python/pyfiglet: Use pypi.eclass

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-03-17 17:49:06 +05:00
parent bd642d5ebc
commit fada104d03

View File

@@ -1,18 +1,17 @@
# Copyright 1999-2022 Gentoo Authors # Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 ) PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 inherit distutils-r1 pypi
MY_PV="$(ver_cut 1-2).post$(ver_cut 4)"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Pure-python FIGlet implementation" DESCRIPTION="Pure-python FIGlet implementation"
HOMEPAGE="https://pypi.org/project/pyfiglet/ https://github.com/pwaller/pyfiglet" HOMEPAGE="
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" https://pypi.org/project/pyfiglet/
S="${WORKDIR}/${MY_P}" https://github.com/pwaller/pyfiglet
"
LICENSE="MIT" LICENSE="MIT"
KEYWORDS="~amd64" KEYWORDS="~amd64"