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 C8701138359 for ; Sun, 4 Oct 2020 21:15:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE4C7E08BB; Sun, 4 Oct 2020 21:15:18 +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 A9096E08BB for ; Sun, 4 Oct 2020 21:15:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 EB10F335CF5 for ; Sun, 4 Oct 2020 21:15:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 673E838D for ; Sun, 4 Oct 2020 21:15:15 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1601846081.41f3fc9371b2208bbcbc11f6eea80e89d4a701d7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/esptool/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/esptool/esptool-2.8-r1.ebuild dev-embedded/esptool/metadata.xml X-VCS-Directories: dev-embedded/esptool/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 41f3fc9371b2208bbcbc11f6eea80e89d4a701d7 X-VCS-Branch: master Date: Sun, 4 Oct 2020 21:15:15 +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: 0f28d006-08e2-4865-99a1-04cd676484d4 X-Archives-Hash: d1cdd755a86449b8093d5ec29a471eb5 commit: 41f3fc9371b2208bbcbc11f6eea80e89d4a701d7 Author: Martin Dummer gmx net> AuthorDate: Mon Sep 14 19:30:57 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 4 21:14:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f3fc93 dev-embedded/esptool: add python3.[89] + new maintainer successfully tested with python3.8 and 3.9 remove maintainer-needed, add proxy maintainer Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Martin Dummer gmx.net> Signed-off-by: Michał Górny gentoo.org> dev-embedded/esptool/esptool-2.8-r1.ebuild | 41 ++++++++++++++++++++++++++++++ dev-embedded/esptool/metadata.xml | 10 +++++++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/dev-embedded/esptool/esptool-2.8-r1.ebuild b/dev-embedded/esptool/esptool-2.8-r1.ebuild new file mode 100644 index 00000000000..3c6a1359415 --- /dev/null +++ b/dev-embedded/esptool/esptool-2.8-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) # apps work with 3_9 but test depend is not fulfilled +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=rdepend + +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 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/ecdsa[${PYTHON_MULTI_USEDEP}] + dev-python/pyaes[${PYTHON_MULTI_USEDEP}] + >=dev-python/pyserial-3.0[${PYTHON_MULTI_USEDEP}] + ') +" +BDEPEND=" + test? ( $(python_gen_cond_dep 'dev-python/pyelftools[${PYTHON_MULTI_USEDEP}]') ) +" + +src_prepare() { + rm -rf pyaes/ ecdsa/ || die "unable to remove bundled modules" + default +} + +python_test() { + ${EPYTHON} test/test_imagegen.py || die "imagegen test failed with ${EPYTHON}" + ${EPYTHON} test/test_espsecure.py || die "espsecure test failed with ${EPYTHON}" +} diff --git a/dev-embedded/esptool/metadata.xml b/dev-embedded/esptool/metadata.xml index c8023306d2d..5d0a40ebda0 100644 --- a/dev-embedded/esptool/metadata.xml +++ b/dev-embedded/esptool/metadata.xml @@ -1,7 +1,15 @@ - + + martin.dummer@gmx.net + Martin Dummer + + + proxy-maint@gentoo.org + Proxy Maintainers + + espressif/esptool