commit:     fcd2562b0f203c3133738d93536d28adfff691bb
Author:     Adrian Grigo <agrigo2001 <AT> yahoo <DOT> com <DOT> au>
AuthorDate: Fri Aug 28 02:00:58 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep  1 10:30:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd2562b

media-libs/partio: Correct zlib subslot operator and add BDEPEND

Zlib uses a subslot 0/1, so use the := operator to ensure partio
recompiles when zlib changes subslots.

Swig and the doc dependencies are moved to bdepend.

All dependencies have been sorted.

Signed-off-by: Adrian Grigo <agrigo2001 <AT> yahoo.com.au>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/partio/partio-1.1.0_p20170829.ebuild |  8 +++++---
 media-libs/partio/partio-1.10.1.ebuild          | 13 +++++++------
 media-libs/partio/partio-1.5.4.ebuild           | 14 ++++++++------
 media-libs/partio/partio-9999.ebuild            | 14 ++++++++------
 4 files changed, 28 insertions(+), 21 deletions(-)

diff --git a/media-libs/partio/partio-1.1.0_p20170829.ebuild 
b/media-libs/partio/partio-1.1.0_p20170829.ebuild
index 15ae1729b23..df16e2b84cf 100644
--- a/media-libs/partio/partio-1.1.0_p20170829.ebuild
+++ b/media-libs/partio/partio-1.1.0_p20170829.ebuild
@@ -20,11 +20,14 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
        media-libs/freeglut
-       virtual/opengl
        sys-libs/zlib:=
+       virtual/opengl
 "
 
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+       dev-lang/swig
        doc? (
                app-doc/doxygen
                dev-texlive/texlive-bibtexextra
@@ -33,7 +36,6 @@ DEPEND="${RDEPEND}
                dev-texlive/texlive-latex
                dev-texlive/texlive-latexextra
        )
-       dev-lang/swig:*
 "
 
 PATCHES=( "${FILESDIR}/${PN}-1.1.0-Rename-partconv.patch" )

diff --git a/media-libs/partio/partio-1.10.1.ebuild 
b/media-libs/partio/partio-1.10.1.ebuild
index 80c7e983dc0..670bbd70b48 100644
--- a/media-libs/partio/partio-1.10.1.ebuild
+++ b/media-libs/partio/partio-1.10.1.ebuild
@@ -22,6 +22,13 @@ SLOT="0"
 IUSE="doc"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+RDEPEND="${PYTHON_DEPS}
+       media-libs/freeglut
+       sys-libs/zlib:=
+       virtual/opengl
+"
+DEPEND="${RDEPEND}"
+
 BDEPEND="
        dev-lang/swig
        doc? (
@@ -33,12 +40,6 @@ BDEPEND="
                dev-texlive/texlive-latexextra
        )
 "
-RDEPEND="${PYTHON_DEPS}
-       media-libs/freeglut
-       sys-libs/zlib
-       virtual/opengl
-"
-DEPEND="${RDEPEND}"
 
 src_configure() {
        local mycmakeargs=(

diff --git a/media-libs/partio/partio-1.5.4.ebuild 
b/media-libs/partio/partio-1.5.4.ebuild
index 0a25a1e6946..8290291a008 100644
--- a/media-libs/partio/partio-1.5.4.ebuild
+++ b/media-libs/partio/partio-1.5.4.ebuild
@@ -22,6 +22,14 @@ SLOT="0"
 IUSE="doc"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+RDEPEND="${PYTHON_DEPS}
+       media-libs/freeglut
+       sys-libs/zlib:=
+       virtual/opengl
+"
+
+DEPEND="${RDEPEND}"
+
 BDEPEND="
        dev-lang/swig
        doc? (
@@ -33,12 +41,6 @@ BDEPEND="
                dev-texlive/texlive-latexextra
        )
 "
-RDEPEND="${PYTHON_DEPS}
-       media-libs/freeglut
-       sys-libs/zlib
-       virtual/opengl
-"
-DEPEND="${RDEPEND}"
 
 src_configure() {
        local mycmakeargs=(

diff --git a/media-libs/partio/partio-9999.ebuild 
b/media-libs/partio/partio-9999.ebuild
index 80c7e983dc0..bfe67c28fe5 100644
--- a/media-libs/partio/partio-9999.ebuild
+++ b/media-libs/partio/partio-9999.ebuild
@@ -22,6 +22,14 @@ SLOT="0"
 IUSE="doc"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+RDEPEND="${PYTHON_DEPS}
+       media-libs/freeglut
+       sys-libs/zlib:=
+       virtual/opengl
+"
+
+DEPEND="${RDEPEND}"
+
 BDEPEND="
        dev-lang/swig
        doc? (
@@ -33,12 +41,6 @@ BDEPEND="
                dev-texlive/texlive-latexextra
        )
 "
-RDEPEND="${PYTHON_DEPS}
-       media-libs/freeglut
-       sys-libs/zlib
-       virtual/opengl
-"
-DEPEND="${RDEPEND}"
 
 src_configure() {
        local mycmakeargs=(

Reply via email to