dev-python/cymem: new package, add 2.0.6

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-06-05 07:38:28 +05:00
parent c27c4e59f6
commit df58794586
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Manage calls to calloc/free through Cython"
HOMEPAGE="
https://pypi.org/project/cymem/
https://github.com/explosion/cymem
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/cython[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
python_compile() {
distutils-r1_python_compile
use test && esetup.py build_ext --inplace
rm -rf build || die
}