2013-08-23 07:22:35 +00:00
|
|
|
%global pypi_name lesscpy
|
|
|
|
|
2018-06-12 09:50:25 +00:00
|
|
|
%if 0%{?rhel} > 7
|
|
|
|
# Disable python2 build by default
|
|
|
|
%endif
|
|
|
|
|
2013-08-23 07:22:35 +00:00
|
|
|
Name: python-%{pypi_name}
|
2020-02-27 20:21:21 +00:00
|
|
|
Version: 0.14.0
|
2023-07-21 11:02:51 +00:00
|
|
|
Release: 13%{?dist}
|
2013-08-23 07:22:35 +00:00
|
|
|
Summary: Lesscss compiler
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/robotis/lesscpy
|
|
|
|
Source0: https://pypi.python.org/packages/source/l/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
2018-06-12 11:46:56 +00:00
|
|
|
|
2013-08-23 07:22:35 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2017-08-19 13:41:21 +00:00
|
|
|
%global _description\
|
|
|
|
A compiler written in python 3 for the lesscss language. For those of us not\
|
|
|
|
willing/able to have node.js installed in our environment. Not all features\
|
|
|
|
of lesscss are supported (yet). Some features wil probably never be\
|
|
|
|
supported (JavaScript evaluation).
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
2013-08-23 07:22:35 +00:00
|
|
|
|
|
|
|
%package -n python3-lesscpy
|
2018-06-12 11:08:19 +00:00
|
|
|
Summary: %summary
|
2013-08-23 07:22:35 +00:00
|
|
|
Requires: python3-ply
|
2018-06-12 11:46:56 +00:00
|
|
|
Requires: python3-six
|
2013-08-23 07:22:35 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-ply
|
2021-02-03 15:33:54 +00:00
|
|
|
BuildRequires: python3-pytest
|
2018-06-12 11:46:56 +00:00
|
|
|
BuildRequires: python3-six
|
2018-06-12 11:07:05 +00:00
|
|
|
%{?python_provide:%python_provide python3-lesscpy}
|
|
|
|
|
2013-08-23 07:22:35 +00:00
|
|
|
%description -n python3-lesscpy
|
|
|
|
A compiler written in python 3 for the lesscss language. For those of us not
|
|
|
|
willing/able to have node.js installed in our environment. Not all features
|
|
|
|
of lesscss are supported (yet). Some features wil probably never be
|
|
|
|
supported (JavaScript evaluation).
|
|
|
|
|
|
|
|
%prep
|
2018-06-12 11:46:56 +00:00
|
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
2013-08-23 07:22:35 +00:00
|
|
|
|
|
|
|
%build
|
2018-06-12 11:05:58 +00:00
|
|
|
|
2018-06-12 09:50:25 +00:00
|
|
|
%py3_build
|
2013-08-23 07:22:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2018-06-12 10:20:24 +00:00
|
|
|
|
2018-06-12 09:50:25 +00:00
|
|
|
%py3_install
|
2018-06-12 10:20:24 +00:00
|
|
|
# link for backwards compatibility. consider removal in Fedora 30+
|
|
|
|
ln -s ./lesscpy %{buildroot}/%{_bindir}/py3-lesscpy
|
2013-08-23 07:22:35 +00:00
|
|
|
|
2013-08-29 07:21:14 +00:00
|
|
|
|
2018-06-12 11:46:56 +00:00
|
|
|
%check
|
2021-02-03 15:33:54 +00:00
|
|
|
%pytest
|
2013-08-23 07:22:35 +00:00
|
|
|
|
2018-06-12 09:50:25 +00:00
|
|
|
|
2013-08-23 07:22:35 +00:00
|
|
|
%files -n python3-lesscpy
|
|
|
|
%doc LICENSE
|
2018-06-12 11:05:58 +00:00
|
|
|
%{_bindir}/lesscpy
|
2013-08-29 07:21:14 +00:00
|
|
|
%{_bindir}/py3-lesscpy
|
2013-08-23 07:22:35 +00:00
|
|
|
%{python3_sitelib}/%{pypi_name}
|
|
|
|
%{python3_sitelib}/%{pypi_name}*.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-07-21 11:02:51 +00:00
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-06-13 20:52:21 +00:00
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.14.0-12
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
2023-01-20 14:23:50 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-22 19:44:03 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 15:11:55 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.14.0-9
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-01-21 13:11:10 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 07:14:29 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-04 18:42:08 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.14.0-6
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-02-03 15:33:54 +00:00
|
|
|
* Wed Feb 03 2021 Christian Heimes <cheimes@redhat.com> - 0.14.0-5
|
|
|
|
- Check with pytest instead of nose
|
|
|
|
- Remove build dependency on coverage
|
|
|
|
|
2021-01-27 11:28:48 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 01:54:22 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-26 01:22:54 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-2
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-02-27 20:21:21 +00:00
|
|
|
* Mon Feb 24 2020 Thomas Andrejak <thomas.andrejak@gmail.com> - 0.14.0-1
|
|
|
|
- Bump version 0.14.0 (Fix #1792982)
|
|
|
|
|
2020-01-30 13:06:51 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-03 12:17:20 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-12
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 08:43:43 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-11
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 14:19:08 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-02 07:33:52 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-17 21:12:38 +00:00
|
|
|
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.13.0-8
|
|
|
|
- Subpackage python2-lesscpy has been removed
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
2018-07-16 14:20:14 +00:00
|
|
|
* Mon Jul 16 2018 Marcel Plch <mplch@redhat.com> - 0.13.0-7
|
|
|
|
- Remove the unused flake8 build dependency
|
|
|
|
|
2018-07-14 00:48:54 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 09:07:28 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-5
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-06-13 13:43:52 +00:00
|
|
|
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-4
|
|
|
|
- Add explicit conflicts
|
|
|
|
|
2018-06-12 16:14:45 +00:00
|
|
|
* Tue Jun 12 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-3
|
|
|
|
- General spec cleanup
|
|
|
|
- Add missing dependency on six
|
|
|
|
- Run the tests
|
|
|
|
|
2018-06-12 10:20:24 +00:00
|
|
|
* Tue Jun 12 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-2
|
|
|
|
- /usr/bin/lesscpy is Python 3
|
|
|
|
|
2018-06-11 10:08:15 +00:00
|
|
|
* Mon Jun 11 2018 Christian Heimes <cheimes@redhat.com> - 0.13.0-1
|
|
|
|
- New upstream release 0.13.0, resolves rhbz#1584773
|
|
|
|
|
2018-02-09 08:41:06 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-25 22:15:13 +00:00
|
|
|
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.10.1-12
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2017-08-19 13:41:21 +00:00
|
|
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.10.1-11
|
|
|
|
- Python 2 binary package renamed to python2-lesscpy
|
|
|
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
|
|
2017-07-27 10:47:06 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 09:27:57 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-19 17:20:37 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.10.1-8
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-07-19 10:17:59 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-7
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 20:03:16 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 16:17:22 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-18 19:48:13 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 21:10:01 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-16 09:12:41 +00:00
|
|
|
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.10.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
2014-02-13 13:22:48 +00:00
|
|
|
* Tue Feb 11 2014 Matthias Runge <mrunge@redhat.com> - 0.10.1-1
|
|
|
|
- update to 0.10.1
|
|
|
|
|
2013-08-29 07:21:14 +00:00
|
|
|
* Thu Aug 29 2013 Matthias Runge <mrunge@redhat.com> - 0.9j-3
|
|
|
|
- use python instead of python3 in python2 package
|
|
|
|
|
2013-08-23 07:22:35 +00:00
|
|
|
* Wed Aug 21 2013 Matthias Runge <mrunge@redhat.com> - 0.9j-2
|
|
|
|
- add br python-ply
|
|
|
|
|
|
|
|
* Mon Jul 29 2013 Matthias Runge <mrunge@redhat.com> - 0.9j-1
|
|
|
|
- Initial package.
|