Version 1.6.0
Other changes: - Convert License tag to SPDX - Use the %pypi_source macro
This commit is contained in:
@@ -7,3 +7,4 @@
|
||||
/numpydoc-0.9.2.tar.gz
|
||||
/numpydoc-1.1.0.tar.gz
|
||||
/numpydoc-1.4.0.tar.gz
|
||||
/numpydoc-1.6.0.tar.gz
|
||||
|
||||
+16
-7
@@ -1,14 +1,14 @@
|
||||
Name: python-numpydoc
|
||||
Version: 1.4.0
|
||||
Release: 4%{?dist}
|
||||
Version: 1.6.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Sphinx extension to support docstrings in NumPy format
|
||||
|
||||
# Replace ast.NameConstant deprecated in Python 3.12 with ast.Constant
|
||||
Patch: https://github.com/hrnciar/numpydoc/pull/1.patch
|
||||
|
||||
License: BSD
|
||||
License: BSD-2-Clause
|
||||
URL: https://pypi.python.org/pypi/numpydoc
|
||||
Source0: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
|
||||
Source0: %pypi_source numpydoc
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
@@ -30,11 +30,14 @@ following the NumPy/SciPy format to a form palatable to Sphinx.
|
||||
%prep
|
||||
%autosetup -p1 -n numpydoc-%{version}
|
||||
# let's not measure coverage:
|
||||
sed -i '/pytest-cov/d' requirements/test.txt
|
||||
sed -Ei 's/\s+--cov\S+//g' setup.cfg
|
||||
sed -i '/pytest-cov/d' requirements/test.txt pyproject.toml
|
||||
sed -Ei 's/\s+--cov\S+//g' pyproject.toml
|
||||
|
||||
# Remove a useless shebang
|
||||
sed -i '\,#!/usr/bin/env python,d' numpydoc/validate.py
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -x testing
|
||||
%pyproject_buildrequires -x test
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -51,8 +54,14 @@ sed -Ei 's/\s+--cov\S+//g' setup.cfg
|
||||
%files -n python3-numpydoc -f %pyproject_files
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{_bindir}/validate-docstrings
|
||||
|
||||
%changelog
|
||||
* Thu Oct 19 2023 Jerry James <loganjerry@gmail.com> - 1.6.0-1
|
||||
- Version 1.6.0
|
||||
- Convert License tag to SPDX
|
||||
- Use the pypi_source macro
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
SHA512 (numpydoc-1.4.0.tar.gz) = a2ef773e2e4bce015139650fc8cd71026fccc27a80bb4ff2af79328d17cfc7ec5387216e4e7dcbc6ce7a3ee8a1aff835f5310e146c2e6b34c6eeb2db4af3991b
|
||||
SHA512 (numpydoc-1.6.0.tar.gz) = 1296a88283add3e703c8e9361454b1e2f78798bf266e333665a78c93a535d1add1854ff00c842efce4b7523c042f299054f28a63ffcb9ad7bc1e7c98ad8526c4
|
||||
|
||||
Reference in New Issue
Block a user