forked from pool/python-numpydoc
Accepting request 261624 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/261624 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpydoc?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 20:43:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashism in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 12:25:04 UTC 2013 - toddrme2178@gmail.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-numpydoc
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -13,15 +13,16 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-numpydoc
|
||||
Version: 0.4
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: Sphinx extension to support docstrings in Numpy format
|
||||
Url: http://github.com/numpy/numpy/tree/master/doc/sphinxext
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/numpy/numpy/tree/master/doc/sphinxext
|
||||
Source: https://pypi.python.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
@@ -60,8 +61,7 @@ python setup.py test
|
||||
%pre
|
||||
# Since /usr/bin/autosummary_generate became ghosted to be used with update-alternatives, we have
|
||||
# to get rid of the old binary resulting from the non-update-alternativies-ified package:
|
||||
[[ ! -L %{_bindir}/autosummary_generate ]] && rm -f %{_bindir}/autosummary_generate
|
||||
exit 0
|
||||
[ -h %{_bindir}/autosummary_generate ] || rm -f %{_bindir}/autosummary_generate
|
||||
|
||||
%post
|
||||
update-alternatives \
|
||||
@@ -72,7 +72,6 @@ if [ $1 -eq 0 ] ; then
|
||||
update-alternatives --remove autosummary_generate %{_bindir}/autosummary_generate-%{py_ver}
|
||||
fi
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.txt
|
||||
|
Reference in New Issue
Block a user