forked from pool/python-amqp
Accepting request 224888 from devel:languages:python
- Add amqp-drop-sphinxcontrib-issuetracker-dependency.patch: Avoid unnesseary build-time dependencies. OBS-URL: https://build.opensuse.org/request/show/224888 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-amqp?expand=0&rev=12
This commit is contained in:
19
amqp-drop-sphinxcontrib-issuetracker-dependency.patch
Normal file
19
amqp-drop-sphinxcontrib-issuetracker-dependency.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff -ruN a/docs/conf.py b/docs/conf.py
|
||||
--- a/docs/conf.py 2014-01-22 20:52:51.000000000 +0100
|
||||
+++ b/docs/conf.py 2014-03-06 15:35:00.025207871 +0100
|
||||
@@ -18,8 +18,7 @@
|
||||
extensions = ['sphinx.ext.autodoc',
|
||||
'sphinx.ext.coverage',
|
||||
'sphinx.ext.pngmath',
|
||||
- 'sphinx.ext.intersphinx',
|
||||
- 'sphinxcontrib.issuetracker']
|
||||
+ 'sphinx.ext.intersphinx']
|
||||
|
||||
html_show_sphinx = False
|
||||
|
||||
diff -ruN a/requirements/docs.txt b/requirements/docs.txt
|
||||
--- a/requirements/docs.txt 2014-01-22 20:52:51.000000000 +0100
|
||||
+++ b/requirements/docs.txt 2014-03-06 15:35:05.089203433 +0100
|
||||
@@ -1,2 +1 @@
|
||||
Sphinx
|
||||
-sphinxcontrib-issuetracker>=0.9
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 14:38:33 UTC 2014 - speilicke@suse.com
|
||||
|
||||
- Add amqp-drop-sphinxcontrib-issuetracker-dependency.patch: Avoid
|
||||
unnesseary build-time dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 20 18:31:59 UTC 2014 - dmueller@suse.com
|
||||
|
||||
|
||||
@@ -24,11 +24,12 @@ License: LGPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/celery/py-amqp
|
||||
Source: https://pypi.python.org/packages/source/a/amqp/amqp-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE speilicke@suse.com -- Avoid excessive doc dependencies
|
||||
Patch0: amqp-drop-sphinxcontrib-issuetracker-dependency.patch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-sphinxcontrib-issuetracker
|
||||
# Test requirements:
|
||||
BuildRequires: python-nose
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -47,6 +48,7 @@ This library should be API compatible with librabbitmq.
|
||||
|
||||
%prep
|
||||
%setup -q -n amqp-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
Reference in New Issue
Block a user