commit:     0bce2dc02b86aa937cc4f4902c6c6a62f8edc45b
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Apr 19 09:57:33 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Apr 19 10:04:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0bce2dc0

dev-python/plexapi: fix docs installation

Closes: https://bugs.gentoo.org/930233
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-python/plexapi/Manifest               | 2 +-
 dev-python/plexapi/plexapi-4.15.11.ebuild | 9 ++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/plexapi/Manifest b/dev-python/plexapi/Manifest
index 47def69def..f66b9c343a 100644
--- a/dev-python/plexapi/Manifest
+++ b/dev-python/plexapi/Manifest
@@ -1 +1 @@
-DIST PlexAPI-4.15.11.tar.gz 151839 BLAKE2B 
3ee67dc00cd948d85742a03aa4bd5072a147eed586b02790565edccda2f8d73d46a7f002c862eec91772e8f0ec7f7349c32065acd2a8d2599e4a98d2eea403aa
 SHA512 
ccfac639a74f97ff4d22be3f649abbc5d8e0df5fef3df713d559c48277afa6d23e759dd7c796e25da634b0890d5994b782436eeafcf0a6174c422193d47dd5c0
+DIST plexapi-4.15.11.gh.tar.gz 22519567 BLAKE2B 
20f5e3d426475c63aa39f960838a0501abbf6af6f2c214163825e53d052076cd8a8ba982eafe0faa9971d0b6f857a266f092a3d4fb3b6cb7fff8c7f9380f4e03
 SHA512 
c68b414aa9262c3505dc2490c38e8d5dd896970f4df7fe8d382a0c5f2276ecc9833767e243b596c4f0f625e6d8984f5f89790fe7a71e9b6cab1c439f26b9cde1

diff --git a/dev-python/plexapi/plexapi-4.15.11.ebuild 
b/dev-python/plexapi/plexapi-4.15.11.ebuild
index 802c262298..a97cbd886b 100644
--- a/dev-python/plexapi/plexapi-4.15.11.ebuild
+++ b/dev-python/plexapi/plexapi-4.15.11.ebuild
@@ -3,12 +3,13 @@
 
 EAPI=8
 
+# left here in case we switch to pypi
 PYPI_PN="PlexAPI"
 PYPI_NO_NORMALIZE=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10,11,12} )
 
-inherit distutils-r1 pypi
+inherit distutils-r1
 
 DESCRIPTION="Python bindings for the Plex API."
 HOMEPAGE="
@@ -16,6 +17,10 @@ HOMEPAGE="
        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"
@@ -27,4 +32,6 @@ RDEPEND="
        dev-python/requests[${PYTHON_USEDEP}]
 "
 
+BDEPEND="doc? ( dev-python/sphinx-rtd-theme )"
+
 distutils_enable_sphinx docs

Reply via email to