mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/moddb: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST moddb-0.11.0.gh.tar.gz 10528613 BLAKE2B 109c1758362e2655209173d581f1234f15725b8d0b25ed8024ecdfc4da45e30530c87fa9b8a19b556f4cfa60549c38bc552751a39a5dad28f04e58f53d1f484f SHA512 fe064fb7b02553d614477f122013c98257c6fd4d428538681ea97706425480d7fb4a25f49b8673dfba706e33766420c930cee1fae0c93a6b3d2f766b609596ca
|
||||
DIST moddb-0.12.0.gh.tar.gz 10528424 BLAKE2B 48a41ee5d150afffbde459bc44c0edb2056cb3674966193a595bc2d6c467746029e3741e9a107edfee3177a5135f2fd5ea040e8d15e1ab88f9c0d0c9bd2cb9f2 SHA512 2c31724093bfcb45c95cf29ae5ad430f77c0061a7d3588688a755101b50a79034c5bf633df5d9a032fa21deb5a8aab12d491289b6937ce1011fe67860c5c769c
|
||||
|
||||
@@ -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..13} )
|
||||
|
||||
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
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user