mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
dev-python/pytest-helpers-namespace: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
90c1400399
commit
6e302bed0d
@ -1,2 +1 @@
|
||||
DIST pytest-helpers-namespace-2021.12.29.gh.tar.gz 51376 BLAKE2B cbc79e6868a18f7174b96e73e3e902ea969d5a361c141e12bf5a67eeb7c93cead61629842f8b8744e58240cd8b85f9864ed95fec7ce048446963592b41bbd7e5 SHA512 82c231ff11a36fce7b16a0ceea51c9306f7e05ca3f9e8cc7cc1c77ac9822f974d1ac893d2bf9b7154bf9593a529193daa041ccaaced6fdd9e38ba4f794f161b0
|
||||
DIST pytest-helpers-namespace-2021.3.24.gh.tar.gz 25881 BLAKE2B d13e82eebf09b4acb1d8fb9d3609f8814a49bfd0df56f23fe6f3fe3fa1508c4f1ac338b3f75e1e97ae90f71cae548dd100548d23cdbaa6c4bdb76cdb6e3d4a41 SHA512 1914427a4805a168d4067cd5db5663d28e3ff680f612e70a169a7efbc6c2c7ba0e2dc74132595aa70e13b651886bd10a6947e56558edf22b871618c967537073
|
||||
|
||||
@ -1,48 +0,0 @@
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -1,7 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=50.3.2", "wheel", "setuptools-declarative-requirements", "setuptools_scm[toml]>=3.4"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
-
|
||||
-[tool.setuptools_scm]
|
||||
-write_to = "src/pytest_helpers_namespace/version.py"
|
||||
-write_to_template = "__version__ = \"{version}\""
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -1,4 +1,5 @@
|
||||
[metadata]
|
||||
+version = @PV@
|
||||
name = pytest-helpers-namespace
|
||||
description = Pytest Helpers Namespace Plugin
|
||||
long_description = file: README.rst
|
||||
@@ -34,21 +35,12 @@ packages = find:
|
||||
python_requires = >= 3.5
|
||||
setup_requires =
|
||||
setuptools>=50.3.2
|
||||
- setuptools_scm[toml]>=3.4
|
||||
- setuptools-declarative-requirements
|
||||
|
||||
[options.packages.find]
|
||||
where = src
|
||||
exclude =
|
||||
tests
|
||||
|
||||
-[requirements-files]
|
||||
-install_requires = requirements/base.txt
|
||||
-extras_require =
|
||||
- docs = requirements/docs.txt
|
||||
- lint = requirements/lint.txt
|
||||
- tests = requirements/tests.txt
|
||||
-
|
||||
[options.entry_points]
|
||||
pytest11 =
|
||||
helpers_namespace = pytest_helpers_namespace.plugin
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -2,4 +2,4 @@
|
||||
import setuptools
|
||||
|
||||
if __name__ == "__main__":
|
||||
- setuptools.setup(use_scm_version=True)
|
||||
+ setuptools.setup()
|
||||
@ -1,41 +0,0 @@
|
||||
# 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="Provides a helpers pytest namespace"
|
||||
HOMEPAGE="https://github.com/saltstack/pytest-helpers-namespace"
|
||||
SRC_URI="
|
||||
https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
|
||||
|
||||
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-remove-extra-dep.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
sed -e "s/@PV@/${PV}/" -i setup.cfg || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
epytest --forked
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user