dev-embedded/esptool: treeclean

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 09:08:56 +01:00 committed by Andreas Billmeier
parent 9189fd9ef5
commit 34c010575b
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
7 changed files with 3 additions and 205 deletions

View File

@ -612,7 +612,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 1665 Ebuilds in total, 1654 of them have in total 1675 (43 different) licenses assigned.
There are 1661 Ebuilds in total, 1650 of them have in total 1671 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@ -620,7 +620,7 @@ There are 1665 Ebuilds in total, 1654 of them have in total 1675 (43 different)
|Apache-2.0|343|
|BSD|96|
|GPL-3|95|
|GPL-2|27|
|GPL-2|24|
|LGPL-3|22|
|all-rights-reserved|15|
|BSD-2|12|
@ -634,7 +634,6 @@ There are 1665 Ebuilds in total, 1654 of them have in total 1675 (43 different)
|LGPL-2.1+|3|
|public-domain|3|
|BSD-4|3|
|GPL-2+|2|
|AGPL-3+|2|
|ZPL|2|
|LGPL-2+|2|
@ -658,6 +657,7 @@ There are 1665 Ebuilds in total, 1654 of them have in total 1675 (43 different)
|Unicode-DFS-2016|1|
|CC-BY-NC-SA-4.0|1|
|EPL-2.0|1|
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 10/12/2023)

View File

@ -1,9 +0,0 @@
DIST esptool-3.3.1.tar.gz 213846 BLAKE2B 3abc7a53a6cd1e2c4168ac99c90313cf61bbd34b466d35b5cc7dcb4f6162c067444a56f33998850916308b4c2ae0ecb7ee49f70109fb4cdbc0cd9527e2287dbd SHA512 28d68c52dc00daf8667685e95f266e1be64f93566386ac0375e8b3e0fa5d15cbfd62031a46caf42a31cd6ee45f8b3e6df108af0f858fecff6e958b1d1301f99f
DIST esptool-3.3.tar.gz 213683 BLAKE2B c24f1fb95060e807d88a04f1f6fe957882b86792b64628673f6443b3d9677544a0b4f39a98f755e0d25cb443f4f666aeab505dedea34f27963fed04c773dfec6 SHA512 4795125ddb5b4728965ae7fd84bb04c6001fa669282596190b43108dea89df5f52a1549b763276d297876a83ca5b3a89cfbf41729cd256d3493566b3e8b9929e
DIST esptool-4.4.tar.gz 223572 BLAKE2B 6194533b1245b2b93a67ef5c920554dcca2af25969b5c0b407e0f91d605471d7cdb2a6346bba5677e2447ffb40eac75563ad079499fee311c23a20505f35cace SHA512 117b6bbb184956ef1cb3303abd34d019595829219dc7de5f08f308af01731b795b8ae96fd69b117ebe959a606bf7269f77b9afa3de7521845952dcfca8ce35ea
DIST esptool-4.6.2.gh.tar.gz 7003860 BLAKE2B 051689dbc2194e1ed08467f9ec82e3a48e31cf62c25b83f97e3b05a1d203c9dda120cbb11a40bb61efe076ae8449d0b9b4742b19d59efef205132f05d16130a5 SHA512 97cc9f4d92b479351089fac59aed08f9519ff76d994ddae601da8e39b988f4bb90dc3885bf30b7998e2575a0365a5f0eef85f16a28b12eb944eec1e9f5265c6c
EBUILD esptool-3.3-r2.ebuild 1041 BLAKE2B 010a81adae9a7cc67b1ebed1e8a4c8dd146e4de95ec5dc10d9baa798ddbce5f5cbdbdfdeeebf0cefa64f9f6d3604b66dec3349ddbd4067d9cde0ee5576ffd8a2 SHA512 5901291e2a96470ac18514ca96fc41afd756eec00f366fd8beb416f9e540cfe6c5e6f84836f102e53c8e0def2b0122042d6fe2cf6cb51b015ecd4cb24a29c768
EBUILD esptool-3.3.1.ebuild 1042 BLAKE2B 07b16fe91f1edf4fccf116b4cbb96e7128c54bff5ab6a90925a8cb7eb8feaaf5257f1457505274875145ef9110f304c667a7090590612618d0beaba00e2b7224 SHA512 d67a68005c7e04db561b4a7b2be6c6694014a70852693b86507449594b748275636bb6f190ec9bde639b139156f8f045ff33f37ded35f527b723e91c58a0781c
EBUILD esptool-4.4.ebuild 1042 BLAKE2B 07b16fe91f1edf4fccf116b4cbb96e7128c54bff5ab6a90925a8cb7eb8feaaf5257f1457505274875145ef9110f304c667a7090590612618d0beaba00e2b7224 SHA512 d67a68005c7e04db561b4a7b2be6c6694014a70852693b86507449594b748275636bb6f190ec9bde639b139156f8f045ff33f37ded35f527b723e91c58a0781c
EBUILD esptool-4.6.2.ebuild 2035 BLAKE2B 47aa73c20a0b3bf078a7a9e2b07b2e3ec740d3a144a77c78d1fccf25e9ed138a73ebcddb69adcd40a5288bdea08446f1a27b10bdae0c3eea17f8a2239816f1c8 SHA512 8232f449408e18a0708eaeb414874844cf92d48a9101831776e61f0bf8e1b3082630e164ebae56c41e0a019eea4076c26fdda815b8ce101d15bcce9a2a556b7c
MISC metadata.xml 385 BLAKE2B 37e68ce4aa2c9a8b416e985988fcf766b2a93b460f104766c29fbb930240af58b69213f362d8a0d3f26a11fc8bf4918c7add972c24703895c8ab22c9d89ae8d4 SHA512 52121da4f9c3eab379ae263eec5a2a17c5d717d8c6b4633d2dcba6c2ecb03e6ad12a0d89566ab07abbc4d9a5237dc062e35d3292379475e3e4eb19deb2a8b998

View File

@ -1,38 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips."
HOMEPAGE="https://github.com/espressif/esptool https://pypi.org/project/esptool/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/bitstring-3.1.6[${PYTHON_USEDEP}]
>=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
>=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.0[${PYTHON_USEDEP}]
>=dev-python/reedsolomon-1.5.3[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pip[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
# reedsolo>=1.5.3,<=1.5.4
src_prepare() {
sed -i "s/reedsolo>=1.5.3,<=1.5.4/reedsolo>=1.5.3/g" -i setup.py || die
eapply_user
}
distutils_enable_tests unittest

View File

@ -1,39 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips."
HOMEPAGE="https://github.com/espressif/esptool https://pypi.org/project/esptool/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/bitstring-3.1.6[${PYTHON_USEDEP}]
>=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
>=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.0[${PYTHON_USEDEP}]
>=dev-python/reedsolomon-1.5.3[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pip[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
# reedsolo>=1.5.3,<=1.5.4
src_prepare() {
sed -i "s/reedsolo>=1.5.3,<=1.5.4/reedsolo>=1.5.3/g" -i setup.py || die
eapply_user
}
distutils_enable_tests unittest

View File

@ -1,39 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips."
HOMEPAGE="https://github.com/espressif/esptool https://pypi.org/project/esptool/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/bitstring-3.1.6[${PYTHON_USEDEP}]
>=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
>=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.0[${PYTHON_USEDEP}]
>=dev-python/reedsolomon-1.5.3[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pip[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
# reedsolo>=1.5.3,<=1.5.4
src_prepare() {
sed -i "s/reedsolo>=1.5.3,<=1.5.4/reedsolo>=1.5.3/g" -i setup.py || die
eapply_user
}
distutils_enable_tests unittest

View File

@ -1,65 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
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}.gh.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/bitstring-3.1.6[${PYTHON_USEDEP}]
>=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
>=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/reedsolo-1.5.3[${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,12 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">esptool</remote-id>
<remote-id type="github">espressif/esptool</remote-id>
</upstream>
</pkgmetadata>