public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-xml2rfc] rawhide: - Update to 3.35.0
@ 2026-11-02 19:57 Paul Wouters
0 siblings, 0 replies; only message in thread
From: Paul Wouters @ 2026-11-02 19:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-xml2rfc
Branch : rawhide
Commit : 0aaa3db08ebd089d0a622f364a8955113b15c03c
Author : Paul Wouters <paul.wouters@aiven.io>
Date : 2026-11-02T14:47:21-05:00
Stats : +33/-29 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-xml2rfc/c/0aaa3db08ebd089d0a622f364a8955113b15c03c?branch=rawhide
Log:
- Update to 3.35.0
also updated to the latest python macros
---
diff --git a/.gitignore b/.gitignore
index 76c3010..8deb94e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/xml2rfc-3.2.1.tar.gz
/xml2rfc-3.7.0.tar.gz
/xml2rfc-3.9.1.tar.gz
+/xml2rfc-3.35.0.tar.gz
diff --git a/python-xml2rfc.spec b/python-xml2rfc.spec
index 66f98fb..3fc4ffa 100644
--- a/python-xml2rfc.spec
+++ b/python-xml2rfc.spec
@@ -1,14 +1,13 @@
%global srcname %(echo %{name} | sed 's/^python-//')
Name: python-xml2rfc
-Version: 3.9.1
-Release: 20%{?dist}
+Version: 3.35.0
+Release: 1%{?dist}
Summary: Convert IETF RFC-7749 XML into txt format
-# Automatically converted from old format: BSD with advertising - review is highly recommended.
-License: LicenseRef-Callaway-BSD-with-advertising
-URL: https://pypi.python.org/pypi/xml2rfc/
-Source0: https://files.pythonhosted.org/packages/source/x/xml2rfc/xml2rfc-%{version}.tar.gz
+License: BSD-3-Clause
+URL: https://github.com/ietf-tools/xml2rfc
+Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
@@ -24,43 +23,47 @@ follow the DTD given in RFC-7749 (or successor). }
%package -n python3-%{srcname}
Summary: Convert IETF RFC-2629 XML into txt format
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
BuildRequires: libxslt-devel
BuildRequires: libxml2-devel
-Requires: python3-google-i18n-address
-Requires: python3-appdirs
-Requires: python3-configargparse
-Requires: python3-pyflakes
-Requires: python3-html5lib
-Requires: python3-intervaltree
-Requires: python3-pycountry
-Requires: python3-jinja2
+# for %check
+BuildRequires: python3-pytest
+BuildRequires: python3-decorator
+BuildRequires: python3-dict2xml
+BuildRequires: python3-pyflakes
+BuildRequires: python3-pypdf
+BuildRequires: python3-weasyprint
%description -n python3-%{srcname} %_description
%prep
%autosetup -n %{srcname}-%{version}
-# temp workaround, filed bug upstream: https://trac.ietf.org/trac/xml2rfc/ticket/661#ticket
-sed -i "s/jinja2>=2.11,<3.0/jinja2>=2.11/" requirements.txt
-%build
-%py3_build
+%generate_buildrequires
+%pyproject_buildrequires
-%check
-# fails on AssertionError: 'Noto Sans Cherokee' not found
-#%{python3} setup.py test
+%build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l %{srcname}
-%files -n python3-%{srcname}
-%license PKG-INFO
-%doc changelog README
-%{python3_sitelib}/%{srcname}/
-%{python3_sitelib}/%{srcname}-*.egg-info/
+%check
+%pyproject_check_import -e 'xml2rfc.uniscripts.update*'
+export PYTHONHASHSEED=0
+# PdfWriterTests download bibxml references from the network
+%pytest test.py --deselect test.py::PdfWriterTests
+
+%files -n python3-%{srcname} -f %{pyproject_files}
+%doc CHANGELOG.md README.md
%{_bindir}/xml2rfc
%changelog
+* Mon Nov 02 2026 Paul Wouters <paul.wouters@aiven.io> - 3.35.0-1
+- Update to 3.35.0
+- Convert to pyproject macros and generated BuildRequires
+- Convert license to SPDX (BSD-3-Clause)
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index fa14d9f..4900b61 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xml2rfc-3.9.1.tar.gz) = d3513ffbc1f90b0121ebd9a40c9282eed6a76248ecf14fea9816b307750a12a21b12d4a233f9c97a02a62e8bd5ae1c4f5408692dcebc8ed6d16a230e3109a140
+SHA512 (xml2rfc-3.35.0.tar.gz) = 66c9cf8cfbfa5824ea7b040c05f960fa7ba2bcacddc3053edf9e02b200efa09a260245e7ecd7a3e58d27380bb8a35f2817d0f2533c3456e888303bc9dc63a392
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 19:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 19:57 [rpms/python-xml2rfc] rawhide: - Update to 3.35.0 Paul Wouters
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox