forked from pool/python-simpleeval
- Update to 0.9.10:
* minor fixes * support for python 3.8 - Run fdupes - Remove not really needed commands from build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simpleeval?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
ecae861d06
commit
ba71902ee9
21
LICENCE
21
LICENCE
@@ -1,21 +0,0 @@
|
||||
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,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 10 10:40:40 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.9.10:
|
||||
* minor fixes
|
||||
* support for python 3.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 4 08:47:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Run fdupes
|
||||
- Remove not really needed commands from build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 24 13:09:14 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-simpleeval
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2015 Dr. Axel Braun
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -20,16 +20,14 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define modname simpleeval
|
||||
Name: python-%{modname}
|
||||
Version: 0.9.8
|
||||
Version: 0.9.10
|
||||
Release: 0
|
||||
Summary: A simple, safe single expression evaluator library
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/danthedeckie/simpleeval
|
||||
Source0: https://files.pythonhosted.org/packages/source/s/simpleeval/%{modname}-%{version}.tar.gz
|
||||
# https://github.com/danthedeckie/simpleeval/issues/55
|
||||
Source1: https://raw.githubusercontent.com/danthedeckie/simpleeval/master/LICENCE
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
@@ -48,16 +46,13 @@ to give full eval() access, or don’t want to run in javascript on the client s
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
rm -f %{modname}.egg-info/*.orig
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/tests # Don't install tests
|
||||
rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/*.exe # Remove unneeded files
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
3
simpleeval-0.9.10.tar.gz
Normal file
3
simpleeval-0.9.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea
|
||||
size 26687
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:85e2ce60869790053fa4d6cacea05a38228c6678ffadfa5db59aa2f4e4e2df01
|
||||
size 24554
|
Reference in New Issue
Block a user