add pycocotools-2.0.1

This commit is contained in:
2022-04-30 14:39:55 +02:00
committed by Andreas Billmeier
parent 7224a56e0d
commit 77ae1fcb6e
4 changed files with 48 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
DIST pycocotools-2.0.1.tar.gz 23435 BLAKE2B c9c255119a80844ad23f0c5267a07ca16de99ee6bae09257011b989876a39882b6b3f74e522d9121a210a7d4d679992cf9fcbdc3de6aba0145e6215e9e766729 SHA512 e69e8339c4511062755f35d926153ddf37471d094fd8db16912b941b7935c9285c3806c0af1d7c2e772667faf8c42eac4277cc4548acb7e2b2a82c3170e0cb01
EBUILD pycocotools-2.0.1.ebuild 712 BLAKE2B 8dbc6bdbc83233cf99f89590ba1dfce72c435a85422cf96656e31e9e8d5f4e029c2cf6a23c22c05c6a84c0d4cbcd567e2b6a53f7b3a5569e1866101f5f4e5df3 SHA512 f12b0a4905af10e04366381d1764acfc20f609ad7603f0f17aec86ff757df7e13be9ba533caf1c6acea4f00feabc69bc22db2291c78d9299fdd07379a5124f2f
MISC metadata.xml 330 BLAKE2B cfe62b99f7cd9e3d3edc840c1fffacbb8d7468ebd7e058a7036d69a47319dab457049cb047ae38bbd100f47c9cd6da69314d4b0ea0fe8cdc1f344c083c59e160 SHA512 2fadd0bbc1b381f1ede58e119db1e04b9789bc664dc9d2c430a00636ebdb4f0e6b5ccee461e70b0863e65ecb4cd39836004a91eeb68d850e54efb9b96ff95bcf

View File

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pycocotools</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Official APIs for the MS-COCO dataset"
HOMEPAGE="https://github.com/ppwwyyxx/cocoapi https://pypi.org/project/pycocotools/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="FreeBSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=""
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}