Files
guru/dev-python/plexapi/plexapi-4.18.2.ebuild
T
David Roman 59f98117e4 */*: disable py3.12 && remove dead impls
Disable py3.12 except for packages which only had py3.12 in PYTHON_COMPAT

Signed-off-by: David Roman <stkw0@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/161
2026-11-03 14:42:49 +01:00

38 lines
802 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# left here in case we switch to pypi
PYPI_PN="PlexAPI"
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{13..14} )
inherit distutils-r1
DESCRIPTION="Python bindings for the Plex API"
HOMEPAGE="
https://pypi.org/project/PlexAPI/
https://github.com/pkkid/python-plexapi
"
# pypi release don't have docs
SRC_URI="https://github.com/pkkid/python-plexapi/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/python-${P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# almost all tests requires a running server
RESTRICT="test"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
"
BDEPEND="doc? ( dev-python/sphinx-rtd-theme )"
distutils_enable_sphinx docs