Compare commits

...

4 Commits

Author SHA1 Message Date
Alfred Wingate
50c09d50a7
dev-python/matrix-nio: add 0.22.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-10-10 19:22:04 +03:00
Alfred Wingate
011e7c50ed
dev-libs/olm: enable py3.12
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-10-10 19:20:50 +03:00
Alfred Wingate
91753e47fb
dev-python/aspectlib: drop 1.5.2-r1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-10-10 19:19:01 +03:00
Alfred Wingate
1a1b0a10e0
dev-python/aspectlib: enable py3.12
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-10-10 19:18:46 +03:00
6 changed files with 62 additions and 39 deletions

View File

@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
DISTUTILS_OPTIONAL=1 DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{10..11} ) PYTHON_COMPAT=( python3_{10..12} )
inherit cmake distutils-r1 inherit cmake distutils-r1

View File

@ -1,2 +1 @@
DIST aspectlib-1.5.2.tar.gz 163704 BLAKE2B a4bc51fc75ec1d3dd659e1de78b80c16145f927ee1af5cb41ab9a049051683da708ce63efaa4ad767066ed4cc463108f8be74ebc4145b868d8a5ed07b2a73652 SHA512 999f7e893aee15d5bd89ae9aa45b82b639aae777ec5e946f7f0ee5aa7c2153d6a05ae0f1e95b7f5cdb4f4d12f188093479d9c50df6c7521003e83289cabb494b
DIST aspectlib-2.0.0.tar.gz 156591 BLAKE2B b3800164e25e4414fe502fc62efcce163070d743cd1f4ebc6f95a51123895cf0ce72f1df5088a580a345f48b2dd03cf30340b4a7b27c0cf6ecab614e6e79da38 SHA512 3611d3f887febae8a60df6ad5567437adaa2105e6622a7d9b543c02f593c9dee43002cd91b89f5d005fc70a8b197b5c568eefa3a0fdb6fc05665f4a1c5107316 DIST aspectlib-2.0.0.tar.gz 156591 BLAKE2B b3800164e25e4414fe502fc62efcce163070d743cd1f4ebc6f95a51123895cf0ce72f1df5088a580a345f48b2dd03cf30340b4a7b27c0cf6ecab614e6e79da38 SHA512 3611d3f887febae8a60df6ad5567437adaa2105e6622a7d9b543c02f593c9dee43002cd91b89f5d005fc70a8b197b5c568eefa3a0fdb6fc05665f4a1c5107316

View File

@ -1,36 +0,0 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517="setuptools"
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 pypi
DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library."
HOMEPAGE="https://github.com/ionelmc/python-aspectlib"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/fields[${PYTHON_USEDEP}]"
DEPEND="
doc? (
dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/process-tests[${PYTHON_USEDEP}]
dev-python/tornado[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs
PATCHES=(
"${FILESDIR}/Fix-tests-for-python3_10-and-above.patch"
"${FILESDIR}/Remove-tornado-6-test-constraint.patch"
)

View File

@ -4,7 +4,7 @@
EAPI=8 EAPI=8
DISTUTILS_USE_PEP517="setuptools" DISTUTILS_USE_PEP517="setuptools"
PYTHON_COMPAT=( python3_{8..11} ) PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi inherit distutils-r1 pypi
DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library." DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library."

View File

@ -1 +1,2 @@
DIST matrix-nio-0.21.2.gh.tar.gz 246689 BLAKE2B 036de4067a4941590e6b48c3c05d5d8c280d28e483ce666318591f6b08b9c592f5518aeaf3ec857db22ababbf36b130fa5d9dc138a7cba54d4d8c251b40be1e6 SHA512 39e4a62bce3937749ad18245233dcb543f1728a7dfd9223cbbd75d95fbdde13351e5f465dc13a23b748a970e0e5758646e0098540e7005932696613052ac8351 DIST matrix-nio-0.21.2.gh.tar.gz 246689 BLAKE2B 036de4067a4941590e6b48c3c05d5d8c280d28e483ce666318591f6b08b9c592f5518aeaf3ec857db22ababbf36b130fa5d9dc138a7cba54d4d8c251b40be1e6 SHA512 39e4a62bce3937749ad18245233dcb543f1728a7dfd9223cbbd75d95fbdde13351e5f465dc13a23b748a970e0e5758646e0098540e7005932696613052ac8351
DIST matrix-nio-0.22.1.gh.tar.gz 251898 BLAKE2B a91020e85f2be5b0d5fc7722291bcb9e783bd3b6cc5b3e659e9efe7fd0e66ce03bd2a711d18e54eb5b34cb56385ef5e61a704113948a1266f107b011495754e8 SHA512 d5582ffba89ce3e8548b9b27accfae41ec83f8d86935d4cab7847560ad61533cf62a24407f5b46d8b466782c537bcd27c296188bbb05d4a8359ebfea5d2668ab

View File

@ -0,0 +1,59 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..12} )
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}.gh.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/olm-3.1.3[python(-),${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.8.3[${PYTHON_USEDEP}]
>=dev-python/aiohttp-socks-0.7.0[${PYTHON_USEDEP}]
>=dev-python/aiofiles-23.1.0[${PYTHON_USEDEP}]
>=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}]
>=dev-python/cachetools-4.2.1[${PYTHON_USEDEP}]
>=dev-python/h11-0.14.0[${PYTHON_USEDEP}]
>=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.4.0[${PYTHON_USEDEP}]
>=dev-python/peewee-3.14.4[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.10.1[${PYTHON_USEDEP}]
>=dev-python/unpaddedbase64-2.1.0[${PYTHON_USEDEP}]
"
DEPEND="
test? (
${RDEPEND}
>=dev-python/aioresponses-0.7.2[${PYTHON_USEDEP}]
>=dev-python/Faker-8.0.0[${PYTHON_USEDEP}]
>=dev-python/pytest-aiohttp-0.3.0[${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}]
)
"
distutils_enable_tests pytest
# m2r2 mistune woes
#distutils_enable_sphinx doc dev-python/sphinx-rtd-theme dev-python/m2r2
EPYTEST_DESELECT=(
# requires pytest-benchmark, not much value in pass/no pass tests
"tests/key_export_test.py::TestClass::test_decrypt_rounds"
"tests/key_export_test.py::TestClass::test_encrypt_rounds"
# flaky
"tests/async_client_test.py::TestClass::test_transfer_monitor_callbacks"
)