Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37854067
en ru br
ALT Linux repositórios
S:5.14-alt1

Group :: Development/Python3
RPM: pyro5

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#%%def_disable check
%define modulename Pyro5

Name: pyro5
Version: 5.14
Release: alt1
Summary: Distributed object middleware for Python (RPC)
License: MIT
Group: Development/Python3
Url: https://github.com/irmen/Pyro5
# Source-url: https://files.pythonhosted.org/packages/source/P/Pyro5/Pyro5-%version.tar.gz

Source: %modulename-%version.tar
# PATCH-FIX-UPSTREAM gh#irmen/Pyro5#76
Patch: add-network-marker.patch

BuildArch: noarch

BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)

%if_disabled check
%else
BuildRequires: python3-modules-sqlite3
BuildRequires: python3-module-cloudpickle
BuildRequires: python3-module-dill
BuildRequires: python3-module-msgpack
BuildRequires: python3-module-pytest
BuildRequires: python3-module-serpent >= 1.41
BuildRequires: ca-certificates
%endif

%description
Pyro means PYthon Remote Objects.

It is a library for building applications in which objects can talk
to each other over the network. One can use normal Python method
calls, with almost every possible parameter and return value type,
and Pyro takes care of locating the right object on the right system
to execute the method. It also provides a set of features that enable
building distributed applications. Pyro is a pure Python library and
runs on many different platforms and Python versions.

%package -n python3-module-%modulename
Summary: Distributed object middleware for Python (RPC)
Group: Development/Python3

%description -n python3-module-%modulename
Pyro means PYthon Remote Objects.

It is a library for building applications in which objects can talk
to each other over the network. One can use normal Python method
calls, with almost every possible parameter and return value type,
and Pyro takes care of locating the right object on the right system
to execute the method. It also provides a set of features that enable
building distributed applications. Pyro is a pure Python library and
runs on many different platforms and Python versions.

%prep
%setup -n %modulename-%version
%autopatch -p1

%build
%pyproject_build

%install
%pyproject_install

%check
export PYTHONPATH=%buildroot/%python3_sitelibdir/
py.test3 -m "not network"

%files
%_bindir/%name-*

%files -n python3-module-%modulename
%python3_sitelibdir/%modulename
%python3_sitelibdir/%modulename-%version.dist-info

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009