dev-python/resolvelib: Add from Gentoo

It's from Gentoo commit 1160d4afe4428b3d72a2fd691a1675dd628918db.
This commit is contained in:
Krzesimir Nowak 2024-08-02 17:11:33 +02:00
parent aee00b0ec2
commit ba85894698
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST resolvelib-1.0.1.gh.tar.gz 769608 BLAKE2B 7715f61d262cb79ce08f0431650e6213def4582a0774cf36dab722d88013f7bc9c72a31a957d3782e35b315158982c3311fe3e06e26bbf9040fa96b239934661 SHA512 a35f7fdbc3aba5b44fdf6b9c55b082156ca641dfe5825611be6364622bcaaf45faafa2c45bdd13d1b5723a55732759a806905ab4b6f366fba0474d1f808d91bc

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">resolvelib</remote-id>
<remote-id type="github">sarugaku/resolvelib</remote-id>
<bugs-to>https://github.com/sarugaku/resolvelib/issues</bugs-to>
</upstream>
<longdescription lang="en">
ResolveLib at the highest level provides a Resolver class that includes
dependency resolution logic. You give it some things, and a little
information on how it should interact with them, and it will spit out
a resolution result.
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,33 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1
DESCRIPTION="Resolve abstract dependencies into concrete ones"
HOMEPAGE="
https://github.com/sarugaku/resolvelib/
https://pypi.org/project/resolvelib/
"
SRC_URI="
https://github.com/sarugaku/resolvelib/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~sparc x86"
BDEPEND="
test? (
dev-python/commentjson[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest