1 |
commit: 9accb2f9e19deab7e6d74d60e13a708bb33be6aa |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 02:23:46 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 02:23:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9accb2f9 |
7 |
|
8 |
dev-embedded/platformio: unpin semantic_version |
9 |
|
10 |
Bug: https://bugs.gentoo.org/853247 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../files/platformio-5.2.5-fix-semantic-version-dep.patch | 12 ++++++++++++ |
14 |
...platformio-5.2.5-r1.ebuild => platformio-5.2.5-r2.ebuild} | 4 ++++ |
15 |
2 files changed, 16 insertions(+) |
16 |
|
17 |
diff --git a/dev-embedded/platformio/files/platformio-5.2.5-fix-semantic-version-dep.patch b/dev-embedded/platformio/files/platformio-5.2.5-fix-semantic-version-dep.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..1fa92fed8784 |
20 |
--- /dev/null |
21 |
+++ b/dev-embedded/platformio/files/platformio-5.2.5-fix-semantic-version-dep.patch |
22 |
@@ -0,0 +1,12 @@ |
23 |
+https://bugs.gentoo.org/853247 |
24 |
+--- a/setup.py |
25 |
++++ b/setup.py |
26 |
+@@ -35,7 +35,7 @@ minimal_requirements = [ |
27 |
+ "pyelftools>=0.27,<1", |
28 |
+ "pyserial==3.*", |
29 |
+ "requests==2.*", |
30 |
+- "semantic_version==2.9.*", |
31 |
++ "semantic_version==2.*", |
32 |
+ "tabulate==0.8.*", |
33 |
+ ] |
34 |
+ |
35 |
|
36 |
diff --git a/dev-embedded/platformio/platformio-5.2.5-r1.ebuild b/dev-embedded/platformio/platformio-5.2.5-r2.ebuild |
37 |
similarity index 97% |
38 |
rename from dev-embedded/platformio/platformio-5.2.5-r1.ebuild |
39 |
rename to dev-embedded/platformio/platformio-5.2.5-r2.ebuild |
40 |
index 9c73bc3fd57d..9c0cbfa5bbd5 100644 |
41 |
--- a/dev-embedded/platformio/platformio-5.2.5-r1.ebuild |
42 |
+++ b/dev-embedded/platformio/platformio-5.2.5-r2.ebuild |
43 |
@@ -68,6 +68,10 @@ EPYTEST_IGNORE=( |
44 |
|
45 |
distutils_enable_tests pytest |
46 |
|
47 |
+PATCHES=( |
48 |
+ "${FILESDIR}"/${PN}-5.2.5-fix-semantic-version-dep.patch |
49 |
+) |
50 |
+ |
51 |
src_prepare() { |
52 |
# Allow newer versions of zeroconf, Bug #831181. |
53 |
# Also wsproto. |