Compare commits

..

4 Commits

Author SHA1 Message Date
Troy Dawson fd76bbeeca remove package.cfg per new epel-playground policy 2020-09-24 16:16:57 +00:00
Orion Poplawski 8a0265e121 Merge commit '33ce2adaeab6a5110174bd6e585e0f308c63dbc5' into epel8 2020-02-02 22:01:28 -07:00
Orion Poplawski f7932379bf Merge branch 'master' into epel8 2019-10-04 09:25:56 -06:00
Gwyn Ciesla 5caed31674 "Adding package.cfg file" 2019-10-04 08:06:12 -05:00
4 changed files with 19 additions and 54 deletions
-1
View File
@@ -5,4 +5,3 @@
/numpydoc-0.8.0.tar.gz
/numpydoc-0.9.1.tar.gz
/numpydoc-0.9.2.tar.gz
/numpydoc-1.1.0.tar.gz
-13
View File
@@ -1,13 +0,0 @@
diff --git a/setup.cfg b/setup.cfg
index 420fc78..1e9d2d6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,7 +1,7 @@
[tool:pytest]
addopts =
--showlocals --doctest-modules -ra --cov-report= --cov=numpydoc
- --junit-xml=junit-results.xml --ignore=doc/conf.py
+ --junit-xml=junit-results.xml --ignore=doc/
junit_family = xunit2
filterwarnings =
ignore:'U' mode is deprecated:DeprecationWarning
+18 -39
View File
@@ -1,17 +1,19 @@
Name: python-numpydoc
Version: 1.1.0
Release: 3%{?dist}
Version: 0.9.2
Release: 1%{?dist}
Summary: Sphinx extension to support docstrings in NumPy format
License: BSD
URL: https://pypi.python.org/pypi/numpydoc
Source0: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
# Upstream patch to ignore doc/ directory during tests
Patch0: https://github.com/numpy/numpydoc/pull/296.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-setuptools
BuildRequires: python3-nose
BuildRequires: python3-pytest
BuildRequires: python3-sphinx
BuildRequires: python3-matplotlib
%description
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
@@ -21,58 +23,35 @@ following the NumPy/SciPy format to a form palatable to Sphinx.
%package -n python3-numpydoc
Summary: %{summary}
%{?python_provide:%python_provide python3-numpydoc}
Requires: python3-sphinx >= 1.6.5
Requires: python3-jinja2 >= 2.3
%description -n python3-numpydoc
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
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' test_requirements.txt
sed -Ei 's/\s+--cov\S+//g' setup.cfg
%generate_buildrequires
%pyproject_buildrequires -x testing
%autosetup -n numpydoc-%{version}
%build
%pyproject_wheel
%py3_build
%install
%pyproject_install
%pyproject_save_files numpydoc
%py3_install
%check
# Deselected tests need to download an inventory from docs.python.org
%pytest -k "not test_MyClass and not test_my_function"
nosetests-3 -v
%files -n python3-numpydoc -f %pyproject_files
%files -n python3-numpydoc
%license LICENSE.txt
%doc README.rst
%{python3_sitelib}/numpydoc
%{python3_sitelib}/numpydoc-%{version}-py?.?.egg-info
%changelog
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Nov 13 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-2
- Don't BR pytest-cov
* Wed Sep 09 2020 Lumír Balhar <lbalhar@redhat.com> - 1.1.0-1
- Update to 1.1.0 (#1701764)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-4
- Rebuilt for Python 3.9
* Fri May 08 2020 Orion Poplawski <orion@nwra.com> - 0.9.2-3
- Add upstream patch for python 3.9 compatibility
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Dec 28 2019 Orion Poplawski <orion@nwra.com> - 0.9.2-1
- Update to 0.9.2
+1 -1
View File
@@ -1 +1 @@
SHA512 (numpydoc-1.1.0.tar.gz) = 10dfc5e40ca851401be7d7cca3cbf24bf8ded8573c01344976321cd65fe351d985ee0bf48a92a485a43f8fb191c246e4822545a1583c87c1214d819a5fdfc106
SHA512 (numpydoc-0.9.2.tar.gz) = db8f5c3b409ece0a40f1c2ccb06eaa182896d173a5c913c7e6c5780fd021d746c48557fee6f050db8c42cfa41a5021901342bbb93dfd8b8daf7d43fead9cf94a