forked from pool/python-Django
Accepting request 628114 from devel:languages:python:django
- Enable testsuite OBS-URL: https://build.opensuse.org/request/show/628114 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=41
This commit is contained in:
commit
f43b340bd2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 8 13:33:57 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Enable testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 8 09:35:51 UTC 2018 - mimi.vx@gmail.com
|
||||
|
||||
|
@ -29,17 +29,37 @@ Source: https://www.djangoproject.com/m/releases/2.1/Django-%{version}.t
|
||||
Source1: https://www.djangoproject.com/m/pgp/Django-%{version}.checksum.txt#/Django-%{version}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
Source99: python-Django-rpmlintrc
|
||||
BuildRequires: %{python_module Jinja2 >= 2.9.2}
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module argon2-cffi >= 16.1.0}
|
||||
BuildRequires: %{python_module base >= 3.5}
|
||||
BuildRequires: %{python_module bcrypt}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module geoip2}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pylibmc}
|
||||
BuildRequires: %{python_module python-memcached >= 1.59}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module selenium}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module sqlparse}
|
||||
BuildRequires: %{python_module tblib}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Pillow
|
||||
Requires: python-argon2-cffi >= 16.1.0
|
||||
Requires: python-pytz
|
||||
Requires: python-setuptools
|
||||
Requires: python-xml
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
Recommends: python-Jinja2 >= 2.9.2
|
||||
Recommends: python-PyYAML
|
||||
Recommends: python-argon2-cffi >= 16.1.0
|
||||
Recommends: python-bcrypt
|
||||
Recommends: python-geoip2
|
||||
Recommends: python-pylibmc
|
||||
Recommends: python-python-memcached >= 1.59
|
||||
Provides: python3-django = %{version}
|
||||
Obsoletes: python3-django < %{version}
|
||||
Provides: python3-South = %{version}
|
||||
@ -88,6 +108,11 @@ $python -O -m compileall -d %{$python_sitelib} django/conf/locale/ru/
|
||||
popd
|
||||
}
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF8
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/runtests.py
|
||||
|
||||
%post
|
||||
%{python_install_alternative django-admin.py django-admin}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user