Accepting request 1237649 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1237649 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typogrify?expand=0&rev=3
This commit is contained in:
commit
7168eabb78
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 12:22:56 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 2.1.0:
|
||||
* Add ability to select which filters are applied
|
||||
* Package via pyproject instead of Setuptools
|
||||
* Improve testing, linting, and CI tooling
|
||||
* Drop support for Python < 3.9
|
||||
- update the build requirements to build with pip and hatchling
|
||||
- remove executable bit of typogrify/packages/titlecase/__init__.py
|
||||
- restrict the list of packaged files to typogrify only
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 6 11:08:55 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-typogrify
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,19 +18,20 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-typogrify
|
||||
Version: 2.0.7
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
Summary: Typography related template filters for Django & Jinja2 applications
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/mintchaos/typogrify
|
||||
Source: https://files.pythonhosted.org/packages/source/t/typogrify/typogrify-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module smartypants}
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module smartypants >= 1.8.3}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-smartypants
|
||||
Requires: python-smartypants >= 1.8.3
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -41,16 +42,17 @@ typographically-improved HTML.
|
||||
|
||||
%prep
|
||||
%setup -q -n typogrify-%{version}
|
||||
# remove useless shebang
|
||||
# remove useless shebang and executable bit
|
||||
sed -i '1d' \
|
||||
typogrify/packages/titlecase/__init__.py \
|
||||
typogrify/packages/titlecase/tests.py
|
||||
chmod -x typogrify/packages/titlecase/__init__.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%check
|
||||
@ -60,7 +62,8 @@ $python -mdoctest -v typogrify/filters.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
%doc README.md
|
||||
%{python_sitelib}/typogrify-%{version}.dist-info
|
||||
%{python_sitelib}/typogrify
|
||||
|
||||
%changelog
|
||||
|
BIN
typogrify-2.0.7.tar.gz
(Stored with Git LFS)
BIN
typogrify-2.0.7.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
typogrify-2.1.0.tar.gz
Normal file
3
typogrify-2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0aa004e98032a6e6be4c9da65e7eb7150e36ca3bf508adbcda82b4d003e61ee
|
||||
size 28622
|
Loading…
Reference in New Issue
Block a user