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
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
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"
HOMEPAGE="https://pypi.org/project/pyfiglet/ https://github.com/pwaller/pyfiglet"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
HOMEPAGE="
https://pypi.org/project/pyfiglet/
https://github.com/pwaller/pyfiglet
"
LICENSE="MIT"
KEYWORDS="~amd64"