summaryrefslogtreecommitdiff
path: root/dev-python/plexapi/plexapi-4.15.14.ebuild
blob: b1050ad4b03cc10d6e7d53ff14906fe7fb60e28b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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_{8,9,10,11,12} )

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