From aa8b34b9d72247e4bfe0ecd9198eac51a616c2f1 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 21 Feb 2022 13:40:25 +0000 Subject: Adding metadata --- dev-python/makefun/Manifest | 1 + .../files/makefun-1.13.1-no_pytest-runner.patch | 10 +++++++++ dev-python/makefun/makefun-1.13.1.ebuild | 25 ++++++++++++++++++++++ dev-python/makefun/metadata.xml | 13 +++++++++++ 4 files changed, 49 insertions(+) create mode 100644 dev-python/makefun/Manifest create mode 100644 dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch create mode 100644 dev-python/makefun/makefun-1.13.1.ebuild create mode 100644 dev-python/makefun/metadata.xml (limited to 'dev-python/makefun') diff --git a/dev-python/makefun/Manifest b/dev-python/makefun/Manifest new file mode 100644 index 000000000000..e64a9b497cde --- /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/files/makefun-1.13.1-no_pytest-runner.patch b/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch new file mode 100644 index 000000000000..659717903361 --- /dev/null +++ b/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch @@ -0,0 +1,10 @@ +--- a/setup.cfg ++++ b/setup.cfg +@@ -27,7 +27,6 @@ + [options] + setup_requires = + setuptools_scm +- pytest-runner + install_requires = + funcsigs;python_version<'3.3' + tests_require = 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 000000000000..a2e4ba26de91 --- /dev/null +++ b/dev-python/makefun/makefun-1.13.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +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}]" + +PATCHES=( + "${FILESDIR}"/${PN}-1.13.1-no_pytest-runner.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/makefun/metadata.xml b/dev-python/makefun/metadata.xml new file mode 100644 index 000000000000..9ebe70f325a1 --- /dev/null +++ b/dev-python/makefun/metadata.xml @@ -0,0 +1,13 @@ + + + + + marecki@gentoo.org + Marek Szuba + + + makefun + + gentoo-staging + + \ No newline at end of file -- cgit v1.3.1