Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Structures_Graph/
Date: Thu, 28 Jul 2016 14:45:31
Message-Id: 1469716666.fa948787faf14ce126453b4da67b888fa3861e4c.mjo@gentoo
1 commit: fa948787faf14ce126453b4da67b888fa3861e4c
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 28 14:14:31 2016 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 28 14:37:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa948787
7
8 dev-php/PEAR-Structures_Graph: new revision to clean up dependencies.
9
10 This package had a build-time dependency on dev-lang/php that was
11 intended to be a runtime dependency; now fixed. There were also
12 redundant dependencies on dev-php/pear and dev-php/PEAR-PEAR (which
13 are the same, for all intents and purposes). The dev-php/pear
14 dependency has been removed in favor of a single PDEPEND on
15 dev-php/PEAR-PEAR.
16
17 Package-Manager: portage-2.2.28
18
19 .../PEAR-Structures_Graph-1.1.1-r1.ebuild | 27 +++++++++++++++++
20 .../PEAR-Structures_Graph-1.1.1.ebuild | 34 ----------------------
21 2 files changed, 27 insertions(+), 34 deletions(-)
22
23 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
24 new file mode 100644
25 index 0000000..2179244
26 --- /dev/null
27 +++ b/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1-r1.ebuild
28 @@ -0,0 +1,27 @@
29 +# Copyright 1999-2016 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +# $Id$
32 +
33 +EAPI=6
34 +
35 +MY_PN="${PN/PEAR-/}"
36 +MY_P="${MY_PN}-${PV}"
37 +
38 +DESCRIPTION="Graph datastructure manipulation library"
39 +HOMEPAGE="http://pear.php.net/package/${MY_PN}"
40 +SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
41 +LICENSE="LGPL-2.1"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
44 +IUSE=""
45 +
46 +DEPEND=""
47 +RDEPEND="dev-lang/php:*"
48 +PDEPEND="dev-php/PEAR-PEAR"
49 +
50 +S="${WORKDIR}/${MY_P}"
51 +
52 +src_install() {
53 + insinto /usr/share/php
54 + doins -r Structures
55 +}
56
57 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
58 deleted file mode 100644
59 index facc50b..0000000
60 --- a/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1.ebuild
61 +++ /dev/null
62 @@ -1,34 +0,0 @@
63 -# Copyright 1999-2015 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -# $Id$
66 -
67 -# BIG FAT WARNING!
68 -# Do not use any pear eclass here since pear itself depends on this package.
69 -# Using the pear eclass will thus create a circular dependency
70 -
71 -EAPI="5"
72 -
73 -MY_PN="${PN/PEAR-/}"
74 -MY_P="${MY_PN}-${PV}"
75 -
76 -DESCRIPTION="Graph datastructure manipulation library"
77 -
78 -LICENSE="LGPL-2.1"
79 -SLOT="0"
80 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
81 -IUSE=""
82 -SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
83 -DEPEND=">=dev-lang/php-5.3:*[pcre(+)]
84 - >=dev-php/PEAR-PEAR-1.8.1"
85 -RDEPEND="${DEPEND}"
86 -PDEPEND="dev-php/pear"
87 -HOMEPAGE="http://pear.php.net/package/Structures_Graph"
88 -
89 -S="${WORKDIR}/${MY_P}"
90 -
91 -src_install() {
92 - insinto /usr/share/php
93 - doins -r Structures
94 -# Currently empty except for a sudo-html file
95 -# dohtml -r docs/html/*
96 -}