python-numpydoc 1.4.0-1 (aarch64) 2022-15320
9999
Status | published | ||
Submitter | alexander [@T] mezon.ru | ||
Platform | rolling | ||
Repository | main | ||
URL | https://abf.openmandriva.org/build_lists/235446 | ||
Packages |
|
||
Build Date | 2022-09-27 22:21:43 +0000 UTC | ||
Last Updated | 2022-09-30 17:40:39.467323243 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 40b9712bd6e3198c4f50927b5366bf3628401296 commit 40b9712bd6e3198c4f50927b5366bf3628401296 Author: Bernhard Rosenkränzer <bero@lindev.ch> AuthorDate: Wed Sep 28 00:09:55 2022 +0200 Commit: Bernhard Rosenkränzer <bero@lindev.ch> CommitDate: Wed Sep 28 00:09:55 2022 +0200 1.4.0, drop python2 cruft --- .abf.yml | 2 +- python-numpydoc.spec | 42 +++++++----------------------------------- 2 files changed, 8 insertions(+), 36 deletions(-) diff --git a/.abf.yml b/.abf.yml index 09619e2..5cce782 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - numpydoc-0.9.2.tar.gz: 16ae7c59f6fda83d1bd83a1c6d35e20999848c1a + numpydoc-1.4.0.tar.gz: c41d8a60d1ff94a56044e921d8f634b1f16508d0 diff --git a/python-numpydoc.spec b/python-numpydoc.spec index 57be830..4adbbcb 100644 --- a/python-numpydoc.spec +++ b/python-numpydoc.spec @@ -1,11 +1,11 @@ Name: python-numpydoc -Version: 0.9.2 +Version: 1.4.0 Release: 1 Summary: Sphinx extension to support docstrings in Numpy format License: BSD URL: https://pypi.python.org/pypi/numpydoc -Source0: https://files.pythonhosted.org/packages/b0/70/4d8c3f9f6783a57ac9cc7a076e5610c0cc4a96af543cafc9247ac307fbfe/numpydoc-0.9.2.tar.gz +Source0: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel @@ -13,49 +13,21 @@ BuildRequires: python-setuptools BuildRequires: python-nose BuildRequires: python-sphinx -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-nose - %description Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings following the Numpy/Scipy format to a form palatable to Sphinx. -%package -n python2-numpydoc -Summary: Sphinx extension to support docstrings in Numpy format -%description -n python2-numpydoc -Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings -following the Numpy/Scipy format to a form palatable to Sphinx. - - %prep -%setup -q -n numpydoc-%{version} - -rm -rf %{py3dir} -cp -a . %{py3dir} -2to3 --write --nobackups %{py3dir} +%autosetup -p1 -n numpydoc-%{version} %build -%{__python2} setup.py build -pushd %{py3dir} - %{__python3} setup.py build -popd - +%py_build %install -pushd %{py3dir} - %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT - chmod -R a+r $RPM_BUILD_ROOT%{py3_puresitedir}/numpydoc-%{version}-py?.?.egg-info -popd -%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -chmod -R a+r $RPM_BUILD_ROOT%{py2_puresitedir}/numpydoc-%{version}-py?.?.egg-info +%py_install +chmod -R a+r $RPM_BUILD_ROOT%{py3_puresitedir}/numpydoc-%{version}-py*.egg-info %files %doc LICENSE.txt %{py_puresitedir}/numpydoc -%{py_puresitedir}/numpydoc-%{version}-py?.?.egg-info - -%files -n python2-numpydoc -%doc LICENSE.txt -%{py2_puresitedir}/numpydoc -%{py2_puresitedir}/numpydoc-%{version}-py?.?.egg-info +%{py_puresitedir}/numpydoc-%{version}-py*.egg-info
Not Available
benbullard79 [@T] cox.net | No Comment. | 545d 20hrs |
benbullard79 [@T] cox.net | No Comment. | 545d 18hrs |