Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37561689
en ru br
ALT Linux repos
S:0.8.1-alt1

Group :: Development/Python3
RPM: python3-module-dictdiffer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname dictdiffer

%def_with check

Name: python3-module-%oname
Version: 0.8.1
Release: alt1

Summary: Dictdiffer is a module that helps you to diff and patch dictionaries
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/dictdiffer/

BuildArch: noarch

# https://github.com/inveniosoftware/dictdiffer.git

Source: %name-%version.tar
Patch0: %name-%version-alt.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools_scm)

%if_with check
BuildRequires: python3(pytest)
BuildRequires: python3(tox)
%endif

%description
Dictdiffer is a library that helps you to diff and patch dictionaries.

%prep
%setup
%autopatch -p1

%build
# SETUPTOOLS_SCM_PRETEND_VERSION: when defined and not empty,
# its used as the primary source for the version number in which
# case it will be a unparsed string
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build

%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build_install

%check
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
export PIP_NO_BUILD_ISOLATION=no
export PIP_NO_INDEX=YES
export TOXENV=py3
tox.py3 --sitepackages -vvr

%files
%doc *.rst LICENSE
%python3_sitelibdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin