summaryrefslogtreecommitdiff
path: root/dev-python/mollie-api-python
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/mollie-api-python
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/mollie-api-python')
-rw-r--r--dev-python/mollie-api-python/Manifest1
-rw-r--r--dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch13
-rw-r--r--dev-python/mollie-api-python/metadata.xml8
-rw-r--r--dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild48
4 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/mollie-api-python/Manifest b/dev-python/mollie-api-python/Manifest
new file mode 100644
index 000000000000..a82e8dbc606f
--- /dev/null
+++ b/dev-python/mollie-api-python/Manifest
@@ -0,0 +1 @@
+DIST mollie-api-python-3.6.0.gh.tar.gz 89246 BLAKE2B 57e816fc67c65d079a430a19641a1341d8e9276a363865d9533949d4b81daa59a5c2d87741f919952c6fea0dd36e3f5344a574b97a454b68a8101cd63319d667 SHA512 e3e2e5844172d2b117a1e5a89714bf9d59251fe83a68b565dec00362b7c0c68aeb291559e9a745cc3ad083441423f82624df95da92e49beea586caabbc236411
diff --git a/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch b/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch
new file mode 100644
index 000000000000..782e078f7efe
--- /dev/null
+++ b/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index 3c0d5dc..da6d0e0 100644
+--- a/setup.py
++++ b/setup.py
+@@ -30,7 +30,7 @@ setup(
+ license="BSD",
+ long_description=get_long_description(),
+ long_description_content_type="text/markdown",
+- packages=find_packages(),
++ packages=find_packages(exclude=["tests"]),
+ include_package_data=True,
+ package_data={
+ "mollie": ["py.typed"],
diff --git a/dev-python/mollie-api-python/metadata.xml b/dev-python/mollie-api-python/metadata.xml
new file mode 100644
index 000000000000..443235ca396b
--- /dev/null
+++ b/dev-python/mollie-api-python/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">mollie/mollie-api-python</remote-id>
+ <remote-id type="pypi">mollie-api-python</remote-id>
+ </upstream>
+</pkgmetadata>
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..caff655c0e05
--- /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_{13..14} )
+
+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
+}