From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB8E91382C5 for ; Sat, 28 Nov 2020 09:15:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A30AE0823; Sat, 28 Nov 2020 09:15:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34278E0823 for ; Sat, 28 Nov 2020 09:15:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 53FCF340B25 for ; Sat, 28 Nov 2020 09:15:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04F9246B for ; Sat, 28 Nov 2020 09:15:31 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1606554921.30c763e660837ae398bd9680f0161ea2d6cf8a0b.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/esptool/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/esptool/Manifest dev-embedded/esptool/esptool-3.0.ebuild X-VCS-Directories: dev-embedded/esptool/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 30c763e660837ae398bd9680f0161ea2d6cf8a0b X-VCS-Branch: master Date: Sat, 28 Nov 2020 09:15:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 916bc22f-5d8d-404e-83a1-368f4357f92d X-Archives-Hash: 4802f801e019ce9a9ed6bba51dcba97d commit: 30c763e660837ae398bd9680f0161ea2d6cf8a0b Author: Martin Dummer gmx net> AuthorDate: Wed Nov 25 14:41:56 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Nov 28 09:15:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c763e6 dev-embedded/esptool: version bump to 3.0 new major version 3.0 due to changed dependencies, the KEYWORDS arm arm64 had to be dropped Bug: https://bugs.gentoo.org/756427 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Martin Dummer gmx.net> Closes: https://github.com/gentoo/gentoo/pull/18400 Signed-off-by: Joonas Niilola gentoo.org> dev-embedded/esptool/Manifest | 1 + dev-embedded/esptool/esptool-3.0.ebuild | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index 9aabd42d1b8..40d6d4e344b 100644 --- a/dev-embedded/esptool/Manifest +++ b/dev-embedded/esptool/Manifest @@ -1 +1,2 @@ DIST esptool-2.8.tar.gz 5399875 BLAKE2B c2c27dc44cec1921f2d800347682bb198be76f7a122fd6a0c9964fb189350980557aa85bd6cb8fb2d63c8c7ccdd18e1860b65ca85c8777145ec1da07da886be1 SHA512 14528197e760779f3bf50e2a44d477979675dd42451fa405e2ae87502158b21f999fb94561980c9eb0634d2d1fd3729779b78266403de858ed1d32e8d29604cc +DIST esptool-3.0.tar.gz 6628258 BLAKE2B 613bdc4c4d0df633c25c83d51a84ff9ca34d5c345f010d2e3e99bc126530d484bb1fb4818b3a10b10a6b9879b161817d5bc6288dab55368f1250a27e2418d641 SHA512 b522d30b11e9ab4e426009116bf1872e587116b7a3b517f841d34d3e860f6454345be89a2e28b8eef5aa5e59318e991504697644a3f4f90d7e63c037025716eb diff --git a/dev-embedded/esptool/esptool-3.0.ebuild b/dev-embedded/esptool/esptool-3.0.ebuild new file mode 100644 index 00000000000..d66949a64ef --- /dev/null +++ b/dev-embedded/esptool/esptool-3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32" +HOMEPAGE="https://github.com/espressif/esptool" +SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/bitstring[${PYTHON_MULTI_USEDEP}] + dev-python/cryptography[${PYTHON_MULTI_USEDEP}] + >=dev-python/ecdsa-0.16.0[${PYTHON_MULTI_USEDEP}] + dev-python/pyserial[${PYTHON_MULTI_USEDEP}] + dev-python/reedsolomon[${PYTHON_MULTI_USEDEP}] + ') +" +BDEPEND=" + test? ( $(python_gen_cond_dep 'dev-python/pyelftools[${PYTHON_MULTI_USEDEP}]') ) +" + +python_test() { + ${EPYTHON} test/test_imagegen.py || die "imagegen test failed with ${EPYTHON}" + ${EPYTHON} test/test_espsecure.py || die "espsecure test failed with ${EPYTHON}" + ${EPYTHON} test/test_espefuse_host.py || die "espefuse_host test failed with ${EPYTHON}" + # test/test_esptool.py and test/test_espefuse.py need real hardware connected +}