1 |
commit: c3ba9251933daab06313ea2e567a907ea8fe2eac |
2 |
Author: Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 2 16:55:55 2020 +0000 |
4 |
Commit: Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Sep 2 16:56:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c3ba9251 |
7 |
|
8 |
dev-python/pyfiglet: Tarballs from pypi instead of github |
9 |
|
10 |
The tarballs on pypi are more up to date than the ones on github. The |
11 |
versioning on pypi is kinda weird: X.Y.postZ. I used X.Y.Z for the |
12 |
ebuilds. |
13 |
|
14 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
15 |
Signed-off-by: Matthias Coppens <coppens.matthias.abc <AT> gmail.com> |
16 |
|
17 |
dev-python/pyfiglet/Manifest | 3 ++- |
18 |
dev-python/pyfiglet/pyfiglet-0.8.0.ebuild | 5 ++++- |
19 |
dev-python/pyfiglet/{pyfiglet-0.8.0.ebuild => pyfiglet-0.8.1.ebuild} | 5 ++++- |
20 |
dev-python/pyfiglet/pyfiglet-9999.ebuild | 5 ++++- |
21 |
4 files changed, 14 insertions(+), 4 deletions(-) |
22 |
|
23 |
diff --git a/dev-python/pyfiglet/Manifest b/dev-python/pyfiglet/Manifest |
24 |
index c8670c4..2d03afc 100644 |
25 |
--- a/dev-python/pyfiglet/Manifest |
26 |
+++ b/dev-python/pyfiglet/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
-DIST pyfiglet-0.8.0.tar.gz 1412945 BLAKE2B 601d8edd22d1cd3bb1999a1000717ac5074024c1511068f613a22c21663b6f62fa3671bc329a99a7527444f8694c9c6342a34ff0bef52c64daa4f66d18f5dfec SHA512 47cbe6f539d2559fb7c545d42cb0a085c85d7a18729453f0b3f62a735f580026b5c9fe40eef896c038cfc9a5400b6bc6dc382e7014c6733d2797bb03c2a9dc49 |
29 |
+DIST pyfiglet-0.8.0.tar.gz 634587 BLAKE2B 6ceec287f854662a0d0cbb6de285c91f1088e6fa2626a26445a98c18f98c8e6fb648b6f6f2fc1cfb160657423a24ec8ec8f9183e078393f336edc1db08eb8e9e SHA512 43f0497ae86139e8f64c45e41e575aa82eee574331739e96c555ca33e8f6900df6487d3220667188891eacd56e00d716d427479337fe5d6b2efdaa6aaaa64376 |
30 |
+DIST pyfiglet-0.8.1.tar.gz 634618 BLAKE2B 49268581974e72f28ddb11785a1629a4ac2696bcdd57710147cafdcf7709be8c67bdf03e5ccdb1655a9be6eb8a83baf4ca5ae0a6412e2318d0923376558b8d49 SHA512 3b8c7b4c9ae48466da3ccc6711aac9c35b08a373abbdda66c60a62f17ba6edd316b0d5e3085613f7c44fbaa2f02acc4a5b3830a31d22437d9261863878421400 |
31 |
|
32 |
diff --git a/dev-python/pyfiglet/pyfiglet-0.8.0.ebuild b/dev-python/pyfiglet/pyfiglet-0.8.0.ebuild |
33 |
index 7822410..bb23444 100644 |
34 |
--- a/dev-python/pyfiglet/pyfiglet-0.8.0.ebuild |
35 |
+++ b/dev-python/pyfiglet/pyfiglet-0.8.0.ebuild |
36 |
@@ -15,7 +15,10 @@ then |
37 |
inherit git-r3 |
38 |
EGIT_REPO_URI="https://github.com/pwaller/pyfiglet.git" |
39 |
else |
40 |
- SRC_URI="https://github.com/pwaller/pyfiglet/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ MY_PV="$(ver_cut 1-2).post$(ver_cut 3)" |
42 |
+ MY_P="${PN}-${MY_PV}" |
43 |
+ S="${WORKDIR}/${MY_P}" |
44 |
+ SRC_URI="https://files.pythonhosted.org/packages/source/p/pyfiglet/${MY_P}.tar.gz -> ${P}.tar.gz" |
45 |
KEYWORDS="~amd64" |
46 |
fi |
47 |
|
48 |
|
49 |
diff --git a/dev-python/pyfiglet/pyfiglet-0.8.0.ebuild b/dev-python/pyfiglet/pyfiglet-0.8.1.ebuild |
50 |
similarity index 73% |
51 |
copy from dev-python/pyfiglet/pyfiglet-0.8.0.ebuild |
52 |
copy to dev-python/pyfiglet/pyfiglet-0.8.1.ebuild |
53 |
index 7822410..bb23444 100644 |
54 |
--- a/dev-python/pyfiglet/pyfiglet-0.8.0.ebuild |
55 |
+++ b/dev-python/pyfiglet/pyfiglet-0.8.1.ebuild |
56 |
@@ -15,7 +15,10 @@ then |
57 |
inherit git-r3 |
58 |
EGIT_REPO_URI="https://github.com/pwaller/pyfiglet.git" |
59 |
else |
60 |
- SRC_URI="https://github.com/pwaller/pyfiglet/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
61 |
+ MY_PV="$(ver_cut 1-2).post$(ver_cut 3)" |
62 |
+ MY_P="${PN}-${MY_PV}" |
63 |
+ S="${WORKDIR}/${MY_P}" |
64 |
+ SRC_URI="https://files.pythonhosted.org/packages/source/p/pyfiglet/${MY_P}.tar.gz -> ${P}.tar.gz" |
65 |
KEYWORDS="~amd64" |
66 |
fi |
67 |
|
68 |
|
69 |
diff --git a/dev-python/pyfiglet/pyfiglet-9999.ebuild b/dev-python/pyfiglet/pyfiglet-9999.ebuild |
70 |
index 7822410..bb23444 100644 |
71 |
--- a/dev-python/pyfiglet/pyfiglet-9999.ebuild |
72 |
+++ b/dev-python/pyfiglet/pyfiglet-9999.ebuild |
73 |
@@ -15,7 +15,10 @@ then |
74 |
inherit git-r3 |
75 |
EGIT_REPO_URI="https://github.com/pwaller/pyfiglet.git" |
76 |
else |
77 |
- SRC_URI="https://github.com/pwaller/pyfiglet/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
78 |
+ MY_PV="$(ver_cut 1-2).post$(ver_cut 3)" |
79 |
+ MY_P="${PN}-${MY_PV}" |
80 |
+ S="${WORKDIR}/${MY_P}" |
81 |
+ SRC_URI="https://files.pythonhosted.org/packages/source/p/pyfiglet/${MY_P}.tar.gz -> ${P}.tar.gz" |
82 |
KEYWORDS="~amd64" |
83 |
fi |