Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
python-jinja2-fsloader
python-jinja2-fsloader.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-jinja2-fsloader.spec of Package python-jinja2-fsloader
# # spec file for package python-jinja2-fsloader # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jinja2-fsloader Version: 0.3.0 Release: 0 Summary: Jinja2 template loader using PyFilesystem2 License: MIT Group: Development/Languages/Python URL: https://github.com/althonos/jinja2-fsloader/ Source: https://files.pythonhosted.org/packages/source/j/jinja2-fsloader/jinja2-fsloader-%{version}.zip BuildRequires: %{python_module setuptools >= 39.2} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-Jinja2 >= 2.0 Requires: python-fs >= 2.1.0 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2 >= 2.0} BuildRequires: %{python_module contexter >= 0.1.4} BuildRequires: %{python_module fs >= 2.1.0} # /SECTION %python_subpackages %description This library allows using PyFilesystem2 as a backend to load templates into Jinja2. You can take advantage of the whole fs ecosystem, which already implements drivers for FTP, SSH, SMB, S3, WebDAV servers, ZIP and Tar archives and others. %prep %setup -q -n jinja2-fsloader-%{version} sed -i 's/,<[0-9.]*$//' setup.cfg %build %python_build %install %python_install %{python_expand rm -r %{buildroot}%{$python_sitelib}/tests/ %fdupes %{buildroot}%{$python_sitelib} } %check %pyunittest discover -v %files %{python_files} %license COPYING %doc README.rst %{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