Accepting request 180015 from devel:languages:python

housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/180015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinxcontrib-issuetracker?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2013-06-19 13:57:17 +00:00
committed by Git OBS Bridge
3 changed files with 5 additions and 68 deletions

View File

@@ -11,10 +11,11 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: python-sphinxcontrib-issuetracker Name: python-sphinxcontrib-issuetracker
Version: 0.10.1 Version: 0.10.1
Release: 0 Release: 0
@@ -24,12 +25,12 @@ License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/s/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-%{version}.tar.gz Source: http://pypi.python.org/packages/source/s/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-Sphinx
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute BuildRequires: python-distribute
BuildRequires: python-requests BuildRequires: python-requests
BuildRequires: python-Sphinx
Requires: python-requests
Requires: python-Sphinx Requires: python-Sphinx
Requires: python-requests
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else %else

View File

@@ -1,5 +0,0 @@
-------------------------------------------------------------------
Tue Jan 15 19:40:46 UTC 2013 - p.drouand@gmail.com
- Initial python3 support

View File

@@ -1,59 +0,0 @@
#
# spec file for package python3-sphinxcontrib-issuetracker
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-sphinxcontrib-issuetracker
Version: 0.10.1
Release: 0
Url: http://packages.python.org/sphinxcontrib-issuetracker
Summary: Sphinx integration with different issuetrackers
License: BSD-2-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/s/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRequires: python3-requests
BuildRequires: python3-Sphinx
Requires: python3-requests
Requires: python3-Sphinx
BuildArch: noarch
%description
A Sphinx extension to reference issues in issue trackers, either explicitly
with an "issue" role or optionally implicitly by issue ids like ``#10`` in
plaintext.
%prep
%setup -q -n sphinxcontrib-issuetracker-%{version}
%build
python3 setup.py build
#cd doc && make html && rm -r _build/html/.buildinfo # Build HTML documentation
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python3 setup.py test
%files
%defattr(-,root,root,-)
%doc CREDITS LICENSE README.rst CHANGES.rst
%{python3_sitelib}/*
%changelog