Group :: Development/Python3
RPM: python3-module-logilab-constraint
Main Changelog Spec Patches Sources Download Gear Bugs and 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
…
Full changelog you can see here
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
…
Full changelog you can see here