Notification time stamped 2023-06-30 14:50:53 UTC
From ac8577e46abd3ff2852ca4659cabb8334ec5aa1e Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley code@musicinmybrain.net Date: Jun 29 2023 19:22:13 +0000 Subject: Update to 0.9.0 (fix RHBZ#2216610, fix RHBZ#2155214)
---
diff --git a/.gitignore b/.gitignore index 6247999..ee272a7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /stdlib-list-0.6.0.tar.gz /python-stdlib-list-0.6.0.tar.gz /python-stdlib-list-0.8.0.tar.gz +/stdlib-list-0.9.0.tar.gz diff --git a/python-stdlib-list.spec b/python-stdlib-list.spec index 674a4d2..9429789 100644 --- a/python-stdlib-list.spec +++ b/python-stdlib-list.spec @@ -5,18 +5,22 @@ %bcond doc_pdf 1
Name: python-stdlib-list -Version: 0.8.0 -Release: 9%{?dist} +Version: 0.9.0 +Release: 1%{?dist} Summary: A list of Python Standard Libraries
License: MIT -URL: https://github.com/jackmaney/python-stdlib-list +URL: https://github.com/pypi/stdlib-list # pypi is missing docs, so use the github tarball instead -Source0: %{url}/archive/v%{version}.tar.gz#/python-stdlib-list-%{version}.tar.gz +Source: %{url}/archive/v%{version}/stdlib-list-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel +# We BR this manually since the other dependencies in the “test” extra are for +# coverage analysis and are unwanted +# (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters). +BuildRequires: %{py3_dist pytest}
%global desc %{expand: This package includes lists of all of the standard libraries for Python.} @@ -35,18 +39,18 @@ Summary: Documentation for python-stdlib-list BuildRequires: make BuildRequires: python3-sphinx-latex BuildRequires: latexmk -# From requirements-dev.txt (which otherwise contains unwanted dependencies): -BuildRequires: %{py3_dist sphinx_rtd_theme} %endif
%description doc %{summary}.
%prep -%autosetup +%autosetup -n stdlib-list-%{version} +# We don’t need the HTML theme to build PDF documentation: +sed -r -i 's/, "furo"//' pyproject.toml
%generate_buildrequires -%pyproject_buildrequires %{?with_doc_pdf:-x develop} +%pyproject_buildrequires %{?with_doc_pdf:-x doc}
%build %pyproject_wheel @@ -61,16 +65,10 @@ PYTHONPATH="${PWD}" %make_build -C docs latex \ %pyproject_save_files stdlib_list
%check -# Upstream has tests, but we cannot yet run them. Spend more time on it if it -# is still a problem in 0.9.0. -# -# Similarly, investigate this if it persists, from stdlib_list.fetch: -# -# from . import base_dir, get_canonical_version, short_versions, list_dir -# ImportError: cannot import name 'base_dir' from 'stdlib_list' -%pyproject_check_import -e stdlib_list.fetch +%pytest
%files -n python3-stdlib-list -f %{pyproject_files} +%license LICENSE %doc README.md
%files doc @@ -80,6 +78,9 @@ PYTHONPATH="${PWD}" %make_build -C docs latex \ %endif
%changelog +* Thu Jun 29 2023 Benjamin A. Beasley code@musicinmybrain.net - 0.9.0-1 +- Update to 0.9.0 (fix RHBZ#2216610, fix RHBZ#2155214) + * Thu Jun 29 2023 Benjamin A. Beasley code@musicinmybrain.net - 0.8.0-9 - Port to pyproject-rpm-macros - Build docs as PDF instead of HTML diff --git a/sources b/sources index a97b9f5..8bf61c5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-stdlib-list-0.8.0.tar.gz) = e18d893e257408125249064b9466e50f684a5358d0d8ab1693bf3529f23b47f82dc23b52cea6f8be89c7dc2bac58f8981ace0b7d7a016b295855562dba1aebc3 +SHA512 (stdlib-list-0.9.0.tar.gz) = bd0769f8196cc6eb5e524caa10af1d0aec2b85d4437404cfac8b52a8e97e6d0201b36d99e7ca21b86808b5cbe7c89ca1d4147ccb82497fe7cbfda1f166daa9f8
https://src.fedoraproject.org/rpms/python-stdlib-list/c/ac8577e46abd3ff2852c...
scm-commits@lists.fedoraproject.org