commit:     4cb2d935fc113150329d82ad1c1ca9ffb7d0a4b6
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  8 18:44:50 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Apr  8 18:45:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb2d935

dev-php/PEAR-Math_BigInteger: new revision sans PEAR dependency.

Gentoo-Bug: 614892

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../PEAR-Math_BigInteger-1.0.3-r1.ebuild           | 27 ++++++++++++++++++++++
 .../PEAR-Math_BigInteger-1.0.3.ebuild              | 15 ------------
 dev-php/PEAR-Math_BigInteger/metadata.xml          |  8 +++----
 3 files changed, 31 insertions(+), 19 deletions(-)

diff --git a/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3-r1.ebuild 
b/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3-r1.ebuild
new file mode 100644
index 00000000000..5aad8825179
--- /dev/null
+++ b/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-PHP arbitrary precision integer arithmetic library"
+HOMEPAGE="http://pear.php.net/package/${MY_PN}
+       http://phpseclib.sourceforge.net/documentation/math.html";
+SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz";
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+DEPEND=""
+RDEPEND="dev-lang/php:*"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+       insinto /usr/share/php
+       doins -r Math
+
+       dodoc demo/{benchmark,demo}.php
+}

diff --git a/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3.ebuild 
b/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3.ebuild
deleted file mode 100644
index 10f66b77e0e..00000000000
--- a/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit php-pear-r1
-
-DESCRIPTION="Pure-PHP arbitrary precision integer arithmetic library"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/php-5.3.0"

diff --git a/dev-php/PEAR-Math_BigInteger/metadata.xml 
b/dev-php/PEAR-Math_BigInteger/metadata.xml
index aca42932b83..04d9b1663bd 100644
--- a/dev-php/PEAR-Math_BigInteger/metadata.xml
+++ b/dev-php/PEAR-Math_BigInteger/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer type="project">
-       <email>[email protected]</email>
-       <name>PHP</name>
-</maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>PHP</name>
+  </maintainer>
 </pkgmetadata>

Reply via email to