Accepting request 864639 from home:jayvdb:branches:devel:languages:python
- Changed dependency from git to git-core - Remove build dependency on pytest-cov and python-devel - Use fdupes OBS-URL: https://build.opensuse.org/request/show/864639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/cookiecutter?expand=0&rev=13
This commit is contained in:
parent
7bacc59e37
commit
b94807be14
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 20 08:32:20 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Changed dependency from git to git-core
|
||||||
|
- Remove build dependency on pytest-cov and python-devel
|
||||||
|
- Use fdupes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 22 18:05:41 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Wed Apr 22 18:05:41 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
|
@ -26,18 +26,18 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/audreyr/cookiecutter
|
URL: https://github.com/audreyr/cookiecutter
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/cookiecutter/cookiecutter-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/cookiecutter/cookiecutter-%{version}.tar.gz
|
||||||
Source1: ccext.py
|
Source1: ccext.py
|
||||||
BuildRequires: git
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: git-core
|
||||||
BuildRequires: python3-Jinja2 >= 2.7
|
BuildRequires: python3-Jinja2 >= 2.7
|
||||||
BuildRequires: python3-binaryornot >= 0.2.0
|
BuildRequires: python3-binaryornot >= 0.2.0
|
||||||
BuildRequires: python3-click >= 7.0
|
BuildRequires: python3-click >= 7.0
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-future >= 0.15.2
|
BuildRequires: python3-future >= 0.15.2
|
||||||
BuildRequires: python3-jinja2-time >= 0.1.0
|
BuildRequires: python3-jinja2-time >= 0.1.0
|
||||||
BuildRequires: python3-poyo >= 0.1.0
|
BuildRequires: python3-poyo >= 0.1.0
|
||||||
BuildRequires: python3-python-slugify
|
BuildRequires: python3-python-slugify
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-whichcraft >= 0.4.0
|
BuildRequires: python3-whichcraft >= 0.4.0
|
||||||
Requires: git
|
Requires: git-core
|
||||||
Requires: python3-Jinja2 >= 2.7
|
Requires: python3-Jinja2 >= 2.7
|
||||||
Requires: python3-binaryornot >= 0.2.0
|
Requires: python3-binaryornot >= 0.2.0
|
||||||
Requires: python3-click >= 7.0
|
Requires: python3-click >= 7.0
|
||||||
@ -54,7 +54,6 @@ BuildArch: noarch
|
|||||||
BuildRequires: python3-chardet >= 2.0.0
|
BuildRequires: python3-chardet >= 2.0.0
|
||||||
BuildRequires: python3-freezegun
|
BuildRequires: python3-freezegun
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-pytest-cov
|
|
||||||
BuildRequires: python3-pytest-mock
|
BuildRequires: python3-pytest-mock
|
||||||
BuildRequires: python3-requests >= 2.18.0
|
BuildRequires: python3-requests >= 2.18.0
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@ -85,6 +84,8 @@ This package contains the documentation for cookiecutter.
|
|||||||
%setup -q -n cookiecutter-%{version}
|
%setup -q -n cookiecutter-%{version}
|
||||||
sed -i "s/cookiecutter =/cookiecutter-%{py3_ver} =/" setup.py
|
sed -i "s/cookiecutter =/cookiecutter-%{py3_ver} =/" setup.py
|
||||||
cp %{SOURCE1} docs
|
cp %{SOURCE1} docs
|
||||||
|
# Remove pytest addopts:
|
||||||
|
rm setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python3 setup.py build
|
python3 setup.py build
|
||||||
@ -98,6 +99,7 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
touch %{buildroot}%{_sysconfdir}/alternatives/cookiecutter
|
touch %{buildroot}%{_sysconfdir}/alternatives/cookiecutter
|
||||||
ln -sf %{_sysconfdir}/alternatives/cookiecutter %{buildroot}%{_bindir}/cookiecutter
|
ln -sf %{_sysconfdir}/alternatives/cookiecutter %{buildroot}%{_bindir}/cookiecutter
|
||||||
|
%fdupes %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
|
Loading…
Reference in New Issue
Block a user