mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-python/mastodon-py: add 2.2.1, drop 2.0.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1 parent
f5335bd6e2
commit
21f2a0184a
2 files changed
+13
-21
No files matched your search
@@ -1,2 +1,2 @@
|
||||
DIST mastodon_py-2.0.1.tar.gz 10988936 BLAKE2B 237e81a0501db59acb066cb156cddf9898265b7dc988c1edee451f4f9c5fb4f97629b2dfc561ce42e5d1e5858e00a916b56d002acbbe2891b4bb4d57e05661da SHA512 7aff1f6cf6c159d9ab95ff9d44aa1249c8db1536121fc5cd88ff0c46c22b23efb0c4857d6c6a744630b23804504b6d7886848ca194957dd524b4b014dadcd5e3
|
||||
DIST mastodon_py-2.1.4.tar.gz 11636752 BLAKE2B 9e001da9d17b93e2ab8fbabcd7a8f2a19380aad76811acda15556e8a5bf7f38dc432d027f9e47ce7f8bf778aaff12df6f81ef3a953e9b06bcd1f8d80779d6f6f SHA512 cfb4515a24e69df16d320630157e1b32a99203fca8a56ab5c5f93b5585c56d1034a0520af276b384779bdfe2cc6d16451932e4014e005d756fd2c335de84bf00
|
||||
DIST mastodon_py-2.2.1.tar.gz 11737599 BLAKE2B 6e4eeaba2e63a39ce039f06e10ce374296e115f2f4b76ddaa6a0bff653d9ca9eb084d924f81bc009609cf6f2bc60a80e8d766554b543b21a28c1aa4f9c4a2127 SHA512 8ab761fd907b5e4f205d61792e70598e75cc6844169410d8cebcf34b3a97626727febfcc335576b55a60e65c12f6ce88c1b5d2f0c33ebae12e8d3b89ceafcadb
|
||||
+12
-20
@@ -4,9 +4,9 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
PYPI_PN="Mastodon.py"
|
||||
inherit distutils-r1 optfeature pypi
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python wrapper for the Mastodon API"
|
||||
HOMEPAGE="
|
||||
@@ -17,39 +17,35 @@ HOMEPAGE="
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="blurhash crypt grapheme"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/blurhash-1.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/decorator-4.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.4.2[${PYTHON_USEDEP}]
|
||||
blurhash? ( >=dev-python/blurhash-1.1.4[${PYTHON_USEDEP}] )
|
||||
crypt? (
|
||||
>=dev-python/cryptography-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/http-ece-1.0.5[${PYTHON_USEDEP}]
|
||||
)
|
||||
grapheme? (
|
||||
>=dev-python/grapheme-0.7.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/cryptography-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/http-ece-1.0.5[${PYTHON_USEDEP}]
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/vcrpy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.0.1-tests.patch )
|
||||
|
||||
EPYTEST_PLUGINS=(
|
||||
pytest-mock
|
||||
pytest-recording
|
||||
requests-mock
|
||||
)
|
||||
EPYTEST_XDIST=1
|
||||
EEPYTEST_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
|
||||
|
||||
@@ -59,7 +55,3 @@ distutils_enable_sphinx docs \
|
||||
python_test() {
|
||||
epytest -o addopts=
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "webpush support" "dev-python/cryptography dev-python/http-ece"
|
||||
}
|
||||
Reference in new issue
Block a user