Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Backports:SLE-15-SP4:RebuildFactoryCandidates
python-zc.customdoctests
python-zc.customdoctests.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-zc.customdoctests.spec of Package python-zc.customdoctests
# # spec file for package python-zc.customdoctests # # Copyright (c) 2021 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-zc.customdoctests Version: 1.0.1 Release: 0 License: ZPL-2.1 Summary: zc.customdoctests -- Use doctest with other languages URL: http://pypi.python.org/pypi/zc.customdoctests Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/z/zc.customdoctests/zc.customdoctests-%{version}.zip Source1: LICENSE.txt BuildRequires: %{python_module devel} BuildRequires: %{python_module manuel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.testing} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip BuildArch: noarch %python_subpackages %description doctest (and recently manuel) provide hooks for using custom doctest parsers. `zc.customdoctests` helps to leverage this to support other languages, such as JavaScript:: js> function double (x) { ... return x*2; ... } js> double(2) 4 And with `manuel <http://pypi.python.org/pypi/manuel>`_, it facilitates doctests that mix multiple languages, such as Python, JavaScript, and sh. %prep %setup -q -n zc.customdoctests-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check cd build/lib %{python_expand export PYTHONPATH='.' $python -m unittest -v zc.customdoctests.tests.test_suite $python -m doctest -v zc/customdoctests/tests.py } %files %{python_files} %license ../../SOURCES/LICENSE.txt %doc README.txt %{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