diff --git a/dev-python/makefun/Manifest b/dev-python/makefun/Manifest new file mode 100644 index 0000000000..e64a9b497c --- /dev/null +++ b/dev-python/makefun/Manifest @@ -0,0 +1 @@ +DIST makefun-1.13.1.tar.gz 72170 BLAKE2B b1b5e76277e742ef51bcdf2bf6f1d1e761010d75bc3f20d7a8c079b368972b90775bd3bb23cf1787911a8d858549d72d4a2c9379675e59f359486bf1c49566e2 SHA512 ae103d3827673c4124d051e3c76d3d0d126c783ac7a1ea09de3801fd695439eaa549c297bd5c262184a3ee6fdf7b046065081fa3183642778148c2134d7bfc06 diff --git a/dev-python/makefun/makefun-1.13.1.ebuild b/dev-python/makefun/makefun-1.13.1.ebuild new file mode 100644 index 0000000000..4e484a6ecf --- /dev/null +++ b/dev-python/makefun/makefun-1.13.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DOCS_BUILDER="mkdocs" +DOCS_DEPEND="dev-python/mkdocs-material" +inherit distutils-r1 docs + +DESCRIPTION="Small library to dynamically create python functions" +HOMEPAGE="https://pypi.org/project/makefun/ https://github.com/smarie/python-makefun" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + sed "/pytest-runner/d" -i setup.cfg || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + docs_compile +} diff --git a/dev-python/makefun/metadata.xml b/dev-python/makefun/metadata.xml new file mode 100644 index 0000000000..2af7ed73a0 --- /dev/null +++ b/dev-python/makefun/metadata.xml @@ -0,0 +1,13 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + makefun + smarie/python-makefun + https://smarie.github.io/python-makefun/ + +