Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
python-configshell
python-configshell.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-configshell.spec of Package python-configshell
# # spec file for package python-configshell # # Copyright (c) 2019 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 https://bugs.opensuse.org/ # %define oname configshell Name: python-configshell Summary: A framework to implement simple but nice CLIs License: Apache-2.0 Group: Development/Languages/Python %define tarball_vers 1.5 Version: 1.6 Release: 0 Url: https://github.com/Datera/configshell # Source: https://github.com/Datera/%{oname}/archive/%{tarball_vers}.tar.gz Source: %{oname}-%{tarball_vers}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: epydoc BuildRequires: python-devel BuildRequires: python-pyparsing Requires: python-pyparsing Requires: python-urwid >= 0.9.9 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif Patch1: bsc1143852_fix_noninteractive.patch %description A framework to implement simple but nice command-line interfaces. ConfigShell Community Edition is a python library that provides a framework for building simple but nice CLI-based applications. For more information, see the configshell API reference, available in both html and pdf formats as a separate package. The latest version of this program might be obtained at: http://www.risingtidesystems.com/git/ To run the example shell from this directory use: PYTHONPATH=. ./examples/myshell %package doc Summary: A framework to implement simple but nice CLIs License: AGPL-3.0-only Group: Development/Languages/Python %description doc A framework to implement simple but nice command-line interfaces. ConfigShell Community Edition is a python library that provides a framework for building simple but nice CLI-based applications. For more information, see the configshell API reference, available in both html and pdf formats as a separate package. The latest version of this program might be obtained at: http://www.risingtidesystems.com/git/ To run the example shell from this directory use: PYTHONPATH=. ./examples/myshell %prep %setup -q -n %{oname}-%{tarball_vers} %patch1 -p1 %build %{__python} setup.py build mkdir -p doc/ epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py mv html doc/ %install python setup.py install --skip-build --root %{buildroot} --prefix=%{_prefix} mkdir -p %{buildroot}%{_defaultdocdir}/python-configshell cp -r doc/* %{buildroot}%{_defaultdocdir}/python-configshell %files %defattr(-,root,root,-) %{python_sitelib}/* %files doc %defattr(-,root,root,-) %doc README.md COPYING %dir %{_defaultdocdir}/python-configshell %{_defaultdocdir}/python-configshell %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