dev-python/twentemilieu: add 2.0.1

Closes: #2500
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 14:22:48 +01:00 committed by Andreas Billmeier
parent cc2fc546c1
commit 5c15e11329
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 45 additions and 2 deletions

View File

@ -612,11 +612,11 @@ 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 1728 Ebuilds in total, 1717 of them have in total 1737 (43 different) licenses assigned.
There are 1729 Ebuilds in total, 1718 of them have in total 1738 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1013|
|MIT|1014|
|Apache-2.0|363|
|GPL-3|98|
|BSD|96|

View File

@ -1,5 +1,7 @@
DIST twentemilieu-1.0.0.tar.gz 7075 BLAKE2B bd29ef2f619976af040f567c4ededa5c87d4a2af17f3e82ce88fa8d4a7792c09de1c257cfd9d94ecba2772b6fad3983900bb831d4f06cd6c2bba1d0fe7f3d1e0 SHA512 350a9ae21ce3ab5893ddb5fed76231a0281089640f997393334ab2cb297bd46f761cf79968d30b3d723b164cf84039f93a2aeb48d79daa0f692bb0531f720e95
DIST twentemilieu-2.0.0.tar.gz 7190 BLAKE2B 53d6cf6b6cefc10b6411559f1a12a1ef36846f23cf6033d82d3a8c9a167a461e6e3f0d4d6ad0fd12c4aff240fc956951ef8e68c8576dcdae7d958f9f35f66a67 SHA512 d3ca102b51ce61bf4b164d9607c0caf7874e56cd0098360c7a040d041b858f63ef8435b9a9e7227d434455a244b043bdf0611a960cf1730b4d64c3916b7574c7
DIST twentemilieu-2.0.1.tar.gz 7184 BLAKE2B 2532abdaa2f03a5e58f5ccf3af485a3a3e482add28e72f8be0772608fc3087c7dcd75cbffcf27ec1ed0910caa1df6f936c02496e235a0640dcabe34d5585c4b3 SHA512 f6be539322924e15732369db2e3b5e28cac99692e1d28af42d07c97b157eba870acb68c00db2e7c6c25cb31a9cef5d4dc4d7975f148b6c11426660708fe98be1
EBUILD twentemilieu-1.0.0.ebuild 837 BLAKE2B 531c4162738056d956607e16b3dec2277e3d601ec6b27b3789d1b04ade863f8a830718c00ea13cf40d855f6fd1e9445b8a00c82c9685ad8591fbf1e0555e0c51 SHA512 4a3fd25a3f03cf9ce829165a6b6b41e5aa52f87897f99f5c5d70973f6ea91f9b86d4cc9e2d3c8862cb5c039252b97ec346e0b5d4e03b7c140bd5903082d0c648
EBUILD twentemilieu-2.0.0.ebuild 837 BLAKE2B 531c4162738056d956607e16b3dec2277e3d601ec6b27b3789d1b04ade863f8a830718c00ea13cf40d855f6fd1e9445b8a00c82c9685ad8591fbf1e0555e0c51 SHA512 4a3fd25a3f03cf9ce829165a6b6b41e5aa52f87897f99f5c5d70973f6ea91f9b86d4cc9e2d3c8862cb5c039252b97ec346e0b5d4e03b7c140bd5903082d0c648
EBUILD twentemilieu-2.0.1.ebuild 958 BLAKE2B 4071ab0e441f5a4e8a80d88b98463fc62bb5cf1960412e2668cd8416eda97665cc4d0ae37762456bb82d730f737d2d4c70fc2f55112d3affce719a5190d05032 SHA512 619bbf883c2d6873a97776b0263a415e3317e16ae66d18205f1242a3935b13b04675dd4d66ae3df29f5847d72ad8d3f60d23b224797fbad834162b2cfd19d7f9
MISC metadata.xml 527 BLAKE2B 160f44258e023f82ab573d123e523c3879adf860aa94a482f6f962258c69d6e2803f5886c2f3b3540a93eec644d4daa86eec15efad346b60529bb3c5dfad2159 SHA512 0c7fd24719f278b705f17e0e26745cac84da071271003220b8c84d5bc461fed7f314bbe0a5c6b3535b10dce8bb66c93c306e04b0c23335e5a161d6829421823e

View File

@ -0,0 +1,41 @@
# 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=poetry
inherit distutils-r1 pypi
DESCRIPTION="Asynchronous Python client for Twente Milieu API."
HOMEPAGE="https://github.com/frenck/python-twentemilieu https://pypi.org/project/twentemilieu/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.0.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.6.0[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/aresponses[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest
src_prepare() {
# remove unsupported dynamic-versioning
sed 's/0.0.0/${PV}/g' -i pyproject.toml || die
eapply_user
}