Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:regataos
python-zope.deprecation
python-zope.deprecation.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-zope.deprecation.spec of Package python-zope.deprecation
# # spec file for package python-zope.deprecation # # Copyright (c) 2023 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, 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 https://bugs.opensuse.org/ # %{?sle15_python_module_pythons} Name: python-zope.deprecation Version: 5.0 Release: 0 Summary: Zope Deprecation Infrastructure License: ZPL-2.1 URL: https://pypi.python.org/pypi/zope.deprecation Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch # SECTION documentation requirements BuildRequires: python3-Sphinx # /SECTION %python_subpackages %description When we started working on Zope 3.1, we noticed that the hardest part of the development process was to ensure backward-compatibility and correctly mark deprecated modules, classes, functions, methods and properties. This package provides a simple function called 'deprecated(names, reason)' to deprecate the previously mentioned Python objects. %package -n %{name}-doc Summary: Zope 3 Deprecation Infrastructure Provides: %{python_module zope.deprecation-doc = %{version}} %description -n %{name}-doc This package contains documentation files for %{name}. %prep %setup -q -n zope.deprecation-%{version} rm -rf zope.deprecation.egg-info %build %python_build sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check pushd build/lib %pyunittest -v zope.deprecation.tests %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst %dir %{python_sitelib}/zope %{python_sitelib}/zope.deprecation-%{version}*-info %{python_sitelib}/zope.deprecation-%{version}*-nspkg.pth %{python_sitelib}/zope/deprecation %files -n %{name}-doc %doc build/sphinx/html/ %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