mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-18 21:00:56 +02:00
pytest-benchmark: pkgcheck fixes
This commit is contained in:
parent
bcac1b32cf
commit
bd5eb5e5f3
2 changed files with 20 additions and 7 deletions
13
dev-python/pytest-benchmark/metadata.xml
Normal file
13
dev-python/pytest-benchmark/metadata.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>noone@pentoo.org</email>
|
||||
<name>No One</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pytest-benchmark</remote-id>
|
||||
<remote-id type="github">ionelmc/pytest-benchmark</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
PYPI_NO_NORMALIZE=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="py.test fixture for benchmarking code"
|
||||
HOMEPAGE="https://github.com/ionelmc/pytest-benchmark"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
|
@ -19,14 +19,14 @@ RESTRICT="test" # fails
|
|||
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/py-cpuinfo[${PYTHON_USEDEP}]"
|
||||
BDEPEND="test? ( dev-python/aspectlib[${PYTHON_USEDEP}]
|
||||
dev-python/elasticsearch-py[${PYTHON_USEDEP}]
|
||||
dev-python/elasticsearch[${PYTHON_USEDEP}]
|
||||
dev-python/pygal[${PYTHON_USEDEP}]
|
||||
dev-python/pygal[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "integration with Elasticsearch" dev-python/elasticsearch-py
|
||||
optfeature "integration with Elasticsearch" dev-python/elasticsearch
|
||||
optfeature "support of histogram" dev-python/pygal dev-python/pygaljs
|
||||
optfeature "support of aspect" dev-python/aspectlib
|
||||
}
|
||||
Loading…
Reference in a new issue