package init
This commit is contained in:
parent
758d291ce1
commit
c29bd405f8
20
LICENSE
Normal file
20
LICENSE
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
Copyright (c) 2013 Alfredo Deza
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
|
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
||||||
|
OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
53
python-remoto.spec
Normal file
53
python-remoto.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
%global srcname remoto
|
||||||
|
|
||||||
|
Name: python-%{srcname}
|
||||||
|
Version: 1.1.4
|
||||||
|
Release: 1
|
||||||
|
Summary: Execute remote commands or processes
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/alfredodeza/remoto
|
||||||
|
|
||||||
|
Source0: %pypi_source
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-execnet >= 1.2.0
|
||||||
|
BuildRequires: python3-mock
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
|
%global _description\
|
||||||
|
Execute remote commands or processes.
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
|
%package -n python3-%{srcname}
|
||||||
|
Summary: Execute remote commands or processes
|
||||||
|
Requires: python3
|
||||||
|
Requires: python3-execnet >= 1.2.0
|
||||||
|
|
||||||
|
%description -n python3-%{srcname} %_description
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{py3_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{py3_install}
|
||||||
|
|
||||||
|
%check
|
||||||
|
py.test-%{python3_version} -v remoto/tests
|
||||||
|
|
||||||
|
%files -n python3-%{srcname}
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jun 24 2021 liufeng <liufeng@kylinos.cn> - 1.1.4-1
|
||||||
|
- Package Init
|
||||||
|
|
||||||
BIN
remoto-1.1.4.tar.gz
Normal file
BIN
remoto-1.1.4.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user