dev-python/beartype: new package, add 0.11.0

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-11-25 10:01:16 +02:00
parent 75df703732
commit 121ae30bf3
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST beartype-0.11.0.gh.tar.gz 806671 BLAKE2B 757764885fb99d82ecd2d7e205329a4f66898e0552e29216ca943ebc79661d0f43454dd43b0a7529cb148c0a50c9241eef56f7d5f1534290496d9811b3b9dac6 SHA512 23aff4208f6e41a8f3366c161576e6a6ff30f8d702926a52c266da4d169d683341ca6e728f5882ea2dbe91be23e64314b43343db4fab795d08a2983015398d9d

View File

@@ -0,0 +1,31 @@
# 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="Unbearably fast runtime type checking in pure Python"
HOMEPAGE="
https://pypi.org/project/beartype/
https://github.com/beartype/beartype
"
SRC_URI="
https://github.com/beartype/beartype/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
test? (
dev-python/mypy[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">beartype</remote-id>
<remote-id type="github">beartype/beartype</remote-id>
</upstream>
</pkgmetadata>