diff options
author | 2022-06-24 06:30:33 +0200 | |
---|---|---|
committer | 2022-06-24 07:16:26 +0200 | |
commit | bdb55501752eec3ddc503e9589152a31e47c939d (patch) | |
tree | 49fca0ad1431bbefaf7fc0498e68b6142d831771 /dev-python/minimock/minimock-1.3.0-r1.ebuild | |
parent | dev-python/sphinx-pytest: Bump to 0.0.4 (diff) | |
download | gentoo-bdb55501752eec3ddc503e9589152a31e47c939d.tar.gz gentoo-bdb55501752eec3ddc503e9589152a31e47c939d.tar.bz2 gentoo-bdb55501752eec3ddc503e9589152a31e47c939d.zip |
dev-python/minimock: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/minimock/minimock-1.3.0-r1.ebuild')
-rw-r--r-- | dev-python/minimock/minimock-1.3.0-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/minimock/minimock-1.3.0-r1.ebuild b/dev-python/minimock/minimock-1.3.0-r1.ebuild new file mode 100644 index 000000000000..157ddf2d15df --- /dev/null +++ b/dev-python/minimock/minimock-1.3.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +MY_P="MiniMock-${PV}" +DESCRIPTION="The simplest possible mock library" +HOMEPAGE=" + https://github.com/lowks/minimock/ + https://pypi.org/project/MiniMock/ +" +SRC_URI=" + https://github.com/lowks/minimock/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +DOCS=( CHANGELOG.txt README.rst ) + +distutils_enable_tests pytest + +python_test() { + epytest --doctest-modules +} |