Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:branches:devel:languages:python:misc
python-django-markup
python-django-markup.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-django-markup.spec of Package python-django-markup
# # spec file for package python-django-markup # # Copyright (c) 2020 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/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-django-markup Version: 1.4.1 Release: 0 License: MIT Summary: A generic Django application to convert text with specific markup to html Url: https://github.com/bartTC/django-markup Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/d/django-markup/django-markup-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module Django >= 1.11} BuildRequires: %{python_module six} BuildRequires: %{python_module pytest-django} BuildRequires: %{python_module textile >= 2.3.16} BuildRequires: %{python_module smartypants >= 2.0.0} BuildRequires: %{python_module docutils >= 0.14} BuildRequires: %{python_module pygments >= 2.2.0} BuildRequires: %{python_module Markdown >= 2.6.9} BuildRequires: %{python_module bleach >= 3.0} BuildRequires: %{python_module bleach-whitelist >= 0.0.9} #BuildRequires: %{python_module python-creole >= 1.3.1} # /SECTION BuildRequires: fdupes Requires: python-Django >= 1.11 Requires: python-six Suggests: python-textile >= 2.3.16 Suggests: python-smartypants >= 2.0.0 Suggests: python-docutils >= 0.14 Suggests: python-pygments >= 2.2.0 Suggests: python-Markdown >= 2.6.9 Suggests: python-bleach >= 3.0 Suggests: python-bleach-whitelist >= 0.0.9 #Suggests: python-python-creole >= 1.3.1 BuildArch: noarch %python_subpackages %description A generic Django application to convert text with specific markup to html. %prep %setup -q -n django-markup-%{version} sed -i 's/test_creole_filter/_test_creole_filter/' django_markup/tests/test_filter.py # https://github.com/bartTC/django-markup/pull/35 mkdir django_markup/tests/templates/ echo '{%% load markup_tags %%}{{ text|apply_markup:filter }}' > django_markup/tests/templates/test_templatetag.html echo '{%% load markup_tags %%}{%% filter apply_markup:filter %%}{{ text }}{%% endfilter %%}' > django_markup/tests/templates/test_templatetag_filterwrapper.html %build %python_build %install %python_install %{python_expand rm -r %{buildroot}%{$python_sitelib}/django_markup/tests/ %fdupes %{buildroot}%{$python_sitelib} } %check %python_exec runtests.py %files %{python_files} %doc CHANGELOG.rst README.rst %license LICENSE %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor