dev-python/Mastodon-py - 2.1.4 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/Mastodon-py-2.1.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/Mastodon-py-2.1.4

Or alternatively:

emerge --autounmask-write -a =dev-python/Mastodon-py-2.1.4

Package Information

Description:
Python wrapper for the Mastodon API
Homepage:
https://github.com/halcy/Mastodon.py https://pypi.org/project/Mastodon.py/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.1.4 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
#PYPI_NO_NORMALIZE=1
PYPI_PN=${PN/-/.}
inherit distutils-r1 pypi
DESCRIPTION="Python wrapper for the Mastodon API"
HOMEPAGE="https://github.com/halcy/Mastodon.py https://pypi.org/project/Mastodon.py/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.rst"

RDEPEND=">=dev-python/requests-2.4.2[${PYTHON_USEDEP}]
	 dev-python/python-dateutil[${PYTHON_USEDEP}]
	 dev-python/python-magic[${PYTHON_USEDEP}]
	 >=dev-python/decorator-4.0.0[${PYTHON_USEDEP}]
	 >=dev-python/blurhash-1.1.4[${PYTHON_USEDEP}]"
	
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
		dev-python/pytest-cov[${PYTHON_USEDEP}]
		dev-python/vcrpy[${PYTHON_USEDEP}]
		dev-python/pytest-recording[${PYTHON_USEDEP}]
		dev-python/pytest-mock[${PYTHON_USEDEP}]
		dev-python/requests-mock[${PYTHON_USEDEP}]
		dev-python/pytz[${PYTHON_USEDEP}]
		dev-python/pytest-retry[${PYTHON_USEDEP}]
	)
"

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/Mastodon-py | euse -E <flag> -p dev-python/Mastodon-py | euse -D <flag> -p dev-python/Mastodon-py

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/requests-2.4.2[]
	 dev-python/python-dateutil[]
	 dev-python/python-magic[]
	 >=dev-python/decorator-4.0.0[]
	 >=dev-python/blurhash-1.1.4[]

BDEPEND

	test? (
		dev-python/pytest[]
		dev-python/pytest-cov[]
		dev-python/vcrpy[]
		dev-python/pytest-recording[]
		dev-python/pytest-mock[]
		dev-python/requests-mock[]
		dev-python/pytz[]
		dev-python/pytest-retry[]
	)