Blame python-django-macros.spec

b503ba4
%global srcname django-macros
b503ba4
%global sum Macros for Django templates
b503ba4
%global sum_sv Makron för Djangomallar
b503ba4
b503ba4
Name:           python-%srcname
b503ba4
Version:        0.4.0
376ed4d
Release:        27%{?dist}
b503ba4
Summary:        %sum
b503ba4
Summary(sv):    %sum_sv
b503ba4
b503ba4
License:        MIT
b503ba4
URL:            https://pypi.python.org/pypi/%srcname
b503ba4
Source0:        https://files.pythonhosted.org/packages/source/d/%srcname/%srcname-%version.zip
b503ba4
b503ba4
BuildArch:      noarch
b503ba4
b503ba4
BuildRequires:  dos2unix
0f9107a
BuildRequires:  python3-devel
03e6d5d
BuildRequires:  %{py3_dist setuptools}
b503ba4
b503ba4
%description
b503ba4
Macros accepting positional and keyword arguments, and repeated block
b503ba4
tags in the django template system.  Sometimes include tags just do
b503ba4
not get the job done.  Either you have repeated code that you want to
b503ba4
keep all in the same single template, or your code needs to
b503ba4
dynamically generate and substitute in certain values, in a way that
b503ba4
the include syntax inhibits.  Whatever the case, if you are finding
b503ba4
that the built in include tag just is not working for your use case,
b503ba4
then perhaps django-macros is for you.
b503ba4
b503ba4
%description -l sv
b503ba4
Makron som accepterar positions- och nyckelordsargument, och upprepade
b503ba4
blocktaggar i djangos mallsystem.  Ibland får inte include-taggar
b503ba4
jobbet gjort.  Antingen har du upprepad kod som du vill hålla samman i
b503ba4
en mall, eller så behöver din kod dynamiskt generera och substituera
b503ba4
in vissa värden, på ett sätt som include-syntaxen förhindrar.  Oavsett
b503ba4
vilket som är fallet, om du märker att den inbyggda include-taggen
b503ba4
helt enkelt inte fungerar i ditt fall så kanske django-macros är
b503ba4
något för dig.
b503ba4
b503ba4
%package -n python3-%srcname
b503ba4
Summary:        %sum
b503ba4
Summary(sv):    %sum_sv
b503ba4
0f9107a
%?python_enable_dependency_generator
b503ba4
f38a84d
Obsoletes:      python2-%srcname < 0.4.0-4
03e6d5d
b503ba4
%{?python_provide:%python_provide python3-%srcname}
b503ba4
b503ba4
%description -n python3-%srcname
b503ba4
Macros accepting positional and keyword arguments, and repeated block
b503ba4
tags in the django template system.  Sometimes include tags just do
b503ba4
not get the job done.  Either you have repeated code that you want to
b503ba4
keep all in the same single template, or your code needs to
b503ba4
dynamically generate and substitute in certain values, in a way that
b503ba4
the include syntax inhibits.  Whatever the case, if you are finding
b503ba4
that the built in include tag just is not working for your use case,
b503ba4
then perhaps django-macros is for you.
b503ba4
b503ba4
%description -l sv -n python3-%srcname
b503ba4
Makron som accepterar positions- och nyckelordsargument, och upprepade
b503ba4
blocktaggar i djangos mallsystem.  Ibland får inte include-taggar
b503ba4
jobbet gjort.  Antingen har du upprepad kod som du vill hålla samman i
b503ba4
en mall, eller så behöver din kod dynamiskt generera och substituera
b503ba4
in vissa värden, på ett sätt som include-syntaxen förhindrar.  Oavsett
b503ba4
vilket som är fallet, om du märker att den inbyggda include-taggen
b503ba4
helt enkelt inte fungerar i ditt fall så kanske django-macros är
b503ba4
något för dig.
b503ba4
b503ba4
%prep
f38a84d
%autosetup -n %srcname-%version
b503ba4
dos2unix -- README.rst 
b503ba4
b503ba4
%build
b503ba4
%py3_build
b503ba4
b503ba4
%install
b503ba4
%py3_install
b503ba4
b503ba4
%files -n python3-%srcname
b503ba4
%doc README.rst
b503ba4
%license LICENSE
b503ba4
%python3_sitelib/macros
b503ba4
%python3_sitelib/django_macros-%version-py%python3_version.egg-info
b503ba4
b503ba4
b503ba4
%changelog
376ed4d
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-27
376ed4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
376ed4d
4bcce3e
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-26
4bcce3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
4bcce3e
ae8181e
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.4.0-25
ae8181e
- Rebuilt for Python 3.12
ae8181e
caa451b
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-24
caa451b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
caa451b
92ffdf9
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-23
92ffdf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
92ffdf9
371e479
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.4.0-22
371e479
- Rebuilt for Python 3.11
371e479
9224c9c
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-21
9224c9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
9224c9c
02c2f8e
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-20
02c2f8e
- Second attempt - Rebuilt for
02c2f8e
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
02c2f8e
c103772
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.4.0-19
c103772
- Rebuilt for Python 3.10
c103772
baf9330
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-18
baf9330
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
baf9330
3798c52
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-17
3798c52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3798c52
2575458
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-16
2575458
- Rebuilt for Python 3.9
2575458
2f056b8
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-15
2f056b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2f056b8
9fe89d8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-14
9fe89d8
- Rebuilt for Python 3.8.0rc1 (#1748018)
9fe89d8
f1fa45b
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-13
f1fa45b
- Rebuilt for Python 3.8
f1fa45b
045ff3f
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-12
045ff3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
045ff3f
4006c85
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-11
4006c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4006c85
f38a84d
* Thu Jul 19 2018 Göran Uddeborg <goeran@uddeborg.se> - 0.4.0-10
f38a84d
- Test code removed, as python-django-setuptest is no longer in Fedora.
f38a84d
ce61624
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-9
ce61624
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ce61624
71f2aae
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-8
71f2aae
- Rebuilt for Python 3.7
71f2aae
0f9107a
* Tue Feb 13 2018 Göran Uddeborg <goeran@uddeborg.se> - 0.4.0-7
0f9107a
- Remove resudal Python 2 dependency
0f9107a
- Switch to automated Python dependency generator
0f9107a
  (https://fedoraproject.org/wiki/Changes/EnablingPythonGenerators)
0f9107a
f55268d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-6
f55268d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f55268d
0bc6f33
* Sun Jan 28 2018 Göran Uddeborg <goeran@uddeborg.se> - 0.4.0-5
0bc6f33
- Adapt the test code to work with Django 2 (#1537537)
0bc6f33
03e6d5d
* Mon Jan 22 2018 Göran Uddeborg <goeran@uddeborg.se> - 0.4.0-4
03e6d5d
- Remove support for Python 2 (#1494761)
03e6d5d
- Add a README file
03e6d5d
b503ba4
* Mon Aug 21 2017 Göran Uddeborg <goeran@uddeborg.se> - 0.4.0-3
b503ba4
- Second review round:
b503ba4
- Explain that patch 0 and source 1 are needed for the test suite..
b503ba4
- Fix formatting mistakes in the SPEC file.
b503ba4
b503ba4
* Sat Aug 19 2017 Göran Uddeborg <goeran@uddeborg.se> - 0.4.0-2
b503ba4
- Improvements after review by Robert-André Mauchin:
b503ba4
- Use pyX_dist macros.
b503ba4
- Add a check section and include the necessary build requirements.
b503ba4
- Fix django.template.base.Lexer signature.
b503ba4
b503ba4
* Mon Aug 14 2017 Göran Uddeborg <goeran@uddeborg.se> - 0.4.0-1
b503ba4
- Initial RPM release