forked from pool/python-pygn
- Update to 0.11.0:
- Rewrite to new structure and abandoning setuptools - Update to 0.10.3: - refactor: rearrange the project to the src/ layout (https://todo.sr.ht/~mcepl/pygn/7) - Fix also pyproject.toml to generate what seems right. - Add the explicit dependency on nntplib for Python >= 3.12 (gh#python/cpython!104894). - Use email.policy.SMTP to be perfectly conforming with RFCs. Perhaps fixes: https://todo.sr.ht/~mcepl/pygn/6 - Rename README to README.md - Switch hosting of the project to Sourcehut. - Also add the text of GPLv3. - When sending nntp message fails, log the message to temporary file. - Convert documentation from .maff to plain HTML. - Parse email messages from binary files (Fixes #24 on GitLab (see also gh#python/cpython#69731 and gh#python/cpython#85479) - We actually don't need pytest. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygn?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79f6415fd917758df00234d817aa7b02e5880d478c1bf03330fab2b377d3dda7
|
||||
size 12788
|
3
pygn-0.11.0.tar.gz
Normal file
3
pygn-0.11.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2abb370f3640713f6f48f4b60a473c01b417cc5e9de9d9aaaa077aef0001c3b
|
||||
size 114448
|
@@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 28 11:44:19 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Update to 0.11.0:
|
||||
- Rewrite to new structure and abandoning setuptools
|
||||
- Update to 0.10.3:
|
||||
- refactor: rearrange the project to the src/ layout
|
||||
(https://todo.sr.ht/~mcepl/pygn/7)
|
||||
- Fix also pyproject.toml to generate what seems right.
|
||||
- Add the explicit dependency on nntplib for Python >= 3.12
|
||||
(gh#python/cpython!104894).
|
||||
- Use email.policy.SMTP to be perfectly conforming with RFCs.
|
||||
Perhaps fixes: https://todo.sr.ht/~mcepl/pygn/6
|
||||
- Rename README to README.md
|
||||
- Switch hosting of the project to Sourcehut.
|
||||
- Also add the text of GPLv3.
|
||||
- When sending nntp message fails, log the message to temporary
|
||||
file.
|
||||
- Convert documentation from .maff to plain HTML.
|
||||
- Parse email messages from binary files (Fixes #24
|
||||
on GitLab (see also gh#python/cpython#69731 and
|
||||
gh#python/cpython#85479)
|
||||
- We actually don't need pytest.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 17:46:32 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pygn
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,18 +17,21 @@
|
||||
|
||||
|
||||
Name: python-pygn
|
||||
Version: 0.10.2
|
||||
Version: 0.11.0
|
||||
Release: 0
|
||||
Summary: The Python Gateway Script: news2mail mail2news gateway
|
||||
License: GPL-3.0-only
|
||||
Group: Productivity/Networking/News/Utilities
|
||||
URL: https://gitlab.com/mcepl/pyg
|
||||
URL: https://git.sr.ht/~mcepl/pygn
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pygn/pygn-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module nntplib if %python-base >= 3.12}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module rply}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-rply
|
||||
Requires: (python-nntplib if python-base >= 3.12)
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
@@ -57,16 +60,16 @@ It refers to rfc 822 (mail) and 850 (news).
|
||||
%autosetup -p1 -n pygn-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pygm2n
|
||||
%python_clone -a %{buildroot}%{_bindir}/pygn2m
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
%pyunittest discover -v test
|
||||
|
||||
%post
|
||||
%python_install_alternative pygm2n pygn2m
|
||||
|
Reference in New Issue
Block a user