1
0
python-girder-client/python-girder-client.spec
Todd R 3b9c78ed6e Accepting request 773478 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to 3.0.8
  * Add lockfiles for ancillary npm packages
- Update to 3.0.7
  * Add filter for local plugins
  * Fix code style and improve build efficiency
  * Fix incorrect list.extend usage
  * Fix invalid python2 syntax
  * Update girder build to remove old node_modules
  * Rename the Ansible variable girder_package_path and default it to empty
  * Clarify girder_version Ansible parameter docs
  * In Ansible, remove "girder_pip_extra_args" and make "girder_version"
  * Update molecule dependencies
  * Ensure core swagger client does not put passwords in URL
  * Fix an issue with publishing npm packages

OBS-URL: https://build.opensuse.org/request/show/773478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-girder-client?expand=0&rev=8
2020-02-11 15:23:44 +00:00

70 lines
2.2 KiB
RPMSpec

#
# spec file for package python-girder-client
#
# Copyright (c) 2020 SUSE LLC
#
# 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-%{**}}
Name: python-girder-client
Version: 3.0.8
Release: 0
Summary: Python Girder client
License: Apache-2.0
URL: https://girder.readthedocs.org/en/latest/python-client.html
Source: https://files.pythonhosted.org/packages/source/g/girder-client/girder-client-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click >= 6.7
Requires: python-diskcache
Requires: python-requests >= 2.4.2
Requires: python-requests-toolbelt
Requires: python-six
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module click >= 6.7}
BuildRequires: %{python_module diskcache}
BuildRequires: %{python_module requests >= 2.4.2}
BuildRequires: %{python_module requests-toolbelt}
BuildRequires: %{python_module six}
# /SECTION
%python_subpackages
%description
Girder is a web-based data management platform.
This package provides the client for interacting
with Girder servers
%prep
%setup -q -n girder-client-%{version}
sed -i -e '/^#!\//, 1d' girder_client/*.py
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst
%python3_only %{_bindir}/girder-cli
%python3_only %{_bindir}/girder-client
%{python_sitelib}/*
%changelog