Skip to content

Commit 9d08c2c

Browse files
authored
Merge pull request #211 from onkelbeh/2023.1.7
2023.1.7
2 parents 885648f + e038471 commit 9d08c2c

28 files changed

+2365
-623
lines changed

app-misc/homeassistant-full/homeassistant-full-2023.1.2-r1.ebuild

Lines changed: 1102 additions & 0 deletions
Large diffs are not rendered by default.

app-misc/homeassistant-full/homeassistant-full-9999.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ RDEPEND="${RDEPEND}
124124
RDEPEND="${RDEPEND}
125125
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
126126
>=dev-python/multidict-5.2.0[${PYTHON_USEDEP}]
127-
~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}]
127+
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
128128
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
129129
dev-python/pycparser[${PYTHON_USEDEP}]
130130
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]

app-misc/homeassistant-min/Manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ EBUILD homeassistant-min-2022.11.5.ebuild 15514 BLAKE2B 7d012ecbc17338cc0eca48f4
1717
EBUILD homeassistant-min-2022.12.7.ebuild 15833 BLAKE2B 5fb03772b30abb7208b2d23ca11e8030148af247a41d1a15b2edde2bd13485816a1f5361d5c5dcc341c71f8479aac121d479824f9c21809ced7fdac8e61816b7 SHA512 45a35ff95a69fb05ebd0a6491a298b12d3ed0cb844790e0d44529cb0aaeb4677ee3476eeb178ffc6f4116fd0aca54570c87725e3314f7bdb703af8e4836fde94
1818
EBUILD homeassistant-min-2022.12.8.ebuild 15833 BLAKE2B 1bf49fb087edb41980710dda0e6924d3940b4b68837988acb150d7c0b4e4017e85d6804cea01e032ac15bad5181e0405a8ab80b1863956d6e9e95c8370e87aff SHA512 fef18f418ce1f8f2cd74643fd171c04d9ef91bb198c87734abcc7c1f2a66555abb791c1ad048c215b8a64150350a0b452ac6d0bf3426d37a3c54e848b147023b
1919
EBUILD homeassistant-min-2022.12.9.ebuild 15833 BLAKE2B 1bf49fb087edb41980710dda0e6924d3940b4b68837988acb150d7c0b4e4017e85d6804cea01e032ac15bad5181e0405a8ab80b1863956d6e9e95c8370e87aff SHA512 fef18f418ce1f8f2cd74643fd171c04d9ef91bb198c87734abcc7c1f2a66555abb791c1ad048c215b8a64150350a0b452ac6d0bf3426d37a3c54e848b147023b
20-
EBUILD homeassistant-min-2023.1.2.ebuild 15926 BLAKE2B 37e58d7fabd5560a56b3fdde07cbb1c8512354252628fefcbbdbaa830874d1b63e1afc676e732f86348fe436550d16fedd42020fbbaa01ebef877fc9bf4daaff SHA512 144df1c4a37b4d9057c578fac9929fa2344115d15f297bfe9b6139caa52ee1318872d54b39fc942c13fa61f77195c1a68624066841dd79f96270fcedc481e1c1
20+
EBUILD homeassistant-min-2023.1.2.ebuild 15926 BLAKE2B e07a251211c6bc8f55da908930e08fc441b446562f2cfba72d54ddb8280a0a3b8b49aaa53cb376009fc20dd2fd634ba8371f1efcb63c1a6dd1479b272c0b9099 SHA512 e58179dd19819aa89b2ac7797e361a6646841d394287a8aab58b5fb25d95e059329ae74d849559e564db806b444fc808b40e9720e0b6a7804e7e01a87d37da5d
2121
MISC metadata.xml 8819 BLAKE2B eb61e884c09e5488157d7643c284656c3cb33981bb1fbbc56987f9dc74d9e7b39eaa1b204178c213e963bd9daf27728982be72ce8cc54aa959ccecdbf73df118 SHA512 afbcbc04690c17b3b4e480e07392718e1e42ddb2b0c2e8051630865eb3e79ac4b2fc9e5f07265afaba6f44a3934107852f5562913cb7b96c61c21b31f1721d90

app-misc/homeassistant-min/homeassistant-min-2023.1.2-r1.ebuild

Lines changed: 301 additions & 0 deletions
Large diffs are not rendered by default.

app-misc/homeassistant-min/homeassistant-min-2023.1.2.ebuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2022 Gentoo Authors
1+
# Copyright 1999-2023 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=8
@@ -124,7 +124,7 @@ RDEPEND="${RDEPEND}
124124
RDEPEND="${RDEPEND}
125125
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
126126
>=dev-python/multidict-5.2.0[${PYTHON_USEDEP}]
127-
~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}]
127+
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
128128
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
129129
dev-python/pycparser[${PYTHON_USEDEP}]
130130
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]

app-misc/homeassistant/homeassistant-2023.1.2-r1.ebuild

Lines changed: 496 additions & 0 deletions
Large diffs are not rendered by default.

dev-python/coverage/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
DIST coverage-6.4.4.tar.gz 772949 BLAKE2B 87b4c51ac43ac3bd2202496f6db6de5c74dd9925521bf3092cd862b86d8d7c0e3d008ee550c90e890febd87cc4d167669e830668f15da94ef4ea72e82154bf26 SHA512 f210f2471b170e05d4dac2cc9a91e3f0d4ba6456cdf91dc1c0ef67a02a11f4279c5beca5df8854c42660346995492b1eff020e1ac578d2a0a129627dadd17114
22
DIST coverage-6.4.tar.gz 715897 BLAKE2B 69fd1979da2c652d5cf8b83adcde4755824faf832867c0181e610ef1369bae217c487b230aa649f03692440efc78628474d72303635568f8e7e5b41f83afc1ed SHA512 e834ff2329eb930ea40a28e8be7f665322558a1f00b5297a2daaaefc986ae451f333ea76bf6e345cad1560d721ebd990cdd5b79b30bddd9e17223acc85508089
3+
DIST coverage-7.0.0.tar.gz 780514 BLAKE2B 2d7e0190bacd5ef6db35e3c6ab5114571ce394a9d6dd5e7d3497e4eff9dc3abee1aa11babc057e6b276133e5e19dd7b2e1d4149f5fb73cdaf8d2a6a7df005d7b SHA512 258c1c2dd8af1e7b64fcce2042594230a245046c73e3e67b0b0b1e82180e200a37983b766bd72fdc23a6e5ff12416541e69a26beec845598c25b293c4ee1cece
34
EBUILD coverage-6.4.4-r1.ebuild 1683 BLAKE2B 316b8764a9d8cad387dc491f46218f172c80b5772477b79a3e0a4255fe2ab722cce14dd10ca8761d725f1c480482f6c502b6ad9380385943159ff723fa0bf1c5 SHA512 3ec120f56f9a1ab41166a3ed5732e9b9d271a48bd73cf8d9f5d416bdf8b58cac9d37053f8398d51d6b6f7f548bb85a5d90083282105a7ee923aef079ab94ac5a
45
EBUILD coverage-6.4.ebuild 1595 BLAKE2B c7418f25d8c7977e8db7d9b3d6b24b8a84ba3c9498a7af3c07e3da2f760bcff91e07ee96f1071cbfb2dc9eb9bb3852332ef86b27cce1a748a766618c50da7d63 SHA512 7bf420d7186990e88b43b7a5529ec4a5594bc94861c638955e4da1900a7e257adf3e79189744350fece520e2e092135c54e810bd36aea6d18de656a4a8f1f430
6+
EBUILD coverage-7.0.0.ebuild 1887 BLAKE2B c4406f2647f98034fa9a3e6551d3154022b4d59d994ce239bd572ff684030af9dc16821ef621d1551d70f8e6bdc5aa688d0bf35d70703d5c545a73dcc9062430 SHA512 a0b57a71d64ad347ad69456a89566759b77d06e691ba73f35eee5d019dfaff03cda676ff332f1ac6455377795ca585070cfdaad6477245ed6d4f3d3aabc739d9
57
MISC metadata.xml 530 BLAKE2B 3e14d7215b1b7d2378f26a970409c4353296f739b6235482180f600dcd2fba23f9c344dac75fd230f373858e5ae51767a399f561088be6616975e0454907f35f SHA512 9beed37da27d4f410267000b535be26c1ed968f43e8427b77f56ac838b25cb68efb43952ab67df647c5aaa4925a227257094b0c1b849e5784c296fcb52096ce2
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Copyright 1999-2023 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DISTUTILS_USE_PEP517=setuptools
7+
PYTHON_COMPAT=( python3_{9..11} pypy3 )
8+
PYTHON_REQ_USE="threads(+),sqlite(+)"
9+
10+
inherit distutils-r1
11+
12+
DESCRIPTION="Code coverage measurement for Python"
13+
HOMEPAGE="
14+
https://coverage.readthedocs.io/en/latest/
15+
https://github.com/nedbat/coveragepy/
16+
https://pypi.org/project/coverage/
17+
"
18+
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
19+
20+
LICENSE="BSD"
21+
SLOT="0"
22+
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
23+
24+
RDEPEND="
25+
$(python_gen_cond_dep '
26+
dev-python/tomli[${PYTHON_USEDEP}]
27+
' 3.{8..10})
28+
"
29+
BDEPEND="
30+
test? (
31+
dev-python/flaky[${PYTHON_USEDEP}]
32+
dev-python/hypothesis[${PYTHON_USEDEP}]
33+
dev-python/pytest-xdist[${PYTHON_USEDEP}]
34+
>=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}]
35+
)
36+
"
37+
38+
distutils_enable_tests pytest
39+
40+
src_prepare() {
41+
sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die
42+
distutils-r1_src_prepare
43+
}
44+
45+
test_tracer() {
46+
local -x COVERAGE_TEST_TRACER=${1}
47+
einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..."
48+
epytest tests
49+
}
50+
51+
python_test() {
52+
local EPYTEST_IGNORE=(
53+
# pip these days insists on fetching build deps from Internet
54+
tests/test_venv.py
55+
)
56+
57+
"${EPYTHON}" igor.py zip_mods || die
58+
59+
local -x COVERAGE_TESTING=True
60+
# TODO: figure out why they can't be imported inside test env
61+
local -x COVERAGE_NO_CONTRACTS=1
62+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
63+
local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin
64+
65+
local prev_opt=$(shopt -p nullglob)
66+
shopt -s nullglob
67+
local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so )
68+
${prev_opt}
69+
70+
if [[ -n ${c_ext} ]]; then
71+
cp "${c_ext}" \
72+
coverage/ || die
73+
test_tracer c
74+
rm coverage/*.so || die
75+
else
76+
test_tracer py
77+
fi
78+
}

0 commit comments

Comments
 (0)