
Commit d56c60e0dd
moved the packages to python3 only but didn't
fix the package names. Done now.
NOTE(dmllr): Adding more cases.
Change-Id: I4b677ad2eeaa1864ac5bc1d9cf613cb35b54a177
40 lines
1.1 KiB
Django/Jinja
40 lines
1.1 KiB
Django/Jinja
{% set pypi_name = 'XStatic-smart-table' %}
|
|
{% set upstream_version = upstream_version('1.4.13.2') %}
|
|
{% set rpm_release = '1' %}
|
|
{% set source = url_pypi() %}
|
|
|
|
|
|
Name: {{ py2name(py_versions='py3') }}
|
|
Version: {{ py2rpmversion() }}
|
|
Release: {{ py2rpmrelease() }}
|
|
Summary: smart-table %{version} (XStatic packaging standard)
|
|
License: {{ license('MIT') }}
|
|
Group: Development/Languages/Python
|
|
URL: https://opendev.org/openstack/xstatic-angular-smart-table/
|
|
Source0: {{ source }}
|
|
BuildRequires: openstack-macros
|
|
BuildRequires: {{ py3('setuptools') }}
|
|
Requires: {{ py3('XStatic') }}
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
smart-table javascript library packaged for setuptools (easy_install) / pip.
|
|
|
|
%prep
|
|
%autosetup -n {{ pypi_name }}-{{ upstream_version }}
|
|
%py_req_cleanup
|
|
|
|
%build
|
|
%{py3_build}
|
|
|
|
%install
|
|
%{py3_install}
|
|
|
|
%files
|
|
%doc README.txt
|
|
%{python3_sitelib}/xstatic
|
|
%{python3_sitelib}/XStatic_smart_table-%{version}-py?.?.egg-info
|
|
%{python3_sitelib}/XStatic_smart_table-%{version}-py?.?-nspkg.pth
|
|
|
|
%changelog
|