forked from pool/python-venusian
Accepting request 783366 from home:pgajdos:python
- version update to 3.0.0 3.0.0 (2019-10-04) - This release matches 2.0.0 other than in the version number. This fixes an issue with Requires-Python metadata not being uploaded correctly to PyPi. This version is only compatible with Python 3.5+ 2.0.0 (2019-10-04) - Drop support for Python 2.7, 3.3, and 3.4 - Removed the usage of the ``imp`` module to squelch the warnings regarding a deprecated modules. See https://github.com/Pylons/venusian/pull/63 and https://github.com/Pylons/venusian/issues/57 - modified patches % fix-pylons-sphinx-theme.diff (refreshed) OBS-URL: https://build.opensuse.org/request/show/783366 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-venusian?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
b28328903b
commit
ed90a75846
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-venusian
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,8 +18,9 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-venusian
|
||||
Version: 1.2.0
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: A library for deferring decorator actions
|
||||
License: SUSE-Repoze AND ZPL-2.1
|
||||
@@ -66,14 +67,14 @@ rm -rf venusian.egg-info
|
||||
|
||||
%build
|
||||
%python_build
|
||||
python3 setup.py build_sphinx && rm -v build/sphinx/html/{.buildinfo,objects.inv}
|
||||
PYTHONPATH=src python3 setup.py build_sphinx && rm -v build/sphinx/html/{.buildinfo,objects.inv}
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest venusian
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Reference in New Issue
Block a user