dev-python/pyfiglet: Tarballs from pypi instead of github

The tarballs on pypi are more up to date than the ones on github. The
versioning on pypi is kinda weird: X.Y.postZ. I used X.Y.Z for the
ebuilds.

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
This commit is contained in:
Matthias Coppens
2020-09-02 18:55:55 +02:00
parent 32deb6b83b
commit c3ba925193
4 changed files with 38 additions and 3 deletions

View File

@@ -15,7 +15,10 @@ then
inherit git-r3
EGIT_REPO_URI="https://github.com/pwaller/pyfiglet.git"
else
SRC_URI="https://github.com/pwaller/pyfiglet/archive/v${PV}.tar.gz -> ${P}.tar.gz"
MY_PV="$(ver_cut 1-2).post$(ver_cut 3)"
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"
KEYWORDS="~amd64"
fi