15
0
forked from pool/python-param

Accepting request 517421 from home:TheBlackCat:branches:devel:languages:python

- Implement single-spec version
- Update to version 1.5.1

OBS-URL: https://build.opensuse.org/request/show/517421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=6
This commit is contained in:
Todd R
2017-08-17 15:51:52 +00:00
committed by Git OBS Bridge
parent dca89c6ee1
commit a00832efd3
4 changed files with 32 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2060623885d413238292f7b86b876ac4de0c5f5d9f4c76c021dc9bef043e73c3
size 50990

3
param-1.5.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e2d706819f725d8b6f82103e1576006d342366c34228f0b303861ea2abb9bd9
size 52207

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Aug 17 15:39:13 UTC 2017 - toddrme2178@gmail.com
- Implement single-spec version
- Update to version 1.5.1
* Fixed error messages for ClassSelector with tuple of classes
* Added get and contains methods for ParamOverrides
- Update to version 1.5.0
* Added Range, Color, and Date parameters
* Improved ObjectSelector error messages
* Minor bugfixes
-------------------------------------------------------------------
Tue Oct 25 20:58:02 UTC 2016 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-param
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@@ -16,21 +16,22 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-param
Version: 1.4.2
Version: 1.5.1
Release: 0
Summary: Declarative Python programming using Parameters
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://ioam.github.com/param/
Source: https://files.pythonhosted.org/packages/source/p/param/param-%{version}.tar.gz
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
Recommends: python-jupyter_ipython
%python_subpackages
%description
Param is a library providing Parameters: Python attributes extended to
@@ -47,16 +48,17 @@ as part of other projects.
%setup -q -n param-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%{python_sitelib}/param/
%{python_sitelib}/numbergen/
%{python_sitelib}/param-%{version}-py*.egg-info
%{python_sitearch}/param/
%{python_sitearch}/numbergen/
%{python_sitearch}/param-%{version}-py*.egg-info
%changelog