diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
commit | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch) | |
tree | 464c922e949c7e4d5d891fb2cdda5daee5612537 /dev-python/python-dotenv/python-dotenv-0.20.0.ebuild | |
parent | e68d405c5d712af4387159df07e226217bdda049 (diff) |
gentoo resync : 16.04.2022
Diffstat (limited to 'dev-python/python-dotenv/python-dotenv-0.20.0.ebuild')
-rw-r--r-- | dev-python/python-dotenv/python-dotenv-0.20.0.ebuild | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild b/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild index 5ad0c94536ce..bf4180b3d2d9 100644 --- a/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild +++ b/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( pypy3 python3_{8..10} ) inherit distutils-r1 @@ -14,12 +14,11 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" DEPEND=" test? ( >=dev-python/click-5[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] >=dev-python/sh-1.09[${PYTHON_USEDEP}] ) @@ -29,6 +28,19 @@ DOCS=( CHANGELOG.md README.md ) distutils_enable_tests pytest +python_test() { + local EPYTEST_IGNORE=() + # remove when https://github.com/theskumar/python-dotenv/pull/397 + # is merged + if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_ipython.py + ) + fi + + epytest +} + python_install() { distutils-r1_python_install ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die |