From b10616c2f005bc86b24e71fe2126e1e2a819c30752f2007df6baa40ea96d47c9 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 15 Mar 2017 15:09:55 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + lazy-object-proxy-1.2.2.tar.gz | 3 ++ python-lazy-object-proxy.changes | 30 +++++++++++++++ python-lazy-object-proxy.spec | 63 ++++++++++++++++++++++++++++++++ 5 files changed, 120 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 lazy-object-proxy-1.2.2.tar.gz create mode 100644 python-lazy-object-proxy.changes create mode 100644 python-lazy-object-proxy.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/lazy-object-proxy-1.2.2.tar.gz b/lazy-object-proxy-1.2.2.tar.gz new file mode 100644 index 0000000..661a1a3 --- /dev/null +++ b/lazy-object-proxy-1.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddd4cf1c74279c349cb7b9c54a2efa5105854f57de5f2d35829ee93631564268 +size 31608 diff --git a/python-lazy-object-proxy.changes b/python-lazy-object-proxy.changes new file mode 100644 index 0000000..6a26183 --- /dev/null +++ b/python-lazy-object-proxy.changes @@ -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 `_ + 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 + diff --git a/python-lazy-object-proxy.spec b/python-lazy-object-proxy.spec new file mode 100644 index 0000000..42112ec --- /dev/null +++ b/python-lazy-object-proxy.spec @@ -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