dev-python/mautrix: add 0.20.6, drop 0.20.4-r1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2024-08-09 04:41:46 +05:00
parent 636367ead2
commit 0ec9cdb90a
2 changed files with 8 additions and 11 deletions

View File

@@ -1 +1,2 @@
DIST mautrix-0.20.4.gh.tar.gz 244467 BLAKE2B adbab30c4b4e08b2def968bc7b85c4402cf32cfa4f15b17c8ba126a93230e2d84c6a43a3cc8bd0fe409d4fd1f9129a65c89d68ae61aaecd869cbf62480ff2883 SHA512 30a1a82fdb6875cd24dc685c567ad9c73eaa2d6a25e188498bdfec452dc530c0efa4373d3a1d2b217c5238ee9f33fc2d892549ea576c2f487f942a38eb8363d5
DIST mautrix-0.20.6.gh.tar.gz 245084 BLAKE2B 72ce0d7c32cc0c5cd8fcec40c7d98c1b2bee953f0ba60266ec9ffaf40d76bfb6ac3a7387b59557b96c799cb7119dc28cfb7fae692f7e2eca9a09bde6a69edc7d SHA512 0fb345369184e70ba2656906ae4257237d2b5fdfb52064f0ff6baf696247100816249b457f7471f5ae14acfd4be737dc2f20067ccb5cfed16bfd2d07fc29c689

View File

@@ -1,11 +1,11 @@
# Copyright 2022-2023 Gentoo Authors
# Copyright 2022-2024 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 edo databases distutils-r1 optfeature
inherit daemons distutils-r1 optfeature
DESCRIPTION="A Python 3 asyncio Matrix framework"
HOMEPAGE="
@@ -36,7 +36,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
test? (
${DATABASES_DEPEND[postgres]}
dev-python/aiosqlite[${PYTHON_USEDEP}]
dev-python/asyncpg[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
@@ -46,21 +45,18 @@ BDEPEND="
distutils_enable_tests pytest
daemons_enable postgresql test
# Disabled because of https://bugs.gentoo.org/922488
#distutils_enable_sphinx docs \
# dev-python/sphinx-rtd-theme
src_test() {
local -x PGHOST="$(epostgres --get-sockdir)"
local -x PGPORT="65432"
local -x PGUSER="postgres"
local -x MEOW_TEST_PG_URL="postgresql:///meow"
epostgres --start ${PGPORT}
edo createdb -U postgres meow
daemons_start postgresql --host 127.0.0.1
local -x MEOW_TEST_PG_URL="${POSTGRESQL_URL:?}"
distutils-r1_src_test
epostgres --stop
daemons_stop postgresql
}
pkg_postinst() {