forked from pool/python-alembic
Accepting request 648988 from devel:languages:python
- Do not require old pytest and simply execute the pytest binary OBS-URL: https://build.opensuse.org/request/show/648988 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-alembic?expand=0&rev=36
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 14 13:59:58 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Do not require old pytest and simply execute the pytest binary
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 1 22:51:27 UTC 2018 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
||||
@@ -41,8 +41,8 @@ Requires: python-Mako
|
||||
Requires: python-SQLAlchemy >= 0.9.0
|
||||
Requires: python-python-dateutil
|
||||
Requires: python-python-editor >= 0.3
|
||||
Requires(post): %{_sbindir}/update-alternatives
|
||||
Requires(postun): %{_sbindir}/update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -93,7 +93,7 @@ sed -i -e '1d' alembic/testing/runner.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version}
|
||||
|
||||
%post
|
||||
%python_install_alternative alembic
|
||||
|
||||
Reference in New Issue
Block a user