dev-python/minio: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-16 11:28:37 +02:00
committed by onkelbeh
parent 6874884576
commit 6f772d94dc
4 changed files with 13 additions and 41 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
DIST minio-4.0.9.tar.gz 40845 BLAKE2B fc2317392a1a811cad70e1991d9623bdd51cf8edc04e844b15ed0a6ab8b713fd4ac7b3e577e2a35a5d37f675362a3de9af7bbdf1d6a03b02c0366826ed6af1e9 SHA512 a347b29347a223b710eefc39f3948798c8539f249d845c41bea0e4b213a4c9210fe6a0112b49a37119372e35787bfb7905d744e042ce869fa9ea4b188afc12ff
DIST minio-5.0.10.tar.gz 114529 BLAKE2B 7b711b9aa2a4c98b104b805fd7e2e350a837e21033659a252dd3d028fd080f57aabbb47fbbb7e31c94315ac0445e828e4a61dd6b8ac97ba43d3d719587fc83e5 SHA512 4e91fa6fa9234ead253e260d3b8366c43af5d18d3ce641d52fc722fd302557851efb9b701bca155e78cbab5a180845a3758e539db9b5d2e3adf93da5b1450f38
EBUILD minio-4.0.9.ebuild 732 BLAKE2B 346112d47ff47ad4043310d5b282f6bdf3e1ac67d268f3f41be6c3df7113bc8925d2f425029b59f4004e6abe6a7b18aa3a2e1b42ac110cb04a0526544b351148 SHA512 7e4d4530c58ad7eb1cb255d6acc897ee79838e8721715ddb67da85f9ac13fc88baf9332c9fa2dcf81aea123f1a41e6ab6875ca290d91a8dc458fdccf6a720870
EBUILD minio-5.0.10.ebuild 732 BLAKE2B 346112d47ff47ad4043310d5b282f6bdf3e1ac67d268f3f41be6c3df7113bc8925d2f425029b59f4004e6abe6a7b18aa3a2e1b42ac110cb04a0526544b351148 SHA512 7e4d4530c58ad7eb1cb255d6acc897ee79838e8721715ddb67da85f9ac13fc88baf9332c9fa2dcf81aea123f1a41e6ab6875ca290d91a8dc458fdccf6a720870
EBUILD minio-5.0.10.ebuild 826 BLAKE2B da96d7cead9ffa0333d04349609e1698acb37a476909cad33a530a0d46c0c0dfdc03f31775dd9b9a2aeebb32eea9a4436de8741cdb3a0b2b49275ce46fa5c9d8 SHA512 afa9ee4ccdb1d050953532bc43a55df1ebd6c79e3f52352da6e63747a4ced391bb067f20389f3793e33b701ccea63825ac45cfdc3985297e026dc0eb0f582542
MISC metadata.xml 439 BLAKE2B 0fcf38b780470c3244e29ba8911cd6b3100f4681e6536008c963b42b746a98ea672dfe6c7a487203310941a05444fe5295705afd45b8db200379b6d4e3a7ca78 SHA512 e78f8680fecf60b24747ece962c95fbb2359fc315cc5d80c2c84a4c799ea1abd9169873142cc65f4e91519118ba26e4b8d3e3cb2657d68af086a77dd377898f5
-31
View File
@@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="MinIO Python Library for Amazon S3 Compatible Cloud Storage for Python"
HOMEPAGE="https://github.com/minio/minio-py https://pypi.org/project/minio/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
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
}
+10 -5
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -13,11 +13,14 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DOCS="README.md"
RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@@ -29,3 +32,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest