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 @@
DIST cymem-2.0.6.tar.gz 8241 BLAKE2B 359c1cee8b3d01a2e659898992c22da7f7e3fab0ae5481d328f660c314a0dde85ca868e63e2c1b55b3624e568f369b8e993da04fa30c2ea79d21472cc6c1f7b0 SHA512 058fef116e02a38960017bfb4347f625fd5bda39cc239c8b434c7c928a9303678e1689ae5860181750fa23d8ee7a0bce1836c33420b6b4799d297df85f2b64e7

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
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<upstream>
<remote-id type="pypi">cymem</remote-id>
<remote-id type="github">explosion/cymem</remote-id>
</upstream>
</pkgmetadata>