Accepting request 460255 from devel:languages:python

first batch of singlespec packages

OBS-URL: https://build.opensuse.org/request/show/460255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2017-02-27 17:32:01 +00:00 committed by Git OBS Bridge
parent ba218aff4f
commit bf851b47e7
6 changed files with 46 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6501963c725fc2554dabfece8ae9a8fb5e149c0ac0a42fd2b02c5c1c57fc114
size 192212

3
py-1.4.32.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4b89fd1ff1162375115608d01f77c38cca1d0f28f37fd718005e19b28be41a7
size 598861

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# spec file for package python-py-doc
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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,8 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-py-doc
Version: 1.4.31
Version: 1.4.32
Release: 0
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT
@ -25,13 +26,10 @@ Group: Development/Languages/Python
Url: http://pylib.org
Source: https://pypi.io/packages/source/p/py/py-%{version}.tar.gz
# Documentation requirements:
BuildRequires: python-Sphinx
BuildRequires: python3-Sphinx
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
Provides: %{python_module py-doc = %{version}}
%description
The py lib is a Python development support library featuring

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Feb 23 14:56:48 UTC 2017 - jmatejek@suse.com
- update to 1.4.32
- fix issue70: added ability to copy all stat info in py.path.local.copy.
- make TerminalWriter.fullwidth a property. This results in the correct
value when the terminal gets resized.
- update supported html tags to include recent additions.
Thanks Denis Afonso for the PR.
- Remove internal code in ``Source.compile`` meant to support earlier Python 3 versions that produced the side effect
of leaving ``None`` in ``sys.modules`` when called (see pytest-dev/pytest#2103).
Thanks Bruno Oliveira for the PR.
-------------------------------------------------------------------
Wed Oct 5 14:47:53 UTC 2016 - jmatejek@suse.com
- update for singlespec
-------------------------------------------------------------------
Sat Sep 3 18:33:49 UTC 2016 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-py
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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,22 +16,22 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-py
Version: 1.4.31
Version: 1.4.32
Release: 0
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT
Group: Development/Languages/Python
Url: https://pylib.readthedocs.io
Source: https://pypi.io/packages/source/p/py/py-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%python_subpackages
%description
The py lib is a Python development support library featuring
@ -43,18 +43,19 @@ the following tools and modules:
* py.code: dynamic code generation and introspection
* py.path: uniform local and svn path objects
%prep
%setup -q -n py-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.txt
%doc LICENSE README.rst
%{python_sitelib}/*
%changelog