forked from pool/python-simpleeval
Accepting request 697505 from home:pgajdos
- version update to 0.9.8 * no upstream changelog - run the test suite - run spec cleaner - added sources https://github.com/danthedeckie/simpleeval/issues/55 + LICENCE OBS-URL: https://build.opensuse.org/request/show/697505 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simpleeval?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
b423225f25
commit
ecae861d06
21
LICENCE
Normal file
21
LICENCE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
simpleeval - Copyright (c) 2013-2017 Daniel Fairhead
|
||||||
|
|
||||||
|
(MIT Licence)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 24 13:09:14 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 0.9.8
|
||||||
|
* no upstream changelog
|
||||||
|
- run the test suite
|
||||||
|
- run spec cleaner
|
||||||
|
- added sources
|
||||||
|
https://github.com/danthedeckie/simpleeval/issues/55
|
||||||
|
+ LICENCE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 3 20:20:08 UTC 2017 - axel.braun@gmx.de
|
Wed May 3 20:20:08 UTC 2017 - axel.braun@gmx.de
|
||||||
|
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-simpleeval
|
# spec file for package python-simpleeval
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2015 Dr. Axel Braun
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -13,24 +13,28 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define modname simpleeval
|
%define modname simpleeval
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 0.8.2
|
Version: 0.9.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://pypi.python.org/pypi/simpleeval
|
|
||||||
Summary: A simple, safe single expression evaluator library
|
Summary: A simple, safe single expression evaluator library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz
|
URL: https://github.com/danthedeckie/simpleeval
|
||||||
BuildRoot: %{_tmppath}/%{modname}-%{version}-build
|
Source0: https://files.pythonhosted.org/packages/source/s/simpleeval/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
# https://github.com/danthedeckie/simpleeval/issues/55
|
||||||
|
Source1: https://raw.githubusercontent.com/danthedeckie/simpleeval/master/LICENCE
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -45,6 +49,7 @@ to give full eval() access, or don’t want to run in javascript on the client s
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
rm -f %{modname}.egg-info/*.orig
|
rm -f %{modname}.egg-info/*.orig
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -54,9 +59,12 @@ rm -f %{modname}.egg-info/*.orig
|
|||||||
rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/tests # Don't install tests
|
rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/tests # Don't install tests
|
||||||
rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/*.exe # Remove unneeded files
|
rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/*.exe # Remove unneeded files
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
%license LICENCE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:828e79056ae2083ff6091dd8d33855974300241c3dd7d4a173faf901a17c7b09
|
|
||||||
size 8282
|
|
3
simpleeval-0.9.8.tar.gz
Normal file
3
simpleeval-0.9.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:85e2ce60869790053fa4d6cacea05a38228c6678ffadfa5db59aa2f4e4e2df01
|
||||||
|
size 24554
|
Reference in New Issue
Block a user