From 229e310bf547a1d861f0c6ca71c313e15153459f Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Wed, 27 Jul 2022 12:15:28 +0200 Subject: [PATCH] dev-python/matrix-nio: Bump --- dev-python/matrix-nio/Manifest | 4 +- .../matrix-nio/matrix-nio-0.18.7.ebuild | 72 +++++++++++++------ .../matrix-nio/matrix-nio-0.19.0.ebuild | 67 +++++++++++++++++ 3 files changed, 121 insertions(+), 22 deletions(-) create mode 100644 dev-python/matrix-nio/matrix-nio-0.19.0.ebuild diff --git a/dev-python/matrix-nio/Manifest b/dev-python/matrix-nio/Manifest index d290c49..eb671fe 100644 --- a/dev-python/matrix-nio/Manifest +++ b/dev-python/matrix-nio/Manifest @@ -1,6 +1,8 @@ DIST matrix-nio-0.15.1.tar.gz 145625 BLAKE2B 5ef16df5c0ab7ec9315ca3eb52a0526da08829717fae21aa012aa197aa09b570240aab8860274384b47af2b8bfe776d4e0d71ee5e25ba505a654401ee79472f5 SHA512 497c4d6732b344566747f88cf24cac3d002a528053c869a2875d5f0ae79463ad8f9578a275ffcd510920eaf492d8f99543b8668f4194684d1c5680edecb746a1 DIST matrix-nio-0.18.3.tar.gz 153421 BLAKE2B e02250760e90d4e24595ca3c72fa2ccc8438dc122e4ce2a8f15c34537fbbb3977c0c559a1557a9ad01e3c714ca7dd14a8d416e7f011d21e3dfa514afdd88639f SHA512 93cd15884b031fdd675f648ba55db914fb7d86e3e38909b013a06c3ac1b612f1ba28f1e8282ba71d7098a3653d7c0f7b4c3d8f654911710ff3d93592467a7fb3 DIST matrix-nio-0.18.7.tar.gz 155811 BLAKE2B b80031e1f283e3f06abcbdd69c514bd28090606555348a904798c903ad3a4c8dd5c289ae37e3c5a5c0272f07170d66b42c827c6f8fc11e463f89da18221c6661 SHA512 9fa8935cab499ba15659ccb9f63c86a9485816d9f3b1eed9379155c1cb2115d2f0a81878097fc9e55f172842939d449f8f8a495b566e3a607a81da24666a956a +DIST matrix-nio-0.19.0.tar.gz 246334 BLAKE2B 14f35f64c3edaae4a09f0a6dd4c1693fee27c3a98b78ba912f2a45d5bfe6ee161e91491721415c0dffce84bf3eae97dbec78f39ecf502f83238ccb2452b7c196 SHA512 395b305c69507b852d06319d00a68417494a69a1217f194a04a3866d81185fdc480e957570b22e2eff900e6874cf1c86b598dd474948902a96537fa0ef174877 EBUILD matrix-nio-0.15.1.ebuild 1132 BLAKE2B 9cd45958eb7d968b1086bcedb6cbb901819ca42208d62270ecfe6b9181d9fcace920cea3558407aeddf252737f8c4a2241f91aa6694bd87bb401e07c51e4a152 SHA512 3f099840d18f1db8afc84c880ee8414ec49d89cf439bafde60e9e2e36e0e1ade28dd7e126e28259a3b2ae3d574ca52c9aede7b4f84a9d770d256e95860866c76 EBUILD matrix-nio-0.18.3.ebuild 1179 BLAKE2B edf1e4ce5d9f728a66825f5e6e28f506ebb3bb56ecb7051f78e88d37dc5f5ef346093b79d8ff1dbf741a395ba06eb383e65347449ae8e4bdf84c9eea46453b2d SHA512 d70c496c5e248236aec49e0f18e92a8aa5bbf4b08561f80653895bf78147e5dd83f8e8c9723f3e154600c81e267171e86a356e39658be796aeb63e6e633f70ae -EBUILD matrix-nio-0.18.7.ebuild 1171 BLAKE2B 78f689ba7f915a509370a749be0c52622f7f87159b34893a9115317baafba5d018134819820baddbc3270d353c786aed35ab23fcdae6f531045fe82a01e9e966 SHA512 6f2f27a8600d6b5222418c69de202e3f95b8fee8b39a256e18a581dc97f9e4a9fc8444fae6cddad02b399cc32ba7b4631d5bb6a85c5d030cb687b5796407dfb5 +EBUILD matrix-nio-0.18.7.ebuild 2315 BLAKE2B 122e4ed6ec83d4b99d60b2ae3e4f6533d182bd10637090e61b0398d043c07c0625d366c081a3dac077ae66cf8d88829ff75239ce1f7b234c558715cbae15ab1e SHA512 8702066af70cdaa4aa1172e816d35a75afe0529e46e24feca0494006fc850d0332bbc0e715f547bef90111110097d313eecc0106d61f714c9cf14b8a079646e8 +EBUILD matrix-nio-0.19.0.ebuild 2327 BLAKE2B c6141e46d0e9073a35ff8b6e33912a0fa36a09eb2593c507dbfb8a4a15aa75722393624426b52655c7ceeda0a62e3310bddc02d6d82376c4daf33ac4bce3de51 SHA512 de1214806493f8c97110a39b5fe17fb9ca02c0244c7241bb91498e904807edb52a778d473c2709c1f2c8bc78ee28a066664a210c7faadd82ba445ce250a9b8b8 diff --git a/dev-python/matrix-nio/matrix-nio-0.18.7.ebuild b/dev-python/matrix-nio/matrix-nio-0.18.7.ebuild index 9002c8a..78dd528 100644 --- a/dev-python/matrix-nio/matrix-nio-0.18.7.ebuild +++ b/dev-python/matrix-nio/matrix-nio-0.18.7.ebuild @@ -1,37 +1,67 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_COMPAT=( python3_{8..10}) +DISTUTILS_USE_SETUPTOOLS="pyproject.toml" inherit distutils-r1 DESCRIPTION="A Python Matrix client library, designed according to sans I/O principles" HOMEPAGE="https://github.com/poljar/matrix-nio" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/poljar/matrix-nio/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="+e2e" +KEYWORDS="~amd64" +IUSE="e2e test" + +RESTRICT="!e2e? ( test )" RDEPEND=" - dev-python/future[${PYTHON_USEDEP}] - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/aiohttp-socks[${PYTHON_USEDEP}] - dev-python/aiofiles[${PYTHON_USEDEP}] - dev-python/h11[${PYTHON_USEDEP}] - dev-python/h2[${PYTHON_USEDEP}] - dev-python/logbook[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/unpaddedbase64[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] + >=dev-python/aiohttp-socks-0.6.0[${PYTHON_USEDEP}] + >=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}] + >=dev-python/future-0.18.2[${PYTHON_USEDEP}] + >=dev-python/h11-0.12.0[${PYTHON_USEDEP}] + >=dev-python/h2-4.0.0[${PYTHON_USEDEP}] + >=dev-python/logbook-1.5.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/unpaddedbase64-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.10.1[${PYTHON_USEDEP}] e2e? ( - dev-libs/olm[python,${PYTHON_USEDEP}] - dev-python/peewee[${PYTHON_USEDEP}] - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/atomicwrites[${PYTHON_USEDEP}] + >=dev-libs/olm-3.1.3[python(-),${PYTHON_USEDEP}] + >=dev-python/peewee-3.14.4[${PYTHON_USEDEP}] + >=dev-python/cachetools-4.2.1[${PYTHON_USEDEP}] + >=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}] ) " -BDEPEND="${RDEPEND}" +DEPEND=" + test? ( + ${RDEPEND} + >=dev-python/aioresponses-0.7.2[${PYTHON_USEDEP}] + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/cachetools[${PYTHON_USEDEP}] + >=dev-python/Faker-8.0.0[${PYTHON_USEDEP}] + dev-python/peewee[${PYTHON_USEDEP}] + >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] + >=dev-python/pytest-benchmark-3.2.3[${PYTHON_USEDEP}] + dev-python/pytest-flake8[${PYTHON_USEDEP}] + >=dev-python/pytest-isort-1.3.0[${PYTHON_USEDEP}] + >=dev-python/pytest-cov-2.11.1[${PYTHON_USEDEP}] + >=dev-python/hpack-4.0.0[${PYTHON_USEDEP}] + >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.8.9[${PYTHON_USEDEP}] + >=dev-python/mypy-0.812[${PYTHON_USEDEP}] + dev-python/mypy_extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/m2r2 + +python_test() { + # Former requires internet access, latter fails randomly + epytest --deselect tests/async_client_test.py::TestClass::test_connect_wrapper[pyloop] --deselect tests/async_client_test.py::TestClass::test_transfer_monitor_callbacks +} diff --git a/dev-python/matrix-nio/matrix-nio-0.19.0.ebuild b/dev-python/matrix-nio/matrix-nio-0.19.0.ebuild new file mode 100644 index 0000000..ba2bc57 --- /dev/null +++ b/dev-python/matrix-nio/matrix-nio-0.19.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11}) +DISTUTILS_USE_SETUPTOOLS="pyproject.toml" + +inherit distutils-r1 + +DESCRIPTION="A Python Matrix client library, designed according to sans I/O principles" +HOMEPAGE="https://github.com/poljar/matrix-nio" +SRC_URI="https://github.com/poljar/matrix-nio/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="e2e test" + +RESTRICT="!e2e? ( test )" + +RDEPEND=" + >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] + >=dev-python/aiohttp-socks-0.6.0[${PYTHON_USEDEP}] + >=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}] + >=dev-python/future-0.18.2[${PYTHON_USEDEP}] + >=dev-python/h11-0.12.0[${PYTHON_USEDEP}] + >=dev-python/h2-4.0.0[${PYTHON_USEDEP}] + >=dev-python/logbook-1.5.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/unpaddedbase64-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.10.1[${PYTHON_USEDEP}] + e2e? ( + >=dev-libs/olm-3.1.3[python(-),${PYTHON_USEDEP}] + >=dev-python/peewee-3.14.4[${PYTHON_USEDEP}] + >=dev-python/cachetools-4.2.1[${PYTHON_USEDEP}] + >=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}] + ) +" +DEPEND=" + test? ( + ${RDEPEND} + >=dev-python/aioresponses-0.7.2[${PYTHON_USEDEP}] + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/cachetools[${PYTHON_USEDEP}] + >=dev-python/Faker-8.0.0[${PYTHON_USEDEP}] + dev-python/peewee[${PYTHON_USEDEP}] + >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] + >=dev-python/pytest-benchmark-3.2.3[${PYTHON_USEDEP}] + dev-python/pytest-flake8[${PYTHON_USEDEP}] + >=dev-python/pytest-isort-1.3.0[${PYTHON_USEDEP}] + >=dev-python/pytest-cov-2.11.1[${PYTHON_USEDEP}] + >=dev-python/hpack-4.0.0[${PYTHON_USEDEP}] + >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.8.9[${PYTHON_USEDEP}] + >=dev-python/mypy-0.812[${PYTHON_USEDEP}] + dev-python/mypy_extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/m2r2 + +python_test() { + # Former requires internet access, latter fails randomly + epytest --deselect tests/async_client_test.py::TestClass::test_connect_wrapper[pyloop] --deselect tests/async_client_test.py::TestClass::test_transfer_monitor_callbacks +}