aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-08-09 04:41:46 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-08-09 04:41:46 +0500
commit0ec9cdb90a4a98020101398f1b3d195cdc7bec49 (patch)
tree7e4fadc94e12f8440dd7aec544f9487ed9545b76 /dev-python/mautrix
parentdev-util/find-work-pkgcheck: add 0.2.0, drop 0.1.0 (diff)
downloadguru-0ec9cdb90a4a98020101398f1b3d195cdc7bec49.tar.gz
guru-0ec9cdb90a4a98020101398f1b3d195cdc7bec49.tar.bz2
guru-0ec9cdb90a4a98020101398f1b3d195cdc7bec49.zip
dev-python/mautrix: add 0.20.6, drop 0.20.4-r1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-python/mautrix')
-rw-r--r--dev-python/mautrix/Manifest1
-rw-r--r--dev-python/mautrix/mautrix-0.20.6.ebuild (renamed from dev-python/mautrix/mautrix-0.20.4-r1.ebuild)18
2 files changed, 8 insertions, 11 deletions
diff --git a/dev-python/mautrix/Manifest b/dev-python/mautrix/Manifest
index b54fb010f..126a31c1b 100644
--- a/dev-python/mautrix/Manifest
+++ b/dev-python/mautrix/Manifest
@@ -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
diff --git a/dev-python/mautrix/mautrix-0.20.4-r1.ebuild b/dev-python/mautrix/mautrix-0.20.6.ebuild
index 0304110f1..d7a7df90a 100644
--- a/dev-python/mautrix/mautrix-0.20.4-r1.ebuild
+++ b/dev-python/mautrix/mautrix-0.20.6.ebuild
@@ -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() {