commit:     fa948787faf14ce126453b4da67b888fa3861e4c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 14:14:31 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 14:37:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa948787

dev-php/PEAR-Structures_Graph: new revision to clean up dependencies.

This package had a build-time dependency on dev-lang/php that was
intended to be a runtime dependency; now fixed. There were also
redundant dependencies on dev-php/pear and dev-php/PEAR-PEAR (which
are the same, for all intents and purposes). The dev-php/pear
dependency has been removed in favor of a single PDEPEND on
dev-php/PEAR-PEAR.

Package-Manager: portage-2.2.28

 .../PEAR-Structures_Graph-1.1.1-r1.ebuild          | 27 +++++++++++++++++
 .../PEAR-Structures_Graph-1.1.1.ebuild             | 34 ----------------------
 2 files changed, 27 insertions(+), 34 deletions(-)

diff --git 
a/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1-r1.ebuild 
b/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1-r1.ebuild
new file mode 100644
index 0000000..2179244
--- /dev/null
+++ b/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Graph datastructure manipulation library"
+HOMEPAGE="http://pear.php.net/package/${MY_PN}";
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz";
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*"
+PDEPEND="dev-php/PEAR-PEAR"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+       insinto /usr/share/php
+       doins -r Structures
+}

diff --git a/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1.ebuild 
b/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1.ebuild
deleted file mode 100644
index facc50b..0000000
--- a/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# BIG FAT WARNING!
-# Do not use any pear eclass here since pear itself depends on this package.
-# Using the pear eclass will thus create a circular dependency
-
-EAPI="5"
-
-MY_PN="${PN/PEAR-/}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Graph datastructure manipulation library"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz";
-DEPEND=">=dev-lang/php-5.3:*[pcre(+)]
-               >=dev-php/PEAR-PEAR-1.8.1"
-RDEPEND="${DEPEND}"
-PDEPEND="dev-php/pear"
-HOMEPAGE="http://pear.php.net/package/Structures_Graph";
-
-S="${WORKDIR}/${MY_P}"
-
-src_install() {
-       insinto /usr/share/php
-       doins -r Structures
-# Currently empty except for a sudo-html file
-#      dohtml -r docs/html/*
-}

Reply via email to