Group :: Development/Python
RPM: python3-module-tinyrpc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname tinyrpc
Name: python3-module-%oname
Version: 1.1.7
Release: alt1
Summary: Modular RPC library
License: MIT
Group: Development/Python
Url: http://github.com/mbr/tinyrpc
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
Patch1: tinyrpc-0.9.3-python3.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel
BuildRequires: python3-module-setuptools
%description
tinyrpc is a library for making and handling RPC calls in python.
Its initial scope is handling jsonrpc,
although it aims to be very well-documented and modular
to make it easy to add support for further protocols.
A feature is support of multiple transports (or none at all)
and providing clever syntactic sugar for writing dispatchers.
%prep
%setup
#patch1 -p1
find tinyrpc -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
# Remove bundled egg-info
rm -rfv %oname.egg-info
%build
%python3_build
%install
%python3_install
%python3_prune
%files
%doc README.rst
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here
Name: python3-module-%oname
Version: 1.1.7
Release: alt1
Summary: Modular RPC library
License: MIT
Group: Development/Python
Url: http://github.com/mbr/tinyrpc
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
Patch1: tinyrpc-0.9.3-python3.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel
BuildRequires: python3-module-setuptools
%description
tinyrpc is a library for making and handling RPC calls in python.
Its initial scope is handling jsonrpc,
although it aims to be very well-documented and modular
to make it easy to add support for further protocols.
A feature is support of multiple transports (or none at all)
and providing clever syntactic sugar for writing dispatchers.
%prep
%setup
#patch1 -p1
find tinyrpc -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
# Remove bundled egg-info
rm -rfv %oname.egg-info
%build
%python3_build
%install
%python3_install
%python3_prune
%files
%doc README.rst
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here