File python-XStatic-JS-Yaml.spec of Package python-XStatic-JS-Yaml

#
# spec file for package python-XStatic-JS-Yaml
#
# 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/
#


%global sname XStatic-JS-Yaml
Name:           python-XStatic-JS-Yaml
Version:        3.8.1.0
Release:        0
Summary:        JS-Yaml %{version} (XStatic packaging standard)
License:        MIT
Group:          Development/Languages/Python
URL:            https://git.openstack.org/cgit/openstack/xstatic-js-yaml/
Source0:        https://files.pythonhosted.org/packages/source/X/%{sname}/%{sname}-%{version}.tar.gz
BuildRequires:  openstack-macros
BuildRequires:  python2-setuptools
BuildRequires:  python3-setuptools
Requires:       python-XStatic
BuildArch:      noarch
%python_subpackages

%description
JS-Yaml javascript library packaged for setuptools (easy_install) / pip.

%prep
%autosetup -n %{sname}-%{version}
%py_req_cleanup

%build
%{python_build}

%install
%{python_install}

%files %{python_files}
%doc README.txt
%{python_sitelib}/xstatic
%{python_sitelib}/XStatic_JS_Yaml-%{version}-py?.?.egg-info
%{python_sitelib}/XStatic_JS_Yaml-%{version}-py?.?-nspkg.pth

%changelog
openSUSE Build Service is sponsored by