diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-28 11:12:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-28 11:12:20 +0100 |
commit | 7aa28e7310855bc5ef0d32b22e8b58eec55c28c9 (patch) | |
tree | 9ceae60214a212f74f44e47506754fdeafb6947a /dev-python/dirty-equals/dirty-equals-0.6.0.ebuild | |
parent | 2099ff9b640e648be67527e29760263a7c6274e5 (diff) |
gentoo auto-resync : 28:04:2023 - 11:12:20
Diffstat (limited to 'dev-python/dirty-equals/dirty-equals-0.6.0.ebuild')
-rw-r--r-- | dev-python/dirty-equals/dirty-equals-0.6.0.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/dirty-equals/dirty-equals-0.6.0.ebuild b/dev-python/dirty-equals/dirty-equals-0.6.0.ebuild new file mode 100644 index 000000000000..a20397b85bc0 --- /dev/null +++ b/dev-python/dirty-equals/dirty-equals-0.6.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Doing dirty (but extremely useful) things with equals" +HOMEPAGE=" + https://dirty-equals.helpmanual.io/ + https://github.com/samuelcolvin/dirty-equals/ + https://pypi.org/project/dirty-equals/ +" +SRC_URI=" + https://github.com/samuelcolvin/dirty-equals/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytz-2021.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # require unpackaged pytest-examples + tests/test_docs.py + ) + + local -x TZ=UTC + epytest +} |