commit 851c699b0c6a535a769531aa7911bc3e972b80d4bb968e8c3e0a1a6c4466fd63
Author: Denisart Benjamin
Date: Thu Apr 23 09:34:56 2015 +0000
Accepting request 298769 from Application:ERP:Tryton:3.6
OBS-URL: https://build.opensuse.org/request/show/298769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simpleeval?expand=0&rev=1
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/_service b/_service
new file mode 100644
index 0000000..70e2312
--- /dev/null
+++ b/_service
@@ -0,0 +1,7 @@
+
+
+ pypi.python.org
+ https
+ /packages/source/s/simpleeval/simpleeval-0.8.2.tar.gz
+
+
\ No newline at end of file
diff --git a/python-simpleeval.changes b/python-simpleeval.changes
new file mode 100644
index 0000000..0e22137
--- /dev/null
+++ b/python-simpleeval.changes
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Tue Apr 21 11:36:32 UTC 2015 - axel.braun@gmx.de
+
+- Initial build on OBS
+- version 0.8.2
diff --git a/python-simpleeval.spec b/python-simpleeval.spec
new file mode 100644
index 0000000..feb982e
--- /dev/null
+++ b/python-simpleeval.spec
@@ -0,0 +1,60 @@
+#
+# spec file for package python-simpleeval
+#
+# Copyright (c) 2015 Dr. Axel Braun
+# Copyright (c) 2015 SUSE LINUX Products 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/
+#
+
+
+%define modname simpleeval
+Name: python-%{modname}
+Version: 0.8.2
+Release: 0
+Url: https://pypi.python.org/pypi/simpleeval
+Summary: A simple, safe single expression evaluator library
+License: MIT
+Group: Development/Languages/Python
+Source: https://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: python-setuptools
+
+%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
+%py_requires
+%endif
+
+%description
+A quick single file library for easily adding evaluatable expressions into python projects. Say you want to allow a user to set an alarm volume, which could depend on the time of day, alarm level, how many previous alarms had gone off, and if there is music playing at the time.
+
+Or if you want to allow simple formulae in a web application, but don’t want to give full eval() access, or don’t want to run in javascript on the client side.
+
+%prep
+%setup -q -n %{modname}-%{version}
+rm -f %{modname}.egg-info/*.orig
+
+%build
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/tests # Don't install tests
+rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/*.exe # Remove unneeded files
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/*
+
+%changelog