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
This commit is contained in:
Michael Orlitzky
2016-07-28 10:14:31 -04:00
parent 58dfcd33e7
commit fa948787fa
2 changed files with 27 additions and 34 deletions

View File

@@ -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
}

View File

@@ -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/*
}