commit 32add00062c93110b416285de15681d015178bb4 Author: MSVSphere Packaging Team Date: Wed Jan 10 04:02:26 2024 +0300 import python-typogrify-2.0.7-13.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f155dd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/typogrify-2.0.7.tar.gz diff --git a/.python-typogrify.metadata b/.python-typogrify.metadata new file mode 100644 index 0000000..21a3689 --- /dev/null +++ b/.python-typogrify.metadata @@ -0,0 +1 @@ +4eed33df74c694ae953469b75012043ce5783477 SOURCES/typogrify-2.0.7.tar.gz diff --git a/SPECS/python-typogrify.spec b/SPECS/python-typogrify.spec new file mode 100644 index 0000000..5261c3e --- /dev/null +++ b/SPECS/python-typogrify.spec @@ -0,0 +1,100 @@ +%global pypi_name typogrify + +Name: python-%{pypi_name} +Version: 2.0.7 +Release: 13%{?dist} +Summary: Filters to enhance web typography, with support for Django & Jinja templates + +License: BSD +URL: https://github.com/mintchaos/typogrify +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +Typogrify provides a set of custom filters that automatically apply various +transformations to plain text in order to yield typographically-improved HTML. +While often used in conjunction with Jinja_ and Django_ template systems, the +filters can be used in any environment. + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(smartypants) >= 1.8.3 +%description -n python3-%{pypi_name} +Typogrify provides a set of custom filters that automatically apply various +transformations to plain text in order to yield typographically-improved HTML. +While often used in conjunction with Jinja_ and Django_ template systems, the +filters can be used in any environment. + + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info +# remove shebang line from the python scripts +for lib in $(find -type f -name '*.py'); do + sed -i.python -e '1{\@^#!@d}' $lib +done + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 2.0.7-13 +- Rebuilt for MSVSphere 9.3 + +* Mon Jun 13 2022 Python Maint - 2.0.7-13 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 2.0.7-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 2.0.7-11 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 2.0.7-10 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 2.0.7-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.0.7-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 2.0.7-7 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 2.0.7-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 2.0.7-4 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.0.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jun 11 2019 José Matos - 2.0.7-2 +- fix source url and summary. +- remove shebang lines from python scripts. + + +* Sat Sep 1 2018 José Matos - 2.0.7-1 +- initial package.