dev-python/python-constraint: new package

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Gábor Oszkár Dénes <gaboroszkar@protonmail.com>
This commit is contained in:
Gábor Oszkár Dénes committed 2022-03-30 19:01:50 +02:00
1 parent ce2693bc87
commit 64cc74f98f
4 files changed
+45

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST python-constraint-1.4.0.tar.gz 24966 BLAKE2B 5ada7926f226536a1384bf9a082da41824e46d683ee71a278c50e1e5ca0a21eb3acbde4c0b47d6b48c53864ab4ea47d602fc9acb976423035aee74b0c6f3ed85 SHA512 fbc65ba5854e227e62469290e2d8362ed3247931592e2ac7eb5bcd5d3f9f720bbab8a984a8f7cf9dce989663f13965c5401286a1bdc673c2c076c8b22e19f0cd
@@ -0,0 +1,11 @@
--- a/setup.py 2022-02-27 15:57:35.035889587 +0100
+++ b/setup.py 2022-02-27 15:58:04.049889476 +0100
@@ -70,7 +70,7 @@
keywords="csp constraint solving problems problem solver",
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
- packages=find_packages(exclude=["contrib", "docs", "tests*"]),
+ packages=find_packages(exclude=["contrib", "docs", "tests*", "examples*"]),
# List run-time dependencies here. These will be installed by pip when your
# project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- comaintainers-welcomed -->
<maintainer type="person">
<email>gaboroszkar@protonmail.com</email>
<name>Gábor Oszkár Dénes</name>
</maintainer>
<longdescription>
The Python constraint module offers solvers for Constraint Satisfaction Problems (CSPs) over finite domains in simple and pure Python. CSP is class of problems which may be represented in terms of variables (a, b, ...), domains (a in [1, 2, 3], ...), and constraints (a &lt; b, ...).
</longdescription>
</pkgmetadata>
@@ -0,0 +1,21 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Constraint Solving Problem resolver for Python"
HOMEPAGE="https://github.com/python-constraint/python-constraint"
SRC_URI="https://github.com/python-constraint/python-constraint/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest
PATCHES=( "${FILESDIR}/python-constraint-1.4.0-exclude-examples.patch" )