dev-ml/camlimages: drop doc useflag, upstream removed source files, bug #617796
authorAlexis Ballier <aballier@gentoo.org>
Wed, 10 May 2017 08:22:06 +0000 (10:22 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 10 May 2017 08:22:06 +0000 (10:22 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-ml/camlimages/camlimages-4.2.2.ebuild
dev-ml/camlimages/camlimages-4.2.3.ebuild

index 786c980df2b536a47edf71fa6251757bd5f00e4a..8f825c780a51d121a9dd67347505f71fc2ff7357 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.
 LICENSE="LGPL-2.1"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ppc x86"
-IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm"
+IUSE="exif gif gtk jpeg png postscript tiff truetype X xpm"
 
 RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
        exif? ( media-libs/libexif )
@@ -28,7 +28,6 @@ RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
        sys-libs/zlib
        "
 DEPEND="${DEPEND}
-       doc? ( dev-python/sphinx[latex] )
        dev-util/omake
        virtual/pkgconfig
        dev-ml/findlib"
@@ -51,15 +50,10 @@ src_compile() {
                $(camlimages_arg_want truetype    FREETYPE) \
                PATH_GS=/bin/true \
                --force-dotomake || die
-
-       if use doc ; then
-               sphinx-build doc/sphinx sphinxdoc || die
-       fi
 }
 
 src_install() {
        findlib_src_preinst
        omake --force-dotomake DESTDIR="${D}" install || die
        dodoc README.md
-       use doc && dohtml -r sphinxdoc/*
 }
index 5d3df3e17c6373b19323213a7a082722f0c9884e..9be34cb0db7b86d1026b23150be6b579cf2ba726 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.
 LICENSE="LGPL-2.1"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm"
+IUSE="exif gif gtk jpeg png postscript tiff truetype X xpm"
 
 RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
        exif? ( media-libs/libexif )
@@ -28,7 +28,6 @@ RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
        sys-libs/zlib
        "
 DEPEND="${DEPEND}
-       doc? ( dev-python/sphinx[latex] )
        dev-util/omake
        virtual/pkgconfig
        dev-ml/findlib"
@@ -51,15 +50,10 @@ src_compile() {
                $(camlimages_arg_want truetype    FREETYPE) \
                PATH_GS=/bin/true \
                --force-dotomake || die
-
-       if use doc ; then
-               sphinx-build doc/sphinx sphinxdoc || die
-       fi
 }
 
 src_install() {
        findlib_src_preinst
        omake --force-dotomake DESTDIR="${D}" install || die
        dodoc README.md
-       use doc && dohtml -r sphinxdoc/*
 }