From 6c2d936488a86cb37e052e774d60527c22e966eb Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@p37t)" Date: Sat, 15 Aug 2020 10:32:47 +0200 Subject: [PATCH] add pycocotools-2.0.1 --- CHANGELOG.txt | 1 + dev-python/pycocotools/Manifest | 3 ++ dev-python/pycocotools/metadata.xml | 11 +++++++ .../pycocotools/pycocotools-2.0.1.ebuild | 30 +++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 dev-python/pycocotools/Manifest create mode 100644 dev-python/pycocotools/metadata.xml create mode 100644 dev-python/pycocotools/pycocotools-2.0.1.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7f4c233bf..7d5c3f849 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,6 @@ 2020-08-15 * bump protobuf-python-3.12.2 + * add pycocotools-2.0.1 2020-08-11 * bump blinkpy-0.16.3 diff --git a/dev-python/pycocotools/Manifest b/dev-python/pycocotools/Manifest new file mode 100644 index 000000000..26b694c5f --- /dev/null +++ b/dev-python/pycocotools/Manifest @@ -0,0 +1,3 @@ +DIST pycocotools-2.0.1.tar.gz 23435 BLAKE2B c9c255119a80844ad23f0c5267a07ca16de99ee6bae09257011b989876a39882b6b3f74e522d9121a210a7d4d679992cf9fcbdc3de6aba0145e6215e9e766729 SHA512 e69e8339c4511062755f35d926153ddf37471d094fd8db16912b941b7935c9285c3806c0af1d7c2e772667faf8c42eac4277cc4548acb7e2b2a82c3170e0cb01 +EBUILD pycocotools-2.0.1.ebuild 643 BLAKE2B 16fd7806a82b3c81747c9f5aef561d0a0b5b899017a048ab40dc0657756fca4822335ae9533ea6fe845916ebbd807f6f8a721f14c61171b33afa47f3d1a91a3e SHA512 c264bd16ae1b2f5a2d2f6010d4a9baaa7920b03559f04043ca93f982b472142a96d72d1b50edca016b3501f5b1af82b7f3abaca6fea6a91331145dd1412af55a +MISC metadata.xml 330 BLAKE2B cfe62b99f7cd9e3d3edc840c1fffacbb8d7468ebd7e058a7036d69a47319dab457049cb047ae38bbd100f47c9cd6da69314d4b0ea0fe8cdc1f344c083c59e160 SHA512 2fadd0bbc1b381f1ede58e119db1e04b9789bc664dc9d2c430a00636ebdb4f0e6b5ccee461e70b0863e65ecb4cd39836004a91eeb68d850e54efb9b96ff95bcf diff --git a/dev-python/pycocotools/metadata.xml b/dev-python/pycocotools/metadata.xml new file mode 100644 index 000000000..276d33e8e --- /dev/null +++ b/dev-python/pycocotools/metadata.xml @@ -0,0 +1,11 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pycocotools + + diff --git a/dev-python/pycocotools/pycocotools-2.0.1.ebuild b/dev-python/pycocotools/pycocotools-2.0.1.ebuild new file mode 100644 index 000000000..63c02a0f6 --- /dev/null +++ b/dev-python/pycocotools/pycocotools-2.0.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Official APIs for the MS-COCO dataset" +HOMEPAGE="https://pypi.org/project/pycocotools/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="${REDEPEND} + 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 +}