2011-11-28 17:27:08 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-py
|
|
|
|
#
|
2018-06-05 10:49:41 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-11-28 17:27:08 +00:00
|
|
|
#
|
|
|
|
# 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.
|
2012-02-22 14:54:36 +00:00
|
|
|
|
2011-11-28 17:27:08 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-22 14:54:36 +00:00
|
|
|
|
2017-02-27 17:32:01 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2011-11-28 17:27:08 +00:00
|
|
|
Name: python-py
|
2018-08-07 07:41:04 +00:00
|
|
|
Version: 1.5.4
|
2011-11-28 17:27:08 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
|
2011-12-06 17:57:07 +00:00
|
|
|
License: MIT
|
2011-11-28 17:27:08 +00:00
|
|
|
Group: Development/Languages/Python
|
2018-06-05 10:49:41 +00:00
|
|
|
Url: https://github.com/pytest-dev/py
|
2017-07-04 09:57:16 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz
|
2017-02-27 17:32:01 +00:00
|
|
|
BuildRequires: %{python_module devel}
|
2018-08-07 07:41:04 +00:00
|
|
|
BuildRequires: %{python_module setuptools_scm}
|
2017-02-27 17:32:01 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2018-06-05 10:49:41 +00:00
|
|
|
BuildRequires: fdupes
|
2017-02-27 17:32:01 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2011-11-28 17:27:08 +00:00
|
|
|
BuildArch: noarch
|
2017-02-27 17:32:01 +00:00
|
|
|
|
|
|
|
%python_subpackages
|
2011-11-28 17:27:08 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2017-02-27 17:32:01 +00:00
|
|
|
|
2011-11-28 17:27:08 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n py-%{version}
|
2017-07-04 09:57:16 +00:00
|
|
|
rm -rf py.egg-info
|
2011-11-28 17:27:08 +00:00
|
|
|
|
|
|
|
%build
|
2017-02-27 17:32:01 +00:00
|
|
|
%python_build
|
2011-11-28 17:27:08 +00:00
|
|
|
|
|
|
|
%install
|
2017-02-27 17:32:01 +00:00
|
|
|
%python_install
|
2018-06-05 10:49:41 +00:00
|
|
|
%python_exec %fdupes %{buildroot}%{$python_sitelib}
|
2011-11-28 17:27:08 +00:00
|
|
|
|
2017-02-27 17:32:01 +00:00
|
|
|
%files %{python_files}
|
2011-11-28 17:27:08 +00:00
|
|
|
%defattr(-,root,root,-)
|
2018-06-05 10:49:41 +00:00
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE
|
2011-11-28 17:27:08 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|