From c5a7034a331d43d4ad46ea9a01e20fa83d52ed24 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 5 Jul 2024 18:54:43 +0000 Subject: Adding metadata --- .../mollie-api-python-3.6.0.ebuild | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild (limited to 'dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild') diff --git a/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild b/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild new file mode 100644 index 000000000000..b8643b570ceb --- /dev/null +++ b/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Mollie API client for Python" +HOMEPAGE=" + https://www.mollie.com/ + https://github.com/mollie/mollie-api-python/ + https://pypi.org/project/mollie-api-python/ +" +SRC_URI="https://github.com/mollie/mollie-api-python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/mollie/mollie-api-python/pull/347 + "${FILESDIR}/${P}-no-install-tests.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + # no pytest-cov + sed -e '/--cov/d' -e '/--no-cov-on-fail/d' -i pyproject.toml || die +} -- cgit v1.3.1