diff --git a/pygn-0.10.2.tar.gz b/pygn-0.10.2.tar.gz deleted file mode 100644 index 5d2f9ad..0000000 --- a/pygn-0.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:79f6415fd917758df00234d817aa7b02e5880d478c1bf03330fab2b377d3dda7 -size 12788 diff --git a/pygn-0.11.0.tar.gz b/pygn-0.11.0.tar.gz new file mode 100644 index 0000000..7693b49 --- /dev/null +++ b/pygn-0.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2abb370f3640713f6f48f4b60a473c01b417cc5e9de9d9aaaa077aef0001c3b +size 114448 diff --git a/python-pygn.changes b/python-pygn.changes index 98eb023..0261c82 100644 --- a/python-pygn.changes +++ b/python-pygn.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Wed Jun 28 11:44:19 UTC 2023 - Matej Cepl + +- 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 diff --git a/python-pygn.spec b/python-pygn.spec index 11004ea..e13df3d 100644 --- a/python-pygn.spec +++ b/python-pygn.spec @@ -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