Accepting request 479707 from devel:languages:python:singlespec

initial for singlespec

OBS-URL: https://build.opensuse.org/request/show/479707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lazy-object-proxy?expand=0&rev=1
This commit is contained in:
Jan Matejek
2017-03-15 15:09:55 +00:00
committed by Git OBS Bridge
commit b10616c2f0
5 changed files with 120 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

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

View File

@@ -0,0 +1,30 @@
-------------------------------------------------------------------
Mon Feb 27 14:04:16 UTC 2017 - jmatejek@suse.com
- update for singlespec
- renamed to lazy-object-proxy for PyPI consistency
- updated download url
-------------------------------------------------------------------
Mon Jul 4 16:36:47 UTC 2016 - arun@gmx.de
- update to version 1.2.2:
* Added `manylinux <https://www.python.org/dev/peps/pep-0513/>`_
wheels.
* Minor cleanup in readme.
-------------------------------------------------------------------
Sun May 15 09:47:00 UTC 2016 - tchvatal@suse.com
- Move from python2 to work with python3-astrid
-------------------------------------------------------------------
Tue Feb 23 09:56:47 UTC 2016 - bwiedemann@suse.com
- fix license string
-------------------------------------------------------------------
Wed Feb 10 14:56:16 UTC 2016 - michael@stroeder.com
- initial packaging of upstream release 1.2.1

View File

@@ -0,0 +1,63 @@
#
# spec file for package python-lazy-object-proxy
#
# 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
# 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 http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-lazy-object-proxy
Version: 1.2.2
Release: 0
Summary: Rebuild a new abstract syntax tree from Python's ast
License: BSD-2-Clause
Group: Development/Libraries/Python
Url: https://github.com/ionelmc/python-lazy-object-proxy
Source: https://files.pythonhosted.org/packages/source/l/lazy-object-proxy/lazy-object-proxy-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: python-rpm-macros
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Obsoletes: python-lazy_object_proxy < %{version}-%{release}
Provides: python-lazy_object_proxy = %{version}-%{release}
%ifpython2
Obsoletes: %{oldpython}-lazy_object_proxy < %{version}
Provides: %{oldpython}-lazy_object_proxy = %{version}
%endif
%python_subpackages
%description
A fast and thorough lazy object proxy that rebuilds a new abstract syntax tree
from Python's ast
%prep
%setup -q -n lazy-object-proxy-%{version}
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%install
%python_install
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst LICENSE README.rst docs
%{python_sitearch}/*
%changelog