Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marec2000:python:backports
python-invoke
python-invoke.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-invoke.spec of Package python-invoke
# # spec file for package python-invoke # # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-invoke Version: 1.2.0 Release: 0 Summary: Pythonic Task Execution License: BSD-2-Clause Group: Development/Languages/Python URL: http://www.pyinvoke.org Source: https://files.pythonhosted.org/packages/source/i/invoke/invoke-%{version}.tar.gz Source99: buildroot-rpmlintrc Patch0: 0001-Make-test-fallback-to-system-modules-when-vendorized.patch BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module fluidity-sm} BuildRequires: %{python_module lexicon} BuildRequires: %{python_module mock} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pytest-relaxed} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML Requires: python-fluidity-sm Requires: python-lexicon Requires: python-pexpect Requires: python-six Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %python_subpackages %description Invoke is a Python (2.7 and 3.4+) task execution tool & library, drawing inspiration from various sources to arrive at a powerful & clean feature set. %prep %setup -q -n invoke-%{version} # Remove bundled libs, import will fallback to system provided libs rm -fr invoke/vendor/* # remove pycache dir rm -r invoke/completion/__pycache__/ %patch0 -p1 %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/inv %python_clone -a %{buildroot}%{_bindir}/invoke %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} %post %{python_install_alternative inv invoke} %postun %python_uninstall_alternative inv %files %{python_files} %license LICENSE %doc README.rst %python_alternative %{_bindir}/inv %python_alternative %{_bindir}/invoke %{python_sitelib}/invoke/ %{python_sitelib}/invoke-%{version}-py* %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