forked from pool/python-pscript
- Update to 0.7.0:
* Add ability to reduce overloading of add, mul, equals and truthy OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pscript?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
3a863a0080
commit
c5b42dc650
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pscript
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -18,20 +18,20 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pscript
|
||||
Version: 0.6.2
|
||||
Version: 0.7.0
|
||||
Release: 0
|
||||
Summary: Python to JavaScript compiler
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pscript.readthedocs.io
|
||||
Url: https://github.com/flexxui/pscript
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pscript/pscript-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module invoke}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: python-faulthandler
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -51,10 +51,9 @@ of Python that this compiler supports.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
# Missing files for tests
|
||||
# See: https://github.com/flexxui/pscript/pull/35
|
||||
# %%check
|
||||
# %%python_expand invoke-%%{$python_bin_suffix} test --unit;
|
||||
%check
|
||||
# the tests actually do not invoke themselves
|
||||
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} invoke-%%{$python_bin_suffix} test --unit
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Reference in New Issue
Block a user