| 
									
										
										
										
											2018-11-05 20:59:42 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package python-shijian
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2019-06-03 18:35:39 +00:00
										 |  |  | # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
					
						
							| 
									
										
										
										
											2018-11-05 20:59:42 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # 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 https://bugs.opensuse.org/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
					
						
							| 
									
										
										
										
											2019-12-06 19:35:33 +00:00
										 |  |  | %define         skip_python2 1
 | 
					
						
							| 
									
										
										
										
											2018-11-05 20:59:42 +00:00
										 |  |  | Name:           python-shijian
 | 
					
						
							|  |  |  | Version:        2018.6.2.1644
 | 
					
						
							|  |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2018-11-11 17:50:42 +00:00
										 |  |  | Summary:        Python utility functions relating to time and filenames
 | 
					
						
							| 
									
										
										
										
											2018-11-05 20:59:42 +00:00
										 |  |  | License:        GPL-3.0-only
 | 
					
						
							|  |  |  | Group:          Development/Languages/Python
 | 
					
						
							|  |  |  | Url:            https://github.com/wdbm/shijian
 | 
					
						
							|  |  |  | Source0:        https://files.pythonhosted.org/packages/source/s/shijian/shijian-%{version}.tar.gz
 | 
					
						
							|  |  |  | Source100:      python-shijian-rpmlintrc
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module setuptools}
 | 
					
						
							|  |  |  | BuildRequires:  fdupes
 | 
					
						
							|  |  |  | BuildRequires:  python-rpm-macros
 | 
					
						
							|  |  |  | # SECTION test requirements
 | 
					
						
							| 
									
										
										
										
											2019-06-03 18:35:39 +00:00
										 |  |  | BuildRequires:  %{python_module ipywidgets}
 | 
					
						
							| 
									
										
										
										
											2018-11-05 20:59:42 +00:00
										 |  |  | BuildRequires:  %{python_module matplotlib}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module numpy}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module pandas}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module python-dateutil}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module scikit-learn}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module scipy}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module seaborn}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module technicolor}
 | 
					
						
							|  |  |  | # /SECTION
 | 
					
						
							|  |  |  | Requires:       python-matplotlib
 | 
					
						
							|  |  |  | Requires:       python-numpy
 | 
					
						
							|  |  |  | Requires:       python-pandas
 | 
					
						
							|  |  |  | Requires:       python-python-dateutil
 | 
					
						
							|  |  |  | Requires:       python-scikit-learn
 | 
					
						
							|  |  |  | Requires:       python-scipy
 | 
					
						
							|  |  |  | Requires:       python-seaborn
 | 
					
						
							|  |  |  | Requires:       python-technicolor
 | 
					
						
							|  |  |  | %ifpython2
 | 
					
						
							|  |  |  | Requires:       python-subprocess32
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2019-06-03 18:35:39 +00:00
										 |  |  | Recommends:     python-ipywidgets
 | 
					
						
							| 
									
										
										
										
											2018-11-05 20:59:42 +00:00
										 |  |  | Recommends:     python-pyprel
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %python_subpackages
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2018-11-11 17:50:42 +00:00
										 |  |  | A Python module with a number of utility functions for formatting
 | 
					
						
							|  |  |  | timestamps, counting time, and deriving non-overlapping filenames or
 | 
					
						
							|  |  |  | sequences.
 | 
					
						
							| 
									
										
										
										
											2018-11-05 20:59:42 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							|  |  |  | %setup -q -n shijian-%{version}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							|  |  |  | %python_build
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | %python_install
 | 
					
						
							|  |  |  | %python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files %{python_files}
 | 
					
						
							|  |  |  | %doc README.md
 | 
					
						
							|  |  |  | %license LICENSE
 | 
					
						
							|  |  |  | %python3_only %{_bindir}/shijian
 | 
					
						
							|  |  |  | %{python_sitelib}/*
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |