python313Packages.aioxmpp: fix tests (#406835)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
babel,
|
||||
buildPythonPackage,
|
||||
dnspython,
|
||||
fetchFromGitHub,
|
||||
fetchFromGitea,
|
||||
lxml,
|
||||
multidict,
|
||||
pyasn1-modules,
|
||||
@@ -27,13 +27,21 @@ buildPythonPackage rec {
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "horazont";
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "jssfr";
|
||||
repo = "aioxmpp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-bQPKEM5eKhFI3Kx3U1espdxqjnG4yUgOXmYCrd98PDo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/bookmarks/test_service.py \
|
||||
--replace-fail 'can only assign an iterable$' 'must assign iterable'
|
||||
substituteInPlace tests/test_utils.py \
|
||||
--replace-fail 'property of .* has no' 'property .*of .* has no'
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"lxml"
|
||||
];
|
||||
@@ -87,8 +95,8 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Pure-python XMPP library for asyncio";
|
||||
homepage = "https://github.com/horazont/aioxmpp";
|
||||
changelog = "https://github.com/horazont/aioxmpp/blob/${src.rev}/docs/api/changelog.rst";
|
||||
homepage = "https://codeberg.org/jssfr/aioxmpp";
|
||||
changelog = "https://codeberg.org/jssfr/aioxmpp/blob/${src.rev}/docs/api/changelog.rst";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user