dev-python/expression: add 5.7.0

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger committed 2026-09-03 19:27:22 +02:00
1 parent 51e21cd595
commit 7d3bb8c972
2 files changed
+40

No files matched your search

+1
View File
@@ -1 +1,2 @@
DIST expression-5.6.0.gh.tar.gz 136000 BLAKE2B 348c35988bff149cec8da214ddeb8c52259acd976fd84ab9519b66ebb8f3ea12f987ee3fba86803ef8e5ca14e5d29473a3b0421bf6dd0110b31cd884efdf6169 SHA512 d4bd38b7e83e0d435d6dea1f90f0379d168107ff9085a95cbc11975b97f33427edc9b7c60b027eb7d4e67ae024329b3fd277efed46d40dd2e959492be1850785
DIST expression-5.7.0.gh.tar.gz 207854 BLAKE2B 60e17ca1b22104826a6005f597eaee0bae096528f39371ee1596870b94013092d085616ae1da8c26e1525ab1fadfe81c0051af5e9a22c9670b9ed5a0e70fdd61 SHA512 9c42294cf577c83084b34cbbb9cf6fdda8c0dfa4cbdac88341f39272c8175b091fb4d8b48988d8870ea00ff2ffadfe55031c4af832e7a1139dba6427c983c92d
@@ -0,0 +1,39 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 optfeature
MY_PN="Expression"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Practical functional programming for Python 3.10+"
HOMEPAGE="
https://github.com/dbrattli/Expression
https://pypi.org/project/expression/
"
SRC_URI="https://github.com/dbrattli/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/pydantic-2.6.2[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( hypothesis pytest-asyncio )
distutils_enable_tests pytest
pkg_setup() {
optfeature "Pydantic support" ">=dev-python/pydantic-2.6.2"
}