Accepting request 848853 from home:mcepl:work
Reenabling the package in d:l:p (for Pelican). OBS-URL: https://build.opensuse.org/request/show/848853 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typogrify?expand=0&rev=1
This commit is contained in:
commit
029cf7e84b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
39
python-typogrify.changes
Normal file
39
python-typogrify.changes
Normal file
@ -0,0 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 16 10:32:21 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Enable tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 8 16:58:45 UTC 2017 - benoit.monin@gmx.fr
|
||||
|
||||
- convert the package to singlespec
|
||||
- call fdupes to fix duplicated files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 23 16:55:08 UTC 2014 - benoit.monin@gmx.fr
|
||||
|
||||
- update to version 2.0.7:
|
||||
* 2.0.4: moving titlecase into the project
|
||||
* 2.0.2, 2.0.3: adding support for custom ignore tags
|
||||
- remove useless shebang on python files
|
||||
- add package documentation
|
||||
- add the requires as buildrequires to guarantee they are available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 18:02:06 UTC 2014 - benoit.monin@gmx.fr
|
||||
|
||||
- update to upstream version 2.0.1:
|
||||
* add Python 3 compatibility
|
||||
* rectify deprecated function calls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 27 17:13:54 UTC 2013 - benoit.monin@gmx.fr
|
||||
|
||||
- switch from distribute to setuptools
|
||||
- remove useless CFLAGS="%{optflags}"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 27 21:29:59 UTC 2013 - benoit.monin@gmx.fr
|
||||
|
||||
- initial package with version 2.0.0
|
||||
|
70
python-typogrify.spec
Normal file
70
python-typogrify.spec
Normal file
@ -0,0 +1,70 @@
|
||||
#
|
||||
# spec file for package python-typogrify
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# I don't want to deal with different versions of Django
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-typogrify
|
||||
Version: 2.0.7
|
||||
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: http://pypi.python.org/packages/source/t/typogrify/typogrify-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module smartypants}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-smartypants
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This application provides a set of custom filters for the Django template system
|
||||
which automatically apply various transformations to plain text in order to yield
|
||||
typographically-improved HTML.
|
||||
|
||||
%prep
|
||||
%setup -q -n typogrify-%{version}
|
||||
# remove useless shebang
|
||||
sed -i '1d' \
|
||||
typogrify/packages/titlecase/__init__.py \
|
||||
typogrify/packages/titlecase/tests.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} PYTHONDONTWRITEBYTECODE=1
|
||||
$python -mdoctest -v typogrify/filters.py
|
||||
}
|
||||
|
||||
|
||||
%files %python_files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
BIN
typogrify-2.0.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
typogrify-2.0.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user