dev-python/pytest-remotedata - 0.4.2 (benzene-overlay)

Search

Install

Install this version:

emerge -a =dev-python/pytest-remotedata-0.4.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/pytest-remotedata-0.4.2

Or alternatively:

emerge --autounmask-write -a =dev-python/pytest-remotedata-0.4.2

Package Information

Description:
Pytest plugin used for controlling access to data files hosted online
Homepage:
https://github.com/astropy/pytest-remotedata
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.4.2 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{{11..15},{13..15}t} )
#PYTHON_COMPAT=( python3_{{11..12},{13..15}{,t}} )

inherit distutils-r1 pypi

DESCRIPTION="Pytest plugin used for controlling access to data files hosted online"
HOMEPAGE="https://github.com/astropy/pytest-remotedata"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PROPERTIES="test_network"
RESTRICT="test"

RDEPEND=">=dev-python/pytest-5.0[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"

EPYTEST_PLUGIN_LOAD_VIA_ENV=1
EPYTEST_PLUGINS=( "${PN}" )
distutils_enable_tests pytest

python_test() {
	epytest --remote-data
}

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/pytest-5.0[]
	dev-python/packaging[]

BDEPEND

dev-python/setuptools-scm[]