Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/platformio/files/, dev-embedded/platformio/
Date: Fri, 23 Aug 2019 13:52:25
Message-Id: 1566568321.0b3698fdf8528a114d02a5cea32bb323308ebb53.alexxy@gentoo
1 commit: 0b3698fdf8528a114d02a5cea32bb323308ebb53
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 23 13:52:01 2019 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 23 13:52:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3698fd
7
8 dev-embedded/platformio: Version bump
9
10 Package-Manager: Portage-2.3.72, Repoman-2.3.17
11 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
12
13 dev-embedded/platformio/Manifest | 2 +-
14 ...-Make-scripts-compatible-with-py2-and-py3.patch | 65 ----------------------
15 ...formio-4.0.0.ebuild => platformio-4.0.1.ebuild} | 2 -
16 3 files changed, 1 insertion(+), 68 deletions(-)
17
18 diff --git a/dev-embedded/platformio/Manifest b/dev-embedded/platformio/Manifest
19 index 1a1123d2467..95c366a136b 100644
20 --- a/dev-embedded/platformio/Manifest
21 +++ b/dev-embedded/platformio/Manifest
22 @@ -1 +1 @@
23 -DIST platformio-4.0.0.tar.gz 139700 BLAKE2B 1b4e6e244a0596f2713c1c07ca117d55986776a0dbdbdf06a313226b04941e4ae22ceb3444eca943cd130a8dd8546050febebf3f4dc435b0407b32c61212b07a SHA512 dddb717e39d9ede8464090599d6bc636e258120e97327d666f3479c2b55c0c6c73708d5c1306118a6a56fa2a85471cec6865d9465726174486a70832e32bc1d7
24 +DIST platformio-4.0.1.tar.gz 140325 BLAKE2B 82992e97c91fefcdbdb219cae066aa6314cc55f0461e7fffd9d8e7b36a308a7bb8ccffb3fe7a7b676b9866b1e6c18980b40c4f009919f649e68331b316593a63 SHA512 d74784f72d93039eb32fd984dd2cdfeb00d5a36a005bb9aefa7501d8b310ff3f7367ce9b40265095ecb06594e7e3841a7b677bffa1f9215a39b7d3c6e7e4afc2
25
26 diff --git a/dev-embedded/platformio/files/platformio-4.0.0-Make-scripts-compatible-with-py2-and-py3.patch b/dev-embedded/platformio/files/platformio-4.0.0-Make-scripts-compatible-with-py2-and-py3.patch
27 deleted file mode 100644
28 index c899105dde6..00000000000
29 --- a/dev-embedded/platformio/files/platformio-4.0.0-Make-scripts-compatible-with-py2-and-py3.patch
30 +++ /dev/null
31 @@ -1,65 +0,0 @@
32 -From e1d5cb23f342269e1e99b017c1082cd6208b8c9d Mon Sep 17 00:00:00 2001
33 -From: Alexey Shvetsov <alexxy@g.o>
34 -Date: Fri, 12 Jul 2019 11:26:27 +0300
35 -Subject: [PATCH] Make scripts compatible with py2 and py3
36 -
37 -Signed-off-by: Alexey Shvetsov <alexxy@g.o>
38 ----
39 - scripts/docspregen.py | 5 +++--
40 - scripts/fixsymlink.py | 4 +++-
41 - 2 files changed, 6 insertions(+), 3 deletions(-)
42 -
43 -diff --git a/scripts/docspregen.py b/scripts/docspregen.py
44 -index b4e5a67f..ab43bd7c 100644
45 ---- a/scripts/docspregen.py
46 -+++ b/scripts/docspregen.py
47 -@@ -11,6 +11,7 @@
48 - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
49 - # See the License for the specific language governing permissions and
50 - # limitations under the License.
51 -+from __future__ import print_function
52 -
53 - import os
54 - import urlparse
55 -@@ -280,7 +281,7 @@ Packages
56 -
57 -
58 - def generate_platform(name, rst_dir):
59 -- print "Processing platform: %s" % name
60 -+ print("Processing platform: %s" % name)
61 -
62 - compatible_boards = [
63 - board for board in BOARDS if name == board['platform']
64 -@@ -439,7 +440,7 @@ def update_platform_docs():
65 -
66 -
67 - def generate_framework(type_, data, rst_dir=None):
68 -- print "Processing framework: %s" % type_
69 -+ print("Processing framework: %s" % type_)
70 -
71 - compatible_platforms = [
72 - m for m in PLATFORM_MANIFESTS
73 -diff --git a/scripts/fixsymlink.py b/scripts/fixsymlink.py
74 -index a73a0109..b250b04b 100644
75 ---- a/scripts/fixsymlink.py
76 -+++ b/scripts/fixsymlink.py
77 -@@ -12,13 +12,15 @@
78 - # See the License for the specific language governing permissions and
79 - # limitations under the License.
80 -
81 -+from __future__ import print_function
82 -+
83 - from os import chdir, getcwd, readlink, remove, symlink, walk
84 - from os.path import exists, islink, join, relpath
85 - from sys import exit as sys_exit
86 -
87 -
88 - def fix_symlink(root, fname, brokenlink):
89 -- print root, fname, brokenlink
90 -+ print(root, fname, brokenlink)
91 - prevcwd = getcwd()
92 -
93 - chdir(root)
94 ---
95 -2.22.0
96 -
97
98 diff --git a/dev-embedded/platformio/platformio-4.0.0.ebuild b/dev-embedded/platformio/platformio-4.0.1.ebuild
99 similarity index 92%
100 rename from dev-embedded/platformio/platformio-4.0.0.ebuild
101 rename to dev-embedded/platformio/platformio-4.0.1.ebuild
102 index 5200247c426..3062aaa4423 100644
103 --- a/dev-embedded/platformio/platformio-4.0.0.ebuild
104 +++ b/dev-embedded/platformio/platformio-4.0.1.ebuild
105 @@ -30,5 +30,3 @@ RDEPEND="${DEPEND}
106 <dev-python/requests-3[${PYTHON_USEDEP}]
107 >=dev-python/semantic_version-2.5.0[${PYTHON_USEDEP}]
108 <dev-python/semantic_version-3[${PYTHON_USEDEP}]"
109 -
110 -PATCHES=( "${FILESDIR}/${P}-Make-scripts-compatible-with-py2-and-py3.patch" )