forked from pool/python-limnoria
Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 53cf993f3d | |||
| 6adde99c29 | |||
| 29354aa94d | |||
| 5733ae9b62 | |||
| ce81551d4e | |||
| dc45ce2796 | |||
| 09688b5a99 | |||
| 83b4669de5 | |||
| e3ed4fa682 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e81168093266ec29928cc40bcbf311cef6128f61bfc4457ba9fdec719d0d6a71
|
|
||||||
size 1131672
|
|
||||||
3
limnoria-2025.11.2.tar.gz
Normal file
3
limnoria-2025.11.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:72f969d5c7ec74df25bfc845bda1d5eafb56109d02254066375c82831ae1322f
|
||||||
|
size 1106419
|
||||||
@@ -1,3 +1,97 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 18 15:09:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- update to 2025.11.2
|
||||||
|
* Use importlib.metadata instead of pkg_resources
|
||||||
|
* remove fallback code for old pythons
|
||||||
|
* Mention supybot.databases.plugins config vars from plugins that use them
|
||||||
|
* Fix fnmatch support in Python >= 3.14
|
||||||
|
* SedRegex: move regex definition into sedregex.py and improve it
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 4 08:54:07 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2025.5.3:
|
||||||
|
* Fix compatibility with setuptools >= 80
|
||||||
|
* registry.Json: Fix serialization/deserialization points
|
||||||
|
* Make supybot.plugins.Web.urlWhitelist channel-specific
|
||||||
|
* Fix interference of wrap() and internationalizeDocstring()
|
||||||
|
* Add support for Python 3.14.0-alpha1
|
||||||
|
* i18n: Remove hacks for Python 2
|
||||||
|
* Add support for negative integers options following getopt
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 2 15:40:59 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Fix dist-info versioning by exporting the correct
|
||||||
|
SOURCE_DATE_EPOCH before building.
|
||||||
|
- Revert changes from previous commit in lieu of current, better
|
||||||
|
fix.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 2 13:25:56 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Account for the dist-info version differing from tarball version
|
||||||
|
in file lists.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 10 03:52:10 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 2024.10.19:
|
||||||
|
* Add IrcState.nicksToAccount
|
||||||
|
* core & Channel: Add option --account to kban and iban
|
||||||
|
* Add support for 'account' in supybot.protocols.irc.banmask
|
||||||
|
* Replace makeExtBanmask with makeExtBanmasks
|
||||||
|
* makeExtBanmasks: Log invalid options
|
||||||
|
* requirements.txt: add ddate as an optional dependency for Time.ddate
|
||||||
|
* Socket: Fix hanging while TLS socket buffer is non-empty
|
||||||
|
* Debug: Remove useless shebang
|
||||||
|
* httpserver: Fix incorrect path joining
|
||||||
|
* RSS: Add support for $content/$summary_detail/$title_detail
|
||||||
|
* RSS: Copy $summary to $description on Atom feeds
|
||||||
|
* Fix recursive loop in limnoria_reset_password
|
||||||
|
* Geography: Add support for OSM node ids
|
||||||
|
* Web: Fix crash on trailing ';' in Content-Type
|
||||||
|
* Web: Fix crash on socket.timeout on snarfed URLs
|
||||||
|
* Fediverse: Catch URLErrors raised when checking webfinger support
|
||||||
|
* Services: Improve error on missing password or NickServ nick
|
||||||
|
* Changed whois provider domain to whois.iana.org
|
||||||
|
* RSS: Update link to feedparser
|
||||||
|
* ircdb.checkIgnored: return False for messages from servers
|
||||||
|
* RSS: Don't log tracebacks for HTTP errors
|
||||||
|
* Create temporary files in a temporary directory
|
||||||
|
* Channel: Fix error in when channel is configured but not joined
|
||||||
|
* Web: Need to download even more Javascript from Youtube
|
||||||
|
* Admin: Fix leftover state change in testPart
|
||||||
|
* Admin: Actually clean up test channel from configuration
|
||||||
|
* Fix SyntaxWarning on Python 3.12
|
||||||
|
* httpserver: Rewrite without the cgi module
|
||||||
|
* Internet: Use socket directly instead of telnetlib
|
||||||
|
* Unix: Disable 'crypt' command on Python >= 3.13
|
||||||
|
* RSS: Fix error when re-creating a feed with a different name
|
||||||
|
* Add per-network 'vhost' and 'vhostv6' config variables
|
||||||
|
* Misc: update version fetching to the new branches
|
||||||
|
* safeEval: Fix support for Python 3.14
|
||||||
|
* GPG: Import documentation removed from the Getting Started guide
|
||||||
|
* Cowardly refuse to ban oneself with an account extban
|
||||||
|
* Fall back to banning host instead of exact mask
|
||||||
|
* Add test the bot won't account-extban itself
|
||||||
|
* Added russian locale to limnoria
|
||||||
|
* Use cProfile instead of profile
|
||||||
|
* Web: Add youtu.be to Youtube's domain list
|
||||||
|
* plugin-doc: Prevent hyphenation of -- in command syntax
|
||||||
|
* Add config value supybot.reply.mores.instant.whenPrivate
|
||||||
|
* Fix NormalizedString serialization splitting within escape sequences.
|
||||||
|
* Updated russian translation based on updated messages.pot
|
||||||
|
* Factoids: Fix search results when single key matched
|
||||||
|
* Unix: Fix IPv6 formating of ping command
|
||||||
|
* Web: Add workaround for minified Reddit URLs
|
||||||
|
- Switch back to PyPi tarball.
|
||||||
|
- Switch to autosetup and pyproject macros.
|
||||||
|
- Add patch skip-fediverse-profile-tests.patch:
|
||||||
|
* Skip some misbehaving tests.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 20 13:53:47 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
Fri Oct 20 13:53:47 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
@@ -29,7 +123,7 @@ Sat Apr 15 21:14:18 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 3 17:40:29 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Sat Dec 3 17:40:29 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to version 2022-11-16
|
- Update to version 2022-11-16
|
||||||
* Google: Remove broken commands
|
* Google: Remove broken commands
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
@@ -85,20 +179,20 @@ Wed Jun 16 12:15:10 UTC 2021 - Lars Vogdt <lars@linux-schulserver.de>
|
|||||||
|
|
||||||
- Update to version 2021-05-27:
|
- Update to version 2021-05-27:
|
||||||
+ Socket: Fix crash non-TLS connections when using a SOCKS proxy
|
+ Socket: Fix crash non-TLS connections when using a SOCKS proxy
|
||||||
+ Socket: Disable resolution when using a SOCKS proxy
|
+ Socket: Disable resolution when using a SOCKS proxy
|
||||||
+ drivers: Log SOCKS proxy on connecting
|
+ drivers: Log SOCKS proxy on connecting
|
||||||
+ callbacks, Misc, Relay: Fix when the message prefix is just a nick
|
+ callbacks, Misc, Relay: Fix when the message prefix is just a nick
|
||||||
+ Admin: Fix python 3.4 support
|
+ Admin: Fix python 3.4 support
|
||||||
+ ircdb: Fix 'IrcUser.nicks' on non-lowercase network names
|
+ ircdb: Fix 'IrcUser.nicks' on non-lowercase network names
|
||||||
+ Add the option to disable password login.
|
+ Add the option to disable password login.
|
||||||
+ Move official channel from Freenode to Libera.Chat
|
+ Move official channel from Freenode to Libera.Chat
|
||||||
+ SedRegex: Fix NameError in config setup
|
+ SedRegex: Fix NameError in config setup
|
||||||
+ Network: Fix IPv6 parsing
|
+ Network: Fix IPv6 parsing
|
||||||
+ Channel: Fix Nameerror in @Alert.
|
+ Channel: Fix Nameerror in @Alert.
|
||||||
+ httpserver: Fix pointless tracebacks
|
+ httpserver: Fix pointless tracebacks
|
||||||
+ Relay: Don't relay QUIT/NICK if the sender isn't in the relayed channel.
|
+ Relay: Don't relay QUIT/NICK if the sender isn't in the relayed channel.
|
||||||
+ RSS: Make @remove completely clean up feeds
|
+ RSS: Make @remove completely clean up feeds
|
||||||
+ RSS: Default to setting announces per channel+network, instead of
|
+ RSS: Default to setting announces per channel+network, instead of
|
||||||
just per channel
|
just per channel
|
||||||
+ RSS: Forbid dots in feed names.
|
+ RSS: Forbid dots in feed names.
|
||||||
+ Services: Keep per-network state separate
|
+ Services: Keep per-network state separate
|
||||||
@@ -106,7 +200,7 @@ Wed Jun 16 12:15:10 UTC 2021 - Lars Vogdt <lars@linux-schulserver.de>
|
|||||||
+ httpserver, Fediverse: show an error message on 404
|
+ httpserver, Fediverse: show an error message on 404
|
||||||
+ Fediverse: Move Secure Fetch documentation to the 'Usage' section
|
+ Fediverse: Move Secure Fetch documentation to the 'Usage' section
|
||||||
+ Fix computation of message overhead in multiline batches.
|
+ Fix computation of message overhead in multiline batches.
|
||||||
+ Log loading times for each plugin
|
+ Log loading times for each plugin
|
||||||
+ supybot-plugin-doc: Add labels for all command and config variables
|
+ supybot-plugin-doc: Add labels for all command and config variables
|
||||||
+ callbacks: Don't write nick prefixes in the middle of multiline messages
|
+ callbacks: Don't write nick prefixes in the middle of multiline messages
|
||||||
|
|
||||||
@@ -215,7 +309,7 @@ Mon Feb 10 16:33:25 UTC 2020 - Lars Vogdt <lars@linux-schulserver.de>
|
|||||||
|
|
||||||
- Update to version 2020-01-31:
|
- Update to version 2020-01-31:
|
||||||
+ RSS: If ids are missing, use <link> as id.
|
+ RSS: If ids are missing, use <link> as id.
|
||||||
+ RSS: Show a meaningful error in case '@rss' is called with a non-URL/…
|
+ RSS: Show a meaningful error in case '@rss' is called with a non-URL/…
|
||||||
+ ChannelStats: Use the safe math evaluator.
|
+ ChannelStats: Use the safe math evaluator.
|
||||||
+ core/Math: Move the math evaluator to src/utils/.
|
+ core/Math: Move the math evaluator to src/utils/.
|
||||||
+ Math: Fix log/log10 return type.
|
+ Math: Fix log/log10 return type.
|
||||||
@@ -225,25 +319,25 @@ Mon Feb 10 16:33:25 UTC 2020 - Lars Vogdt <lars@linux-schulserver.de>
|
|||||||
+ Aka, Debug: cleanup imports
|
+ Aka, Debug: cleanup imports
|
||||||
+ Use importlib instead of imp.
|
+ Use importlib instead of imp.
|
||||||
+ Replace failUnless/failIf with assertTrue/assertFalse.
|
+ Replace failUnless/failIf with assertTrue/assertFalse.
|
||||||
+ Socket: Don't add instances twice in cls._instances.
|
+ Socket: Don't add instances twice in cls._instances.
|
||||||
+ Socket: use a proper lock instead of a boolean.
|
+ Socket: use a proper lock instead of a boolean.
|
||||||
+ Add subcommand dispatching for CAP/FAIL/WARN/NOTE.
|
+ Add subcommand dispatching for CAP/FAIL/WARN/NOTE.
|
||||||
+ Rename doAuthenticate* functions to not conflict with callback names.
|
+ Rename doAuthenticate* functions to not conflict with callback names.
|
||||||
+ Make irc.error do nothing is no string is given as argument.
|
+ Make irc.error do nothing is no string is given as argument.
|
||||||
+ Call super().setValue() before defaultHttpHeaders.
|
+ Call super().setValue() before defaultHttpHeaders.
|
||||||
+ Deduplicate setting Accept-Language HTTP header.
|
+ Deduplicate setting Accept-Language HTTP header.
|
||||||
+ Web: Implement protocols.http.requestLanguage
|
+ Web: Implement protocols.http.requestLanguage
|
||||||
+ Add supybot.protocols.http.requestLanguage
|
+ Add supybot.protocols.http.requestLanguage
|
||||||
+ Fix getSpecific usage
|
+ Fix getSpecific usage
|
||||||
+ Import MutableMapping and MutableSet from collections.abc.
|
+ Import MutableMapping and MutableSet from collections.abc.
|
||||||
+ setup.py: migrate shebang to Python 3
|
+ setup.py: migrate shebang to Python 3
|
||||||
+ setup.py: remove obsolete version_info conditionals
|
+ setup.py: remove obsolete version_info conditionals
|
||||||
+ scripts: remove obsolete conditionals for Python 2
|
+ scripts: remove obsolete conditionals for Python 2
|
||||||
+ scripts: migrate shebangs and version checks to Python 3
|
+ scripts: migrate shebangs and version checks to Python 3
|
||||||
+ Be less hostile to users in --allow-root help
|
+ Be less hostile to users in --allow-root help
|
||||||
+ Readd Limnoria name to default part & quit messages
|
+ Readd Limnoria name to default part & quit messages
|
||||||
+ SedRegex: skip testReDoSTimeout if multiprocessing is disabled
|
+ SedRegex: skip testReDoSTimeout if multiprocessing is disabled
|
||||||
+ SedRegex: update plugin metadata
|
+ SedRegex: update plugin metadata
|
||||||
+ SedRegex: spawn a single process to handle the whole history.
|
+ SedRegex: spawn a single process to handle the whole history.
|
||||||
+ SedRegex: add test for ReDoS timeout
|
+ SedRegex: add test for ReDoS timeout
|
||||||
+ SedRegex: abort when a search times out
|
+ SedRegex: abort when a search times out
|
||||||
@@ -284,32 +378,32 @@ Sat Jan 4 13:10:52 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
|||||||
Mon Dec 30 21:57:04 UTC 2019 - Lars Vogdt <lars@linux-schulserver.de>
|
Mon Dec 30 21:57:04 UTC 2019 - Lars Vogdt <lars@linux-schulserver.de>
|
||||||
|
|
||||||
- Update to version 2019-12-21:
|
- Update to version 2019-12-21:
|
||||||
+ Add config supybot.reply.format.list.maximumItems to limit the size o…
|
+ Add config supybot.reply.format.list.maximumItems to limit the size o…
|
||||||
+ Add fallback if getting supybot.language from registry cache failed.
|
+ Add fallback if getting supybot.language from registry cache failed.
|
||||||
+ All plugins: set Limnoria contributors as maintainer
|
+ All plugins: set Limnoria contributors as maintainer
|
||||||
+ Better formatting in supybot.Author if some fields are missing
|
+ Better formatting in supybot.Author if some fields are missing
|
||||||
+ Get locale name on startup from registry cache instead of parsing con…
|
+ Get locale name on startup from registry cache instead of parsing con…
|
||||||
+ Make getLocaleFromRegistryCache reload existing locales.
|
+ Make getLocaleFromRegistryCache reload existing locales.
|
||||||
+ Math: Fix test on Pypy.
|
+ Math: Fix test on Pypy.
|
||||||
+ Math: Display a nicer error in case of MemoryError.
|
+ Math: Display a nicer error in case of MemoryError.
|
||||||
+ MoobotFactoids: Fix support of commands sent in private.
|
+ MoobotFactoids: Fix support of commands sent in private.
|
||||||
+ Nicer error message in getChannel/makeChannelFilename when channel is…
|
+ Nicer error message in getChannel/makeChannelFilename when channel is…
|
||||||
+ Plugin: support showing __maintainer__ field in the 'author' command
|
+ Plugin: support showing __maintainer__ field in the 'author' command
|
||||||
+ Plugin: accept author name in 'contributors' command
|
+ Plugin: accept author name in 'contributors' command
|
||||||
+ QuoteGrabs: fix SyntaxWarning (#1391)
|
+ QuoteGrabs: fix SyntaxWarning (#1391)
|
||||||
+ Remove dead code from Group that belongs in Value.
|
+ Remove dead code from Group that belongs in Value.
|
||||||
+ Request msgid capability.
|
+ Request msgid capability.
|
||||||
+ RSS: Register feed config in config.py instead of plugin.py.
|
+ RSS: Register feed config in config.py instead of plugin.py.
|
||||||
+ Scheduler: Use assertRegexp instead of assertNotRegexp in tests.
|
+ Scheduler: Use assertRegexp instead of assertNotRegexp in tests.
|
||||||
+ Scheduler: Use default timeout for assertResponse.
|
+ Scheduler: Use default timeout for assertResponse.
|
||||||
+ Scheduler: Use mocking to make tests faster.
|
+ Scheduler: Use mocking to make tests faster.
|
||||||
+ Services: Fix typo in doInvite() (#1394)
|
+ Services: Fix typo in doInvite() (#1394)
|
||||||
+ Update core fr translation.
|
+ Update core fr translation.
|
||||||
+ Update supybot-plugin-doc to work with current version of the registry.
|
+ Update supybot-plugin-doc to work with current version of the registry.
|
||||||
+ Web: Lower log level when title could not be found.
|
+ Web: Lower log level when title could not be found.
|
||||||
+ Web: Remove leading space if the prefix is empty.
|
+ Web: Remove leading space if the prefix is empty.
|
||||||
+ Web: Add early returns on exception when snarfing titles.
|
+ Web: Add early returns on exception when snarfing titles.
|
||||||
+ src/callbacks.py: use network-specific values.
|
+ src/callbacks.py: use network-specific values.
|
||||||
+ test: Don't overwrite the main Schedule in the driver list.
|
+ test: Don't overwrite the main Schedule in the driver list.
|
||||||
+ test: Mock calls to time.sleep()
|
+ test: Mock calls to time.sleep()
|
||||||
+ test: choose a random free port for tests using the HTTP server
|
+ test: choose a random free port for tests using the HTTP server
|
||||||
@@ -319,8 +413,8 @@ Sun Nov 17 19:01:04 UTC 2019 - Lars Vogdt <lars@linux-schulserver.de>
|
|||||||
|
|
||||||
- Update to version 2019-11-09:
|
- Update to version 2019-11-09:
|
||||||
+ Fix log on SASL failure.
|
+ Fix log on SASL failure.
|
||||||
+ Math: Rewrite calc functions with a proper evaluator.
|
+ Math: Rewrite calc functions with a proper evaluator.
|
||||||
+ Log SASL mechanism on failure. Closes GH-1014.
|
+ Log SASL mechanism on failure. Closes GH-1014.
|
||||||
+ Config: Add : prefix to network-specific values listed by 'config list'.
|
+ Config: Add : prefix to network-specific values listed by 'config list'.
|
||||||
+ Web: Catch more errors in getTitle.
|
+ Web: Catch more errors in getTitle.
|
||||||
+ Split 'CAP REQ' commands to not exceed 512 bytes.
|
+ Split 'CAP REQ' commands to not exceed 512 bytes.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-limnoria
|
# spec file for package python-limnoria
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,31 +16,35 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
%if 0%{?suse_version} > 1500
|
||||||
%define appname limnoria
|
%bcond_without libalternatives
|
||||||
%define srcver 2023-09-24-2
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
Name: python-limnoria
|
Name: python-limnoria
|
||||||
Version: 2023.09.24.2
|
Version: 2025.11.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A modified version of Supybot (an IRC bot and framework)
|
Summary: A modified version of Supybot (an IRC bot and framework)
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/ProgVal/Limnoria
|
URL: https://github.com/ProgVal/Limnoria
|
||||||
Source: https://github.com/ProgVal/Limnoria/archive/master-%{srcver}.tar.gz#/%{appname}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/l/limnoria/limnoria-%{version}.tar.gz
|
||||||
# full python for sqlite3 module
|
# PATCH-FIX-OPENSUSE Skip Fediverse webfinger tests that don't seem to mock correctly
|
||||||
BuildRequires: %pythons
|
Patch0: skip-fediverse-profile-tests.patch
|
||||||
BuildRequires: %{python_module PySocks}
|
BuildRequires: %{python_module PySocks}
|
||||||
BuildRequires: %{python_module chardet}
|
BuildRequires: %{python_module chardet}
|
||||||
BuildRequires: %{python_module cryptography}
|
BuildRequires: %{python_module cryptography}
|
||||||
BuildRequires: %{python_module ecdsa}
|
BuildRequires: %{python_module ecdsa}
|
||||||
BuildRequires: %{python_module feedparser}
|
BuildRequires: %{python_module feedparser}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module python-dateutil}
|
BuildRequires: %{python_module python-dateutil}
|
||||||
BuildRequires: %{python_module python-gnupg}
|
BuildRequires: %{python_module python-gnupg}
|
||||||
BuildRequires: %{python_module pytz if %python-base < 3.9}
|
|
||||||
BuildRequires: %{python_module pytzdata}
|
BuildRequires: %{python_module pytzdata}
|
||||||
# pyxmpp2-scram not available, the code actually covers the non-availability
|
# pyxmpp2-scram not available, the code actually covers the non-availability
|
||||||
#BuildRequires: %%{python_module pyxmpp2-scram}
|
#BuildRequires: %%{python_module pyxmpp2-scram}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
# full python for sqlite3 module
|
||||||
|
BuildRequires: %{pythons}
|
||||||
BuildRequires: coreutils-systemd
|
BuildRequires: coreutils-systemd
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
@@ -56,14 +60,16 @@ Requires: python-python-dateutil
|
|||||||
Requires: python-python-gnupg
|
Requires: python-python-gnupg
|
||||||
Requires: python-pytzdata
|
Requires: python-pytzdata
|
||||||
#Requires: python-pyxmpp2-scram
|
#Requires: python-pyxmpp2-scram
|
||||||
%if 0%{?python_version_nodots} < 39
|
|
||||||
Requires: python-pytz
|
|
||||||
%endif
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
Provides: Supybot = %{version}
|
Provides: Supybot = %{version}
|
||||||
Obsoletes: Supybot < 1.0
|
Obsoletes: Supybot < 1.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -72,18 +78,18 @@ an ACL system for specifying user permissions with per-command
|
|||||||
granularity. Numerous plugins are included.
|
granularity. Numerous plugins are included.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Limnoria-master-%{srcver}
|
%autosetup -p1 -n limnoria-%{version}
|
||||||
sed -i "1,4{/\/usr\/bin\/python/d}" plugins/Debug/plugin.py
|
sed -i "1,4{/\/usr\/bin\/python/d}" plugins/Debug/plugin.py
|
||||||
sed -i "1,4{/\/usr\/bin\/env/d}" plugins/SedRegex/constants.py
|
|
||||||
chmod -x supybot/plugins/*/locales/fi.po
|
|
||||||
|
|
||||||
sed -Ei "1{\@^#!/usr/bin/env python3@d}" src/scripts/limnoria_*.py
|
sed -Ei "1{\@^#!/usr/bin/env python3@d}" src/scripts/limnoria_*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
# Get SOURCE_DATE_EPOCH corresponding to pyproject.toml in sources
|
||||||
|
export SOURCE_DATE_EPOCH=`date -r pyproject.toml +"%s"`
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/supybot/
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/supybot/
|
||||||
for ex in supybot limnoria
|
for ex in supybot limnoria
|
||||||
do
|
do
|
||||||
@@ -103,6 +109,7 @@ do
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/${ex}-reset-password
|
%python_clone -a %{buildroot}%{_bindir}/${ex}-reset-password
|
||||||
%python_clone -a %{buildroot}%{_bindir}/${ex}-test
|
%python_clone -a %{buildroot}%{_bindir}/${ex}-test
|
||||||
%python_clone -a %{buildroot}%{_bindir}/${ex}-wizard
|
%python_clone -a %{buildroot}%{_bindir}/${ex}-wizard
|
||||||
|
%python_group_libalternatives ${ex} ${ex}-adduser ${ex}-botchk ${ex}-plugin-create ${ex}-plugin-doc ${ex}-reset-password ${ex}-test ${ex}-wizard
|
||||||
done
|
done
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_mandir}/man1/
|
%fdupes %{buildroot}%{_mandir}/man1/
|
||||||
@@ -128,8 +135,11 @@ export PYTHONPATH=%{buildroot}%{$python_sitelib}/
|
|||||||
%postun
|
%postun
|
||||||
%{python_uninstall_alternative supybot limnoria}
|
%{python_uninstall_alternative supybot limnoria}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative supybot limnoria
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md CONTRIBUTING.md
|
%doc README.md
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%python_alternative %{_bindir}/limnoria
|
%python_alternative %{_bindir}/limnoria
|
||||||
%python_alternative %{_bindir}/limnoria-adduser
|
%python_alternative %{_bindir}/limnoria-adduser
|
||||||
@@ -164,6 +174,6 @@ export PYTHONPATH=%{buildroot}%{$python_sitelib}/
|
|||||||
%python_alternative %{_mandir}/man1/supybot-test.1
|
%python_alternative %{_mandir}/man1/supybot-test.1
|
||||||
%python_alternative %{_mandir}/man1/supybot-wizard.1
|
%python_alternative %{_mandir}/man1/supybot-wizard.1
|
||||||
%{python_sitelib}/supybot/
|
%{python_sitelib}/supybot/
|
||||||
%{python_sitelib}/limnoria-*.egg-info
|
%{python_sitelib}/limnoria-%{version}*.*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
68
skip-fediverse-profile-tests.patch
Normal file
68
skip-fediverse-profile-tests.patch
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
Index: limnoria-2025.11.2/plugins/Fediverse/test.py
|
||||||
|
===================================================================
|
||||||
|
--- limnoria-2025.11.2.orig/plugins/Fediverse/test.py
|
||||||
|
+++ limnoria-2025.11.2/plugins/Fediverse/test.py
|
||||||
|
@@ -33,6 +33,7 @@ import copy
|
||||||
|
import json
|
||||||
|
import functools
|
||||||
|
import contextlib
|
||||||
|
+import unittest
|
||||||
|
from multiprocessing import Manager
|
||||||
|
|
||||||
|
from supybot import conf, log, utils
|
||||||
|
@@ -155,6 +156,7 @@ class NetworklessFediverseTestCase(BaseF
|
||||||
|
list(expected_requests), [], "Less requests than expected."
|
||||||
|
)
|
||||||
|
|
||||||
|
+ @unittest.skip("broken on OBS")
|
||||||
|
def testFeaturedNone(self):
|
||||||
|
featured = {
|
||||||
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
|
@@ -176,6 +178,7 @@ class NetworklessFediverseTestCase(BaseF
|
||||||
|
"featured @someuser@example.org", "No featured statuses."
|
||||||
|
)
|
||||||
|
|
||||||
|
+ @unittest.skip("broken on OBS")
|
||||||
|
def testFeaturedSome(self):
|
||||||
|
featured = {
|
||||||
|
"@context": [
|
||||||
|
@@ -242,6 +245,7 @@ class NetworklessFediverseTestCase(BaseF
|
||||||
|
"featured @someuser@example.org", "This is a pinned toot"
|
||||||
|
)
|
||||||
|
|
||||||
|
+ @unittest.skip("broken on OBS")
|
||||||
|
def testProfile(self):
|
||||||
|
expected_requests = [
|
||||||
|
(HOSTMETA_URL, HOSTMETA_DATA),
|
||||||
|
@@ -255,6 +259,7 @@ class NetworklessFediverseTestCase(BaseF
|
||||||
|
"\x02someuser\x02 (@someuser@example.org): My Biography",
|
||||||
|
)
|
||||||
|
|
||||||
|
+ @unittest.skip("broken on OBS")
|
||||||
|
def testProfileNoHostmeta(self):
|
||||||
|
expected_requests = [
|
||||||
|
(HOSTMETA_URL, utils.web.Error("blah")),
|
||||||
|
@@ -268,6 +273,7 @@ class NetworklessFediverseTestCase(BaseF
|
||||||
|
"\x02someuser\x02 (@someuser@example.org): My Biography",
|
||||||
|
)
|
||||||
|
|
||||||
|
+ @unittest.skip("broken on OBS")
|
||||||
|
def testProfileSnarfer(self):
|
||||||
|
with self.mockWebfingerSupport("not called"), self.mockRequests([]):
|
||||||
|
self.assertSnarfNoResponse("aaa @nonexistinguser@example.org bbb")
|
||||||
|
@@ -343,6 +349,7 @@ class NetworklessFediverseTestCase(BaseF
|
||||||
|
"\x02someuser\x02 (@someuser@example.org): My Biography",
|
||||||
|
)
|
||||||
|
|
||||||
|
+ @unittest.skip("broken on OBS")
|
||||||
|
def testProfileUnknown(self):
|
||||||
|
expected_requests = [
|
||||||
|
(HOSTMETA_URL, HOSTMETA_DATA),
|
||||||
|
@@ -404,6 +411,7 @@ class NetworklessFediverseTestCase(BaseF
|
||||||
|
"@FirstAuthor I am replying to you",
|
||||||
|
)
|
||||||
|
|
||||||
|
+ @unittest.skip("broken on OBS")
|
||||||
|
def testStatuses(self):
|
||||||
|
expected_requests = [
|
||||||
|
(HOSTMETA_URL, HOSTMETA_DATA),
|
||||||
Reference in New Issue
Block a user