Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-python/pymediainfo: bump to 2.1.3, add doc #1401

Closed
wants to merge 2 commits into from

Conversation

sbraz
Copy link
Member

@sbraz sbraz commented May 4, 2016

@idella or @monsieurp
There is one warning during the doc build, I've fixed it upstream.

--- pymediainfo-2.1.2.ebuild    2016-05-01 23:32:09.713745645 +0200
+++ pymediainfo-2.1.3.ebuild    2016-05-04 12:46:55.369674125 +0200
@@ -15,17 +15,27 @@
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
+IUSE="doc test"

 RDEPEND="media-libs/libmediainfo"
 DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
+       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
        test? (
                ${RDEPEND}
                dev-python/nose[${PYTHON_USEDEP}]
        )
 "

+python_compile_all() {
+       use doc && esetup.py build_sphinx
+}
+
 python_test() {
        nosetests tests || die "tests failed with ${EPYTHON}"
 }
+
+python_install_all() {
+       use doc && local HTML_DOCS=( docs/_build/html/. )
+       distutils-r1_python_install_all
+}

sbraz added 2 commits May 4, 2016 12:46
Package-Manager: portage-2.2.28
Package-Manager: portage-2.2.28
@gentoo-bot gentoo-bot closed this in 24a1f96 May 5, 2016
gentoo-bot pushed a commit that referenced this pull request May 5, 2016
Package-Manager: portage-2.2.28
Closes: #1401

Signed-off-by: Ian Delaney <idella4@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant