summaryrefslogtreecommitdiff
path: root/dev-python/moddb
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/moddb')
-rw-r--r--dev-python/moddb/Manifest1
-rw-r--r--dev-python/moddb/moddb-0.12.0.ebuild52
-rw-r--r--dev-python/moddb/moddb-0.13.0.ebuild5
3 files changed, 1 insertions, 57 deletions
diff --git a/dev-python/moddb/Manifest b/dev-python/moddb/Manifest
index 3cefff26484d..89962b430830 100644
--- a/dev-python/moddb/Manifest
+++ b/dev-python/moddb/Manifest
@@ -1,2 +1 @@
-DIST moddb-0.12.0.gh.tar.gz 10528424 BLAKE2B 48a41ee5d150afffbde459bc44c0edb2056cb3674966193a595bc2d6c467746029e3741e9a107edfee3177a5135f2fd5ea040e8d15e1ab88f9c0d0c9bd2cb9f2 SHA512 2c31724093bfcb45c95cf29ae5ad430f77c0061a7d3588688a755101b50a79034c5bf633df5d9a032fa21deb5a8aab12d491289b6937ce1011fe67860c5c769c
DIST moddb-0.13.0.gh.tar.gz 10529388 BLAKE2B ea645d8bbbfaee9919be4e7dda56e5aa2701c765f43324214f9ce81f9a54f698c4e2a25aab4d389736523f3054ae7c8cde6037b487ba55c4981d8ca59c2f1b15 SHA512 51972d3fd1099f29cb82bd58c98e5542f9d7337aff7b56ff49882a8544337a36e62a0ca0499b8180a054a21b9d836da429caf78ba4752b06b0ff7a1ab4b95f73
diff --git a/dev-python/moddb/moddb-0.12.0.ebuild b/dev-python/moddb/moddb-0.12.0.ebuild
deleted file mode 100644
index f905630d698f..000000000000
--- a/dev-python/moddb/moddb-0.12.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..14} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python scrapper to access ModDB mods, games and more as objects"
-HOMEPAGE="https://github.com/ClementJ18/moddb"
-SRC_URI="https://github.com/ClementJ18/moddb/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Connects to moddb.com
-RESTRICT="test"
-PROPERTIES="test? ( test_network )"
-
-RDEPEND="
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-
-BDEPEND="test? (
- dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
-)"
-
-EPYTEST_DESELECT=(
- # These tests require valid moddb.com login information
- "tests/test_base.py::TestLogin::test_login"
- "tests/test_client.py::TestClient::test_get_watched"
- "tests/test_client.py::TestClient::test_get_updates"
- "tests/test_client.py::TestClient::test_posts"
- "tests/test_client.py::TestClient::test_friends"
- "tests/test_client.py::TestClient::test_messages"
-)
-
-distutils_enable_sphinx docs/source dev-python/sphinx-autodoc-typehints
-distutils_enable_tests pytest
-
-python_test() {
- # Dummy moddb.com login information
- export USERNAME="portage"
- export SENDER_USERNAME="portage"
- export PASSWORD="testing"
- export SENDER_PASSWORD="testing"
- epytest
-}
diff --git a/dev-python/moddb/moddb-0.13.0.ebuild b/dev-python/moddb/moddb-0.13.0.ebuild
index 96fa22ba0b46..c5c8297ac688 100644
--- a/dev-python/moddb/moddb-0.13.0.ebuild
+++ b/dev-python/moddb/moddb-0.13.0.ebuild
@@ -25,10 +25,6 @@ RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
"
-BDEPEND="test? (
- dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
-)"
-
EPYTEST_DESELECT=(
# These tests require valid moddb.com login information
"tests/test_base.py::TestLogin::test_login"
@@ -40,6 +36,7 @@ EPYTEST_DESELECT=(
)
distutils_enable_sphinx docs/source dev-python/sphinx-autodoc-typehints
+EPYTEST_PLUGINS=( pytest-rerunfailures )
distutils_enable_tests pytest
python_test() {