|
|
2671fc |
# Filter the _speedups.so provides that otherwise comes into the provides
|
|
|
2671fc |
%global __provides_exclude_from ^(%{python3_sitearch}/.*\\.so)$
|
|
|
2671fc |
|
|
|
2671fc |
%global pypi_name pyScss
|
|
|
2671fc |
%global sname pyscss
|
|
|
2671fc |
# the package name is still python-scss
|
|
|
2671fc |
%global pname scss
|
|
|
2671fc |
|
|
|
2671fc |
|
|
|
2671fc |
Name: python-scss
|
|
|
2671fc |
Version: 1.3.7
|
|
|
2671fc |
Release: 4%{?dist}
|
|
|
2671fc |
Summary: A Scss compiler for Python
|
|
|
2671fc |
|
|
|
2671fc |
License: MIT
|
|
|
2671fc |
URL: https://github.com/Kronuz/pyScss
|
|
|
2671fc |
#Source0: https://github.com/Kronuz/pyScss/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
|
|
2671fc |
# get source file with spectool -g python-scss.spec
|
|
|
2671fc |
Source0: https://github.com/Kronuz/pyScss/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
2671fc |
|
|
|
2671fc |
BuildRequires: make
|
|
|
2671fc |
BuildRequires: pcre-devel
|
|
|
2671fc |
BuildRequires: gcc
|
|
|
2671fc |
|
|
|
2671fc |
%description
|
|
|
2671fc |
A Scss compiler for Python
|
|
|
2671fc |
|
|
|
2671fc |
%package -n python3-%{pname}
|
|
|
2671fc |
Summary: A Scss compiler for Python
|
|
|
2671fc |
BuildRequires: python3-devel
|
|
|
2671fc |
BuildRequires: python3-setuptools
|
|
|
2671fc |
BuildRequires: python3-six
|
|
|
2671fc |
BuildRequires: python3-sphinx
|
|
|
2671fc |
Requires: python3-six
|
|
|
2671fc |
Requires: python3-setuptools
|
|
|
2671fc |
|
|
|
2671fc |
%{?python_provide:%python_provide python3-%{pname}}
|
|
|
2671fc |
|
|
|
2671fc |
%description -n python3-%{pname}
|
|
|
2671fc |
A Scss compiler for Python
|
|
|
2671fc |
|
|
|
2671fc |
%prep
|
|
|
2671fc |
%autosetup -n %{pypi_name}-%{version}
|
|
|
2671fc |
# Change shebang according to Python version
|
|
|
2671fc |
|
|
|
2671fc |
# Fix shebangs
|
|
|
2671fc |
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" .
|
|
|
2671fc |
|
|
|
2671fc |
%build
|
|
|
2671fc |
%py3_build
|
|
|
2671fc |
# build documentationx
|
|
|
2671fc |
cd docs
|
|
|
2671fc |
make SPHINXBUILD=sphinx-build-3 man
|
|
|
2671fc |
|
|
|
2671fc |
%install
|
|
|
2671fc |
%py3_install
|
|
|
2671fc |
chmod +x %{buildroot}%{python3_sitearch}/scss/tool.py
|
|
|
2671fc |
|
|
|
2671fc |
# install man page
|
|
|
2671fc |
mkdir -p %{buildroot}%{_mandir}/man1/
|
|
|
2671fc |
cp -ar docs/_build/man/pyscss.1 %{buildroot}%{_mandir}/man1/pyscss.1
|
|
|
2671fc |
|
|
|
2671fc |
|
|
|
2671fc |
%files -n python3-%{pname}
|
|
|
2671fc |
%doc DESCRIPTION README.rst
|
|
|
2671fc |
%license LICENSE
|
|
|
2671fc |
%{python3_sitearch}/*
|
|
|
2671fc |
%{_bindir}/pyscss
|
|
|
2671fc |
%{_bindir}/less2scss
|
|
|
2671fc |
%{_mandir}/man1/pyscss.1.gz
|
|
|
2671fc |
|
|
|
2671fc |
|
|
|
2671fc |
%changelog
|
|
|
2671fc |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-4
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-3
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.7-2
|
|
|
2671fc |
- Rebuilt for Python 3.9
|
|
|
2671fc |
|
|
|
2671fc |
* Mon Apr 20 2020 Matthias Runge <mrunge@redhat.com> - 1.3.7-1
|
|
|
2671fc |
- rebase to 1.3.7
|
|
|
2671fc |
|
|
|
2671fc |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-10
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-9
|
|
|
2671fc |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
2671fc |
|
|
|
2671fc |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-8
|
|
|
2671fc |
- Rebuilt for Python 3.8
|
|
|
2671fc |
|
|
|
2671fc |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-7
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-6
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Tue Jan 22 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-5
|
|
|
2671fc |
- Subpackage python2-scss has been removed
|
|
|
2671fc |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
2671fc |
|
|
|
2671fc |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-4
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-3
|
|
|
2671fc |
- Rebuilt for Python 3.7
|
|
|
2671fc |
|
|
|
2671fc |
* Mon Mar 19 2018 Jan Beran
|
|
|
2671fc |
- Fix of python3-scss requires both Python 2 and Python 3 (rhbz #1546811)
|
|
|
2671fc |
|
|
|
2671fc |
* Wed Feb 21 2018 Matthias Runge <mrunge@redhat.com> - 1.3.5-1
|
|
|
2671fc |
- update to 1.3.5
|
|
|
2671fc |
- add gcc to buildrequires
|
|
|
2671fc |
|
|
|
2671fc |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-12
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.4-11
|
|
|
2671fc |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
2671fc |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
2671fc |
|
|
|
2671fc |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-10
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-9
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-8
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.3.4-7
|
|
|
2671fc |
- Rebuild for Python 3.6
|
|
|
2671fc |
|
|
|
2671fc |
* Fri Nov 25 2016 Matthias Runge <mrunge@redhat.com> - 1.3.4-6
|
|
|
2671fc |
- add requires: python-pathlib (rhbz#1299228)
|
|
|
2671fc |
|
|
|
2671fc |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-5
|
|
|
2671fc |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
2671fc |
|
|
|
2671fc |
* Fri Jul 1 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 1.3.4-4
|
|
|
2671fc |
- Drop incorrect provides
|
|
|
2671fc |
|
|
|
2671fc |
* Fri Jul 01 2016 Matthias Runge <mrunge@redhat.com> - 1.3.4-3
|
|
|
2671fc |
- fix provides/package names
|
|
|
2671fc |
|
|
|
2671fc |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-2
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Mon Jul 13 2015 Matthias Runge <mrunge@redhat.com> - 1.3.4-1
|
|
|
2671fc |
- update to 1.3.4, requirement for fix FTBFS for python-django-pyscss
|
|
|
2671fc |
(rhbz#1239832)
|
|
|
2671fc |
|
|
|
2671fc |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Tue Oct 07 2014 Matthias Runge <mrunge@redhat.com> - 1.2.1-1
|
|
|
2671fc |
- update to 1.2.1 (rhbz#1148966)
|
|
|
2671fc |
|
|
|
2671fc |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-5
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
|
|
2671fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
2671fc |
|
|
|
2671fc |
* Tue Feb 25 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 1.2.0-3
|
|
|
2671fc |
- Require python-setuptools as thats needed for the binary to work
|
|
|
2671fc |
|
|
|
2671fc |
* Wed Nov 06 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.2.0-2
|
|
|
2671fc |
- Buildrequire set to python2-devel
|
|
|
2671fc |
- Added buildrequire pcre-devel
|
|
|
2671fc |
- Changed URL to Source
|
|
|
2671fc |
- Added -a to cp to retain timestamp
|
|
|
2671fc |
|
|
|
2671fc |
* Thu Oct 17 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.2.0-1
|
|
|
2671fc |
- Initial packaging
|
|
|
2671fc |
|