2021-04-17 19:26:12 +12:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2020-08-31 09:55:09 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
2021-10-02 15:22:09 +03:00
|
|
|
PYTHON_COMPAT=( python3_{8..9} )
|
2020-08-31 09:55:09 +02:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="Pure-python FIGlet implementation"
|
|
|
|
|
HOMEPAGE="https://pypi.org/project/pyfiglet/ https://github.com/pwaller/pyfiglet"
|
|
|
|
|
|
|
|
|
|
if [[ "${PV}" == 9999 ]]
|
|
|
|
|
then
|
|
|
|
|
inherit git-r3
|
|
|
|
|
EGIT_REPO_URI="https://github.com/pwaller/pyfiglet.git"
|
|
|
|
|
else
|
2020-12-21 20:43:40 +01:00
|
|
|
MY_PV="$(ver_cut 1-2).post$(ver_cut 4)"
|
2020-09-02 18:55:55 +02:00
|
|
|
MY_P="${PN}-${MY_PV}"
|
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
|
SRC_URI="https://files.pythonhosted.org/packages/source/p/pyfiglet/${MY_P}.tar.gz -> ${P}.tar.gz"
|
2020-08-31 09:55:09 +02:00
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
|
|
RESTRICT="mirror test"
|