dev-python/mastodon-py: drop 1.8.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2025-04-21 15:42:53 +05:00
parent 2fd985ff1c
commit d91bc48fb0
2 changed files with 0 additions and 63 deletions

View File

@@ -1,2 +1 @@
DIST Mastodon.py-1.8.1.tar.gz 8694359 BLAKE2B d3b8d2196199eeaeb0377c8503e763099943142c58b5b45bbbb86a38c0629ea6ee6427b53c989267a13d4d2a0c104635387ffef96d05d7dfa7dd8c2756e8704b SHA512 812bfdcb1a59a06376bfb48798b43cac9dc9390781b3949e4b3d751ec0530b25b187e688c7cfc18eff6d5bb23c9bf442bce5f6902727331e8bc550e310dab94c
DIST mastodon_py-2.0.1.tar.gz 10988936 BLAKE2B 237e81a0501db59acb066cb156cddf9898265b7dc988c1edee451f4f9c5fb4f97629b2dfc561ce42e5d1e5858e00a916b56d002acbbe2891b4bb4d57e05661da SHA512 7aff1f6cf6c159d9ab95ff9d44aa1249c8db1536121fc5cd88ff0c46c22b23efb0c4857d6c6a744630b23804504b6d7886848ca194957dd524b4b014dadcd5e3

View File

@@ -1,62 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
PYPI_NO_NORMALIZE=1
PYPI_PN="Mastodon.py"
inherit distutils-r1 optfeature pypi
DESCRIPTION="Python wrapper for the Mastodon API"
HOMEPAGE="
https://pypi.org/project/Mastodon.py/
https://github.com/halcy/Mastodon.py
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/blurhash[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/http-ece[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-vcr[${PYTHON_USEDEP}]
dev-python/requests-mock[${PYTHON_USEDEP}]
dev-python/vcrpy[${PYTHON_USEDEP}]
)
"
EPYTEST_DESELECT=(
# something related to simplejson
tests/test_notifications.py::test_notifications_dismiss_pre_2_9_2
tests/test_status.py::test_status_card_pre_2_9_2
# requires PROPERTIES="test_network"
tests/test_streaming.py::test_stream_user_direct
tests/test_streaming.py::test_stream_user_local
)
distutils_enable_tests pytest
distutils_enable_sphinx docs
src_prepare() {
distutils-r1_src_prepare
rm setup.cfg || die
}
pkg_postinst() {
optfeature "webpush support" "dev-python/cryptography dev-python/http-ece"
}