dev-embedded/esptool: treeclean

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-04-28 17:17:12 +02:00
parent 4fc7560c04
commit 30e753cbca
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 2 additions and 86 deletions

View File

@ -617,7 +617,7 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1788 Ebuilds in total, 1777 of them have in total 1797 (42 different) licenses assigned.
There are 1787 Ebuilds in total, 1776 of them have in total 1796 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@ -639,7 +639,6 @@ There are 1788 Ebuilds in total, 1777 of them have in total 1797 (42 different)
|ZPL|3|
|LGPL-2.1+|3|
|AGPL-3|3|
|GPL-2+|2|
|AGPL-3+|2|
|LGPL-2+|2|
|public-domain|2|
@ -662,6 +661,7 @@ There are 1788 Ebuilds in total, 1777 of them have in total 1797 (42 different)
|CC-BY-NC-SA-4.0|1|
|CC0-1.0|1|
|EPL-2.0|1|
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 28/04/2024)

View File

@ -1,3 +0,0 @@
DIST esptool-4.7.0.tar.gz 7045501 BLAKE2B 468d83db541e632296e9b465d54764dc5e966f54709b66b0af2675d8fbd6d0bcd70fb18584887f3dc4d45bd0550b65a0da58d0c6bc318962b8798017b4ab0b63 SHA512 dda2af5d9b2f8a4ec5706eaf58021e95094c152380c732074809c370a5d1bfaeb424cb27f69a3b980dec83ae9c4c9ee1eddfeb0a7990c3b1f1494160a2d369cc
EBUILD esptool-4.7.0-r2.ebuild 2012 BLAKE2B 8b5dd366be36bdbae9df92446a343303011ec2b78b9a2bd780685890127796936c588254cb95542d21229a8adcce1bcb5dbff56b23390f17226075f39eaf2590 SHA512 4cbcb45de147a3aa46a5c5f6a59f1db18c74f3ff5cc79896ba7667013ef138497bce7bcc689cc508b199521ffda6701b55019b976f17471c4ec791327749cda1
MISC metadata.xml 504 BLAKE2B 578f33b9dc0f1748ecd37c355efd7f4acb041c192e44b89ad926c482c2a1d422080a0ed3c74311895b9f1ef996315965a79adc31b86437b3ea63bae321dd6294 SHA512 e8ed1644714bc0878d2d955f9d90bd6e0ca9fa183186ff160adaaaa46573fc696e49783c793f225a32b47b23da9f5df4d77d5fd59d7a52fc6386ec59f892cb83

View File

@ -1,65 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
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"
RDEPEND="
$(python_gen_cond_dep '
dev-python/bitstring[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
>=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
dev-python/intelhex[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/reedsolo[${PYTHON_USEDEP}]
')
"
BDEPEND="
$(python_gen_cond_dep '
dev-python/wheel[${PYTHON_USEDEP}]
')
test? ( $(python_gen_cond_dep '
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/pyelftools[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
') )
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# test/test_esptool.py and test/test_espefuse.py need real hardware connected
test/test_esptool.py
test/test_espefuse.py
)
src_prepare() {
default
# test_espsecure_hsm.py needs setup of a "Soft HSM" or real hardware. remove.
rm test/test_espsecure_hsm.py || die
}
pkg_postinst() {
if ver_test ${REPLACING_VERSIONS} -lt 4; then
ewarn "${P} - new 4.x release with breaking changes:"
ewarn " - Public API has been defined by limiting access to internals that have been refactored into multiple source files"
ewarn " - If active security features are detected, the default behavior changes to prevent unintentional bricking"
ewarn " - Flash parameters in an image header can now be changed only when no SHA256 digest is appended"
ewarn " - The ESP8684 alias has been removed, ESP32-C2 has to be used"
ewarn " - Megabit flash sizes have been deprecated, use megabyte units from now on"
fi
}

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>martin.dummer@gmx.net</email>
<name>Martin Dummer</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">espressif/esptool</remote-id>
</upstream>
</pkgmetadata>