Accepting request 496359 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/496359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2017-05-20 12:30:03 +00:00 committed by Git OBS Bridge
commit 2e8ccf9b2b
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 17 22:32:38 UTC 2017 - dimstar@opensuse.org
- Do not buildrequire git: having git in the build root causes a
build cycle over curl -> nghttp2 -> python-setuptoos_scm -> git.
- Do not run the tests relying on git's presence.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 3 15:24:56 UTC 2017 - jmatejek@suse.com Fri Mar 3 15:24:56 UTC 2017 - jmatejek@suse.com

View File

@ -32,7 +32,6 @@ BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# Testing requirements # Testing requirements
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: git
BuildRequires: mercurial BuildRequires: mercurial
Requires: python-setuptools Requires: python-setuptools
Recommends: git Recommends: git
@ -49,6 +48,9 @@ in scm metadata. It also handles file finders for the supperted scm's.
%prep %prep
%setup -q -n setuptools_scm-%{version} %setup -q -n setuptools_scm-%{version}
%patch0 -p1 %patch0 -p1
# We can't pull in git into the build root, as this causes a nasty build cycle
# git - curl - nghttp2 - setuptools - git
rm testing/test_{git,regressions}.py
%build %build
%python_build %python_build