65ae9c1
%global with_checks 0
65ae9c1
bfe1338
%global pypi_name django-pyscss
bfe1338
bfe1338
Name:           python-%{pypi_name}
3869d55
Version:        2.0.2
ea26b2f
Release:        19%{?dist}
bfe1338
Summary:        Makes it easier to use PySCSS in Django
bfe1338
bfe1338
License:        BSD
bfe1338
URL:            https://github.com/fusionbox/django-pyscss
cda4476
Source0:        https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
cda4476
bfe1338
BuildArch:      noarch
3869d55
cda4476
%description
cda4476
A collection of tools for making it easier to use
cda4476
pyScss within Django.
cda4476
cda4476
%package -n python3-%{pypi_name}
cda4476
Summary:        Makes it easier to use PySCSS in Django - Python 3 version
bfe1338
cda4476
BuildRequires:  python3-devel
cda4476
BuildRequires:  python3-setuptools
cda4476
BuildRequires:  python3-pillow
cda4476
BuildRequires:  python3-django-compressor >= 1.3
f55c1e0
# django-discover-runner is dead upstream
f55c1e0
#BuildRequires:  python3-django-discover-runner
cda4476
BuildRequires:  python3-scss >= 1.2.0
cda4476
BuildRequires:  python3-django
cda4476
BuildRequires:  python3-mock
bfe1338
cda4476
Requires:       python3-django >= 1.4
cda4476
Requires:       python3-scss >= 1.3.4
cda4476
232156a
Obsoletes:      python2-%{pypi_name} < 2.0.2-8
232156a
Obsoletes:      python-%{pypi_name} < 2.0.2-8
232156a
cda4476
%{?python_provide:%python_provide python3-%{pypi_name}}
cda4476
cda4476
%description -n python3-%{pypi_name}
cda4476
A collection of tools for making it easier to use
cda4476
pyScss within Django.
cda4476
This package provides Python 3 build of %{pypi_name}.
cda4476
cda4476
cda4476
%prep
cda4476
%autosetup -n %{pypi_name}-%{version}
cda4476
cda4476
%build
cda4476
%py3_build
bfe1338
bfe1338
%install
cda4476
%py3_install
bfe1338
65ae9c1
%if 0%{?with_checks} > 0
bfe1338
%check
cda4476
%{__python3} setup.py test
cda4476
%endif
bfe1338
cda4476
%files -n python3-%{pypi_name}
cda4476
%license LICENSE
232156a
%doc README.rst
cda4476
%{python3_sitelib}/django_pyscss
10ed958
%{python3_sitelib}/django_pyscss-%{version}-py%{python3_version}.egg-info
cda4476
bfe1338
%changelog
ea26b2f
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.2-19
ea26b2f
- Rebuilt for Python 3.10
ea26b2f
dce7dbb
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-18
dce7dbb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
dce7dbb
8e406bb
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-17
8e406bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
8e406bb
344079a
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-16
344079a
- Rebuilt for Python 3.9
344079a
2a21ab4
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-15
2a21ab4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2a21ab4
750e06e
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-14
750e06e
- Rebuilt for Python 3.8
750e06e
e43159a
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-13
e43159a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e43159a
5a85bdc
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-12
5a85bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5a85bdc
a24eef5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-11
a24eef5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a24eef5
c7e6806
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-10
c7e6806
- Rebuilt for Python 3.7
c7e6806
d8b096a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-9
d8b096a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d8b096a
232156a
* Fri Jan 26 2018 Matthias Runge <mrunge@redhat.com> - 2.0.2-8
232156a
- Removed Python 2 subpackage for https://fedoraproject.org/wiki/Changes/Django20
232156a
ca8e759
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-7
ca8e759
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ca8e759
5432044
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
5432044
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5432044
db78ed3
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-5
db78ed3
- Rebuild for Python 3.6
db78ed3
cda4476
* Wed Aug 3 2016 Jan Beran <jberan@redhat.com> - 2.0.2-4
cda4476
- source update
cda4476
- Python 3 subpackage
cda4476
2d7bff6
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
2d7bff6
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2d7bff6
22367da
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
22367da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
22367da
3869d55
* Mon Jul 13 2015 Matthias Runge <mrunge@redhat.com> - 2.0.2-1
3869d55
- fix FTBFS and update (rhbz#1239832)
3869d55
588be2b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
588be2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
588be2b
ca3bfde
* Fri Oct 17 2014 Matthias Runge <mrunge@redhat.com> - 1.0.5-1
ca3bfde
- update to 1.0.5
ca3bfde
- fix tests and utils.py to work with Django-1.7
ca3bfde
6b73b86
* Fri Sep 26 2014 Matthias Runge <mrunge@redhat.com> - 1.0.3-1
6b73b86
- update to 1.0.3
6b73b86
84ad375
* Thu Aug 07 2014 Matthias Runge <mrunge@redhat.com> - 1.0.2-1
84ad375
- update to 1.0.2
84ad375
f142604
* Tue Jul 08 2014 Matthias Runge <mrunge@redhat.com> - 1.0.1-2
f142604
- add br python-setuptools
f142604
bfe1338
* Tue Jul 08 2014 Matthias Runge <mrunge@redhat.com> - 1.0.1-1
bfe1338
- Initial package.
cda4476
cda4476