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

Group :: Development/Python3
RPM: python3-module-dbus-deviation

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define pypi_name dbus-deviation
%def_disable check

Name: python3-module-%pypi_name
Version: 0.6.1
Release: alt2

Summary: %pypi_name is a project for parsing and processing D-Bus introspection XML
Group: Development/Python3
License: LGPL-2.1-or-later
Url: https://pypi.org/project/%pypi_name

Vcs: https://github.com/dbus-deviation/dbus-deviation.git
Source: https://pypi.io/packages/source/d/%pypi_name/%pypi_name-%version.tar.gz
BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools python3-module-wheel
BuildRequires: python3-module-sphinx python3-module-pycodestyle

%description
%pypi_name is a project for parsing D-Bus introspection XML and processing
it in various ways. Its main tool is dbus-interface-diff, which calculates the
difference between two D-Bus APIs for the purpose of checking for API breaks.

A second Python module, dbusapi, is provided for parsing D-Bus introspection
XML to produce an AST representing a D-Bus interface.

%prep
%setup -n %pypi_name-%version
find ./ -name "*.py" -print0|xargs -r0 sed -i "s|\(\/usr\/bin\/python\)$|\13|" --

%build
%pyproject_build

%install
%pyproject_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
%__python3 setup.py tests

%files
%_bindir/dbus-interface-diff
%_bindir/dbus-interface-vcs-helper
%python3_sitelibdir_noarch/dbusapi
%python3_sitelibdir_noarch/dbusdeviation
%python3_sitelibdir_noarch/%{pyproject_distinfo %pypi_name}

%doc README* NEWS

%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