forked from pool/python-py
- Drop the doc subpackage, no need for it really
- Make sure the tests are realy executed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-py?expand=0&rev=7
This commit is contained in:
parent
439acb5f51
commit
0ff5f6a7d8
@ -1,93 +0,0 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 13:07:32 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 1.7.0
|
||||
* use ``shutil.get_terminal_size()`` in Python 3.3+ to determine the size of the
|
||||
terminal, which produces more accurate results than the previous method.
|
||||
* introduce new ``PY_IGNORE_IMPORTMISMATCH`` environment variable
|
||||
that suppresses ``ImportMismatchError`` exceptions when set to ``1``.
|
||||
* add ``TerminalWriter.width_of_current_line`` (i18n version of
|
||||
``TerminalWriter.chars_on_current_line``), a read-only property
|
||||
that tracks how wide the current line is, attempting to take
|
||||
into account international characters in the calculation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 2 12:39:13 UTC 2018 - mimi.vx@gmail.com
|
||||
|
||||
- update to 1.5.4
|
||||
* don't make assumptions about fs case sensitivity in ``make_numbered_dir``.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 04:37:00 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- update to version 1.5.3
|
||||
* - fix #179: ensure we can support 'from py.error import ...'
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 19 05:51:49 UTC 2017 - arun@gmx.de
|
||||
|
||||
- specfile:
|
||||
* updated url
|
||||
|
||||
- update to version 1.5.2:
|
||||
* fix #169, #170: error importing py.log on Windows: no module named
|
||||
"syslog".
|
||||
|
||||
- changes from version 1.5.1:
|
||||
* fix #167 - prevent pip from installing py in unsupported Python
|
||||
versions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 07:06:05 UTC 2017 - arun@gmx.de
|
||||
|
||||
- update to version 1.5.0:
|
||||
* python 2.6 and 3.3 are no longer supported
|
||||
* deprecate py.std and remove all internal uses
|
||||
* fix #73 turn py.error into an actual module
|
||||
* path join to / no longer produces leading double slashes
|
||||
* fix #82 - remove unsupportable aliases
|
||||
* fix python37 compatibility of path.sysfind on windows by correctly
|
||||
replacing vars
|
||||
* turn iniconfig and apipkg into vendored packages and ease
|
||||
de-vendoring for distributions
|
||||
* fix #68 remove invalid py.test.ensuretemp references
|
||||
* fix #25 - deprecate path.listdir(sort=callable)
|
||||
* add TerminalWriter.chars_on_current_line read-only property that
|
||||
tracks how many characters have been written to the current line.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 30 06:04:20 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Update to 1.4.34
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 23 14:58:09 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- update to 1.4.32
|
||||
- use only python3-Sphinx to build docs
|
||||
- provide $flavor-doc for all pythons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 3 18:33:49 UTC 2016 - p.drouand@gmail.com
|
||||
|
||||
- Update download Url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 23 13:23:33 UTC 2016 - michael@stroeder.com
|
||||
|
||||
- corrected homepage URL
|
||||
- HTTPS URL for pypi source link
|
||||
- update to version 1.4.31
|
||||
* fix local().copy(dest, mode=True) to also work with unicode.
|
||||
* pass better error message with svn EEXIST paths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 2 10:01:08 UTC 2015 - aj@ajaissle.de
|
||||
|
||||
- update to version 1.4.30
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 30 13:45:03 UTC 2015 - aj@ajaissle.de
|
||||
|
||||
- Split documentation into separate package to avoid build loop
|
||||
|
@ -1,64 +0,0 @@
|
||||
#
|
||||
# spec file for package python-py-doc
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-py-doc
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pytest-dev/py
|
||||
Source: https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module py}
|
||||
# Documentation requirements:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Sphinx
|
||||
Provides: %{python_module py-doc = %{version}}
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
The py lib is a Python development support library featuring
|
||||
the following tools and modules:
|
||||
|
||||
* py.path: uniform local and svn path objects
|
||||
* py.apipkg: explicit API control and lazy-importing
|
||||
* py.iniconfig: easy parsing of .ini files
|
||||
* py.code: dynamic code generation and introspection
|
||||
* py.path: uniform local and svn path objects
|
||||
|
||||
This package contains the documentation for Babel
|
||||
|
||||
%prep
|
||||
%setup -q -n py-%{version}
|
||||
dos2unix LICENSE doc/*.txt doc/announce/*.txt
|
||||
|
||||
%build
|
||||
cd doc && make html && rm -r _build/html/.buildinfo
|
||||
|
||||
%install
|
||||
# Only building documentation
|
||||
|
||||
%files
|
||||
%doc doc/_build/html
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 12 14:34:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Drop the doc subpackage, no need for it really
|
||||
- Make sure the tests are realy executed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 13:07:32 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-py
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-py
|
||||
Version: 1.7.0
|
||||
@ -25,9 +26,12 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pytest-dev/py
|
||||
Source: https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Obsoletes: %{oldpython}-py-docs
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -44,6 +48,7 @@ the following tools and modules:
|
||||
%prep
|
||||
%setup -q -n py-%{version}
|
||||
rm -rf py.egg-info
|
||||
rm -f tox.ini
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -52,6 +57,9 @@ rm -rf py.egg-info
|
||||
%python_install
|
||||
%python_exec %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user