14
0

Accepting request 951769 from home:bnavigator:branches:devel:languages:python

- Update to version 2022-02-03
  * wizard: Fix mixup of sasl username and password
  * Format: allow empty substrings in 'replace'.  This allows for
    easy substring removal without having to use regex.
  * setup.py + CI: Remove support for Python 3.4 and 3.5
  * Time: Fix error handling in @tztime.
  * LogToIrc: Synchronize README with config.py. Better document
    the format of the 'target' config var
  * Expose standardSubstitute's var dictionary. So it can be reused
    by plugins if they want to use a different templating engine.
  * Services: Update to the latest version of the
    draft/account-registration spec.
- Skip python310: no feedparser due to missing sgmllib3k for
  Python 3.10
- Enable the test suite

OBS-URL: https://build.opensuse.org/request/show/951769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-limnoria?expand=0&rev=50
This commit is contained in:
2022-02-05 18:46:37 +00:00
committed by Git OBS Bridge
parent 2d20fc4cb1
commit 34dfaf6f0e
4 changed files with 43 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82be45cc35efc731065c3253b785a3ee90e956807db35474a741d2058fb8c3d4
size 1092017

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cee8711071d105ac65fc5e0bb988970d31c53503dadc78e81ed43823dd5e596
size 1099544

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat Feb 5 17:20:47 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to version 2022-02-03
* wizard: Fix mixup of sasl username and password
* Format: allow empty substrings in 'replace'. This allows for
easy substring removal without having to use regex.
* setup.py + CI: Remove support for Python 3.4 and 3.5
* Time: Fix error handling in @tztime.
* LogToIrc: Synchronize README with config.py. Better document
the format of the 'target' config var
* Expose standardSubstitute's var dictionary. So it can be reused
by plugins if they want to use a different templating engine.
* Services: Update to the latest version of the
draft/account-registration spec.
- Skip python310: no feedparser due to missing sgmllib3k for
Python 3.10
- Enable the test suite
-------------------------------------------------------------------
Wed Jun 16 12:15:10 UTC 2021 - Lars Vogdt <lars@linux-schulserver.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-limnoria
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,36 +17,48 @@
%define skip_python2 1
# no feedparser for python 3.10
%define skip_python310 1
%define appname limnoria
%define srcver 2021-05-27
%define srcver 2022-02-03
Name: python-limnoria
Version: 2021.05.27
Version: 2022.02.03
Release: 0
Summary: A modified version of Supybot (an IRC bot and framework)
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/ProgVal/Limnoria
Source: https://github.com/ProgVal/Limnoria/archive/master-%{srcver}.tar.gz#/%{appname}-%{version}.tar.gz
# full python for sqlite3 module
BuildRequires: %pythons
BuildRequires: %{python_module PySocks}
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module chardet}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module ecdsa}
BuildRequires: %{python_module feedparser}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module python-gnupg}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module pytz if %python-base < 3.9}
# pyxmpp2-scram not available, the code actually covers the non-availability
#BuildRequires: %%{python_module pyxmpp2-scram}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: procps
BuildRequires: python-rpm-macros
Requires: procps
Requires: python
Requires: python-PySocks
Requires: python-SQLAlchemy
Requires: python-chardet
Requires: python-cryptography
Requires: python-ecdsa
Requires: python-feedparser
Requires: python-python-dateutil
Requires: python-python-gnupg
#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}
@@ -63,6 +75,7 @@ granularity. Numerous plugins are included.
%setup -q -n Limnoria-master-%{srcver}
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
%build
%python_build
@@ -89,7 +102,8 @@ sed -i "1,4{/\/usr\/bin\/env/d}" plugins/SedRegex/constants.py
%check
%{python_expand export PYTHONDONTWRITEBYTECODE=1
export PYTHONPATH=%{buildroot}%{$python_sitelib}/
%python_exec test/test.py
# Status plugin cannot read cpuinfo in obs environment
%{buildroot}%{_bindir}/supybot-test-%{$python_bin_suffix} -c -v --plugins-dir=%{buildroot}%{$python_sitelib}/supybot/plugins/ --no-network
}
%post