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

Group :: Development/Python3
RPM: python3-module-logilab-constraint

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname logilab-constraint

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

Summary: A constraint satisfaction problem solver written in 100%% pure Python
License: GPL
Group: Development/Python3
URL: http://www.logilab.org/852/

BuildArch: noarch

# hg clone http://hg.logilab.org/review/logilab/constraint

Source: constraint-%version.tar.gz

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-logilab-common

%description
The constraint package is a constraint satisfaction problem solver
written in 100%% pure Python. The implementation uses constraint
propagation algorithms. Constraints and Domain implementations are
provided to work with finite domains and finite intervals. It should be
fairly easy to add new kind of domains such as finite integer domains,
together with specialized constraints.

%package tests
Summary: Tests for logilab constraint package
Group: Development/Python3
Requires: %name = %version-%release

%description tests
The constraint package is a constraint satisfaction problem solver
written in 100%% pure Python. The implementation uses constraint
propagation algorithms. Constraints and Domain implementations are
provided to work with finite domains and finite intervals. It should be
fairly easy to add new kind of domains such as finite integer domains,
together with specialized constraints.

This package contains tests for logilab constraint package.

%prep
%setup

touch test/__init__.py

%build
%python3_build

%install
%python3_install

rm -f %buildroot%python3_sitelibdir/logilab/__init__.py*

mv test/ %buildroot%python3_sitelibdir/logilab/constraint/

%files
%doc COPYING ChangeLog README doc/* examples
%python3_sitelibdir/*
%exclude %python3_sitelibdir/logilab/constraint/test/

%files tests
%python3_sitelibdir/logilab/constraint/test/

%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