diff --git a/.python-django-pyscss.metadata b/.python-django-pyscss.metadata new file mode 100644 index 0000000..9c85e01 --- /dev/null +++ b/.python-django-pyscss.metadata @@ -0,0 +1 @@ +2e3fb77afe151120563992d8cdf47cf3171cae82 SOURCES/django-pyscss-2.0.3.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-django-pyscss.spec b/SPECS/python-django-pyscss.spec new file mode 100644 index 0000000..70db700 --- /dev/null +++ b/SPECS/python-django-pyscss.spec @@ -0,0 +1,150 @@ +%global pypi_name django-pyscss +%global desc %{expand: \ +A collection of tools for making it easier to use pyScss within Django.} + +%global with_checks 0 + +Name: python-%{pypi_name} +Version: 2.0.3 +Release: 1%{?dist} +Summary: Makes it easier to use PySCSS in Django + +License: BSD +URL: https://github.com/fusionbox/django-pyscss +Source0: %{pypi_source} + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pytest + +%description %{desc} + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} +%{desc} + +%prep +%autosetup -n %{pypi_name}-%{version} + +# Use the standard library instead of a backport +sed -i -e 's/^import mock/from unittest import mock/' \ + -e 's/^from mock import /from unittest.mock import /' \ + tests/*.py + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files django_pyscss + +%if 0%{?with_checks} > 0 +%check +%pytest -v +%endif + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst + +%changelog +* Thu Feb 08 2024 Joel Capitao - 2.0.3-1 +- Update to 2.0.3 +- Remove obsoletes +- Use pypi_source macro + +* Fri Jul 22 2022 Fedora Release Engineering - 2.0.2-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 14 2022 Python Maint - 2.0.2-22 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 2.0.2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.0.2-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 2.0.2-19 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 2.0.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.0.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 2.0.2-16 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Aug 19 2019 Miro Hrončok - 2.0.2-14 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.0.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 2.0.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 2.0.2-10 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Matthias Runge - 2.0.2-8 +- Removed Python 2 subpackage for https://fedoraproject.org/wiki/Changes/Django20 + +* Thu Jul 27 2017 Fedora Release Engineering - 2.0.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.0.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 2.0.2-5 +- Rebuild for Python 3.6 + +* Wed Aug 3 2016 Jan Beran - 2.0.2-4 +- source update +- Python 3 subpackage + +* Tue Jul 19 2016 Fedora Release Engineering - 2.0.2-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 2.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Jul 13 2015 Matthias Runge - 2.0.2-1 +- fix FTBFS and update (rhbz#1239832) + +* Thu Jun 18 2015 Fedora Release Engineering - 1.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Oct 17 2014 Matthias Runge - 1.0.5-1 +- update to 1.0.5 +- fix tests and utils.py to work with Django-1.7 + +* Fri Sep 26 2014 Matthias Runge - 1.0.3-1 +- update to 1.0.3 + +* Thu Aug 07 2014 Matthias Runge - 1.0.2-1 +- update to 1.0.2 + +* Tue Jul 08 2014 Matthias Runge - 1.0.1-2 +- add br python-setuptools + +* Tue Jul 08 2014 Matthias Runge - 1.0.1-1 +- Initial package. + +