Install this version:
emerge -a =dev-python/mollie-api-python-3.6.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/mollie-api-python-3.6.0
Or alternatively:
emerge --autounmask-write -a =dev-python/mollie-api-python-3.6.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.6.0 | 8 | ~amd64 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
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
}
dev-python/requests[] dev-python/requests-oauthlib[] dev-python/urllib3[]
test? ( dev-python/mock[] dev-python/pytest-mock[] dev-python/responses[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | mollie-api-python-3.6.0.gh.tar.gz | 89246 bytes | https://github.com/mollie/mollie-api-python/archive/refs/tags/3.6.0.tar.gz |