From 0b3698fdf8528a114d02a5cea32bb323308ebb53 Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Fri, 23 Aug 2019 16:52:01 +0300 Subject: dev-embedded/platformio: Version bump Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Alexey Shvetsov --- dev-embedded/platformio/Manifest | 2 +- ...-Make-scripts-compatible-with-py2-and-py3.patch | 65 ---------------------- dev-embedded/platformio/platformio-4.0.0.ebuild | 34 ----------- dev-embedded/platformio/platformio-4.0.1.ebuild | 32 +++++++++++ 4 files changed, 33 insertions(+), 100 deletions(-) delete mode 100644 dev-embedded/platformio/files/platformio-4.0.0-Make-scripts-compatible-with-py2-and-py3.patch delete mode 100644 dev-embedded/platformio/platformio-4.0.0.ebuild create mode 100644 dev-embedded/platformio/platformio-4.0.1.ebuild (limited to 'dev-embedded/platformio') diff --git a/dev-embedded/platformio/Manifest b/dev-embedded/platformio/Manifest index 1a1123d24679..95c366a136bc 100644 --- a/dev-embedded/platformio/Manifest +++ b/dev-embedded/platformio/Manifest @@ -1 +1 @@ -DIST platformio-4.0.0.tar.gz 139700 BLAKE2B 1b4e6e244a0596f2713c1c07ca117d55986776a0dbdbdf06a313226b04941e4ae22ceb3444eca943cd130a8dd8546050febebf3f4dc435b0407b32c61212b07a SHA512 dddb717e39d9ede8464090599d6bc636e258120e97327d666f3479c2b55c0c6c73708d5c1306118a6a56fa2a85471cec6865d9465726174486a70832e32bc1d7 +DIST platformio-4.0.1.tar.gz 140325 BLAKE2B 82992e97c91fefcdbdb219cae066aa6314cc55f0461e7fffd9d8e7b36a308a7bb8ccffb3fe7a7b676b9866b1e6c18980b40c4f009919f649e68331b316593a63 SHA512 d74784f72d93039eb32fd984dd2cdfeb00d5a36a005bb9aefa7501d8b310ff3f7367ce9b40265095ecb06594e7e3841a7b677bffa1f9215a39b7d3c6e7e4afc2 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 deleted file mode 100644 index c899105dde6c..000000000000 --- a/dev-embedded/platformio/files/platformio-4.0.0-Make-scripts-compatible-with-py2-and-py3.patch +++ /dev/null @@ -1,65 +0,0 @@ -From e1d5cb23f342269e1e99b017c1082cd6208b8c9d Mon Sep 17 00:00:00 2001 -From: Alexey Shvetsov -Date: Fri, 12 Jul 2019 11:26:27 +0300 -Subject: [PATCH] Make scripts compatible with py2 and py3 - -Signed-off-by: Alexey Shvetsov ---- - scripts/docspregen.py | 5 +++-- - scripts/fixsymlink.py | 4 +++- - 2 files changed, 6 insertions(+), 3 deletions(-) - -diff --git a/scripts/docspregen.py b/scripts/docspregen.py -index b4e5a67f..ab43bd7c 100644 ---- a/scripts/docspregen.py -+++ b/scripts/docspregen.py -@@ -11,6 +11,7 @@ - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. -+from __future__ import print_function - - import os - import urlparse -@@ -280,7 +281,7 @@ Packages - - - def generate_platform(name, rst_dir): -- print "Processing platform: %s" % name -+ print("Processing platform: %s" % name) - - compatible_boards = [ - board for board in BOARDS if name == board['platform'] -@@ -439,7 +440,7 @@ def update_platform_docs(): - - - def generate_framework(type_, data, rst_dir=None): -- print "Processing framework: %s" % type_ -+ print("Processing framework: %s" % type_) - - compatible_platforms = [ - m for m in PLATFORM_MANIFESTS -diff --git a/scripts/fixsymlink.py b/scripts/fixsymlink.py -index a73a0109..b250b04b 100644 ---- a/scripts/fixsymlink.py -+++ b/scripts/fixsymlink.py -@@ -12,13 +12,15 @@ - # See the License for the specific language governing permissions and - # limitations under the License. - -+from __future__ import print_function -+ - from os import chdir, getcwd, readlink, remove, symlink, walk - from os.path import exists, islink, join, relpath - from sys import exit as sys_exit - - - def fix_symlink(root, fname, brokenlink): -- print root, fname, brokenlink -+ print(root, fname, brokenlink) - prevcwd = getcwd() - - chdir(root) --- -2.22.0 - diff --git a/dev-embedded/platformio/platformio-4.0.0.ebuild b/dev-embedded/platformio/platformio-4.0.0.ebuild deleted file mode 100644 index 5200247c4260..000000000000 --- a/dev-embedded/platformio/platformio-4.0.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) -DISTUTILS_SINGLE_IMPL=1 - -inherit distutils-r1 - -DESCRIPTION="An open source ecosystem for IoT development" -HOMEPAGE="https://platformio.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND} - =dev-python/click-5[${PYTHON_USEDEP}] - =dev-python/pyserial-3[${PYTHON_USEDEP}] - =dev-python/requests-2.4[${PYTHON_USEDEP}] - =dev-python/semantic_version-2.5.0[${PYTHON_USEDEP}] -