summaryrefslogtreecommitdiff
path: root/dev-php/phpDocumentor
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/phpDocumentor
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/phpDocumentor')
-rw-r--r--dev-php/phpDocumentor/Manifest8
-rw-r--r--dev-php/phpDocumentor/files/channel.xml16
-rw-r--r--dev-php/phpDocumentor/metadata.xml11
-rw-r--r--dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild41
-rw-r--r--dev-php/phpDocumentor/phpDocumentor-2.8.2.ebuild29
5 files changed, 105 insertions, 0 deletions
diff --git a/dev-php/phpDocumentor/Manifest b/dev-php/phpDocumentor/Manifest
new file mode 100644
index 000000000000..9071ab286d50
--- /dev/null
+++ b/dev-php/phpDocumentor/Manifest
@@ -0,0 +1,8 @@
+AUX channel.xml 807 SHA256 5a195844621966aecf66b68de514bada2024cf945e8a44835e4d92ea4ef751ed SHA512 4b1e3537225621a419ee516d1252394e34201feac5dffa49c21204a3b2314be9f924ecec20fe9d99d386728e4497795658e70e2a9398a778c1ef5bad53c9f7b2 WHIRLPOOL 792095d15b1220b3f62953051dfcb88d526ed89aecdadcabd8564fd90af7324936053b7726dcd68c4bbd0635342e9692a87f23f2143f64805e01a42c3ab2536e
+DIST phpDocumentor-2.7.0.tgz 16118916 SHA256 4d0acb78e6233990595461b70f11db66d91fd38d4e8de5616b788db104caa746 SHA512 068f2470f73ea6940077c23f5565e737d6065e881b9d1456fc617b00c285cc2358773afc16e97e3d9403b5caaaa32a9dcd360bfc91decf349f4b100fee4a9129 WHIRLPOOL 29833d4cdf28f13bb4c78d3d9cb6a6c28acb9a60a1adfa5e6d30b4768afcec157aaecb32b85a75953e987bbda98d717076ebcc723c344af67f4ec32339fe7ba1
+DIST phpDocumentor-2.8.2.phar 33079646 SHA256 1f055bd562b7a209c4f89e865e653576b10a239880e55f423df02ecba4d48c53 SHA512 ef47483147358d423595d6c771971481b99338adeed0f2742ab6856925d3a1d501d4e786aab75cba5dc2306728aef6bf8fc4cfd8ea35d5d9c903f1afa5695c2a WHIRLPOOL c5b551dc3fbcd6b347b24a77ca7378e4301bcbf738f210a0f4b1a0b18d279028787a331c6274963b7c3f7749dba9d4f1993747cebd0be4531add3bce8954f665
+EBUILD phpDocumentor-2.7.0.ebuild 1098 SHA256 6e21cc519d9bfbee16aed2581195ab448c14a364c24b8b581cad80c408a10dae SHA512 07d339f7182972aa060e306d5923c88661a044a789dc2e98f2687e1b40d4b1b23ed7b01fa654ff1a6a3821a5d5009b522eb1e14fd10bd4e007ca91780814403b WHIRLPOOL edd0dd4260f8e53ff5171686b878ed29e8b8ef81fc94d15b4ad4171233cb3894d45022b7fb90b6643a8a4d31bcd4d6c435bc87b8f968b2ab938d8db0ecca3396
+EBUILD phpDocumentor-2.8.2.ebuild 768 SHA256 20df0efc27785ad2c3f2fdf2de8275b7f8b097c6dfff7096f565ece7abc98ad4 SHA512 a1d9449df1f3529e0d5b0bbfc97135344219cedc017c3c69e48780d3c26052a2da3aa5a1467e4aacd06c53261b9e0f1c8f759676b5cb7a37339057292394974e WHIRLPOOL de1315e1af3c926c7195e48de5715d7aa7416865ca57ba3b2d4b9c739484193a6f4b7105055eca1407dd4158b321b5c428a5d1ac28db5ab83d3c649530f1707f
+MISC ChangeLog 2594 SHA256 f23a7a9736c5551f5db75c8866f838318532360156fff0a31d041d17a8dbba76 SHA512 1915a85e70d2b7b5290ddd9ab60efa0dd9222ee9b835770104c7797955294fd86328e5cd9261ad7346fa90fab1be4b49c2ed5c52184a31b325594ea4f3e9f143 WHIRLPOOL cd1380fe6ae860fa52a73f398bc66e742c8499afd3cc2bb821632d32d1dcfcb9c5ffdd2b9622bd975b42a45ce8f4cadd0ca8d45eb58eaededfc02268a7beeac7
+MISC ChangeLog-2015 1330 SHA256 82e2a1a37e6cd77924931f79772a3d8ef943aaab054ccdeb201d3a182cdfd10a SHA512 245ca2e05ad27ced32f95777260eabe9a3d308586113d928673ebf855b535de9b6367b405297a1b54161896440a7e71a653ba1be9ec9d21a9e79bf08296e3a9f WHIRLPOOL a1eed073d6cf0093ff7d72687d3e0b1568b9bd3515cd20a784c50b8c9962e933b18272c076d7365a338f4aa30a85cd1ac8e2b83baa6407763ad87f36fdfc00e3
+MISC metadata.xml 342 SHA256 23723ebc0291d20ac88f04449e68ff5d883e7dc5802e2dc5a4700186c5a3e776 SHA512 100907bbb2b93327787d11f6046e7058a350d9525baab105ff5033a0ed61bf33a1e04f7fc6626b751f40187c981298d636e6c311be514020303cea222ec12e58 WHIRLPOOL e44404f384d47f4d20ebb30c9039577b5c7fc0b3208ecd297faacac6f7c53c4c77c40e3902bb48a361d92b95b5d4fb37f6d2013f66b9d6d35caa2660fa63d20d
diff --git a/dev-php/phpDocumentor/files/channel.xml b/dev-php/phpDocumentor/files/channel.xml
new file mode 100644
index 000000000000..fab798db9a95
--- /dev/null
+++ b/dev-php/phpDocumentor/files/channel.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
+ <name>pear.phpdoc.org</name>
+ <summary>phpdoc PEAR channel</summary>
+ <suggestedalias>phpdoc</suggestedalias>
+ <servers>
+ <primary>
+ <rest>
+ <baseurl type="REST1.0">http://pear.phpdoc.org//rest/</baseurl>
+ <baseurl type="REST1.1">http://pear.phpdoc.org//rest/</baseurl>
+ <baseurl type="REST1.2">http://pear.phpdoc.org//rest/</baseurl>
+ <baseurl type="REST1.3">http://pear.phpdoc.org//rest/</baseurl>
+ </rest>
+ </primary>
+ </servers>
+</channel>
diff --git a/dev-php/phpDocumentor/metadata.xml b/dev-php/phpDocumentor/metadata.xml
new file mode 100644
index 000000000000..5b3f6d868306
--- /dev/null
+++ b/dev-php/phpDocumentor/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ <name>PHP</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">phpDocumentor/phpDocumentor2</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild b/dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild
new file mode 100644
index 000000000000..7e5b156e075d
--- /dev/null
+++ b/dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PHP_PEAR_DOMAIN="pear.phpdoc.org"
+PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
+
+inherit php-pear-r2
+
+DESCRIPTION="Automatic documenting of php api directly from the source"
+SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+# block old version that provides the same binary
+DEPEND="!dev-php/PEAR-PhpDocumentor"
+RDEPEND="media-gfx/graphviz
+ dev-lang/php:*[iconv,intl,xmlreader,xslt]"
+
+src_prepare() {
+ sed -i -e "s~@php_dir@~${EPREFIX}/usr/share/php~" \
+ "${S}/bin/phpdoc" || die
+ eapply_user
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe bin/phpdoc
+ insinto /usr/share/php/${PN}
+ doins -r vendor src/* phpdoc.dist.xml bin/phpdoc.php
+ insinto /usr/share/php/data/${PN}
+ doins -r ansible data features box.json composer.json composer.lock phpmd.xml.dist wercker.yml
+ # install manual, tutorial, reference material
+ use doc && dodoc -r docs/*
+ php-pear-r2_install_packagexml
+ einstalldocs
+}
diff --git a/dev-php/phpDocumentor/phpDocumentor-2.8.2.ebuild b/dev-php/phpDocumentor/phpDocumentor-2.8.2.ebuild
new file mode 100644
index 000000000000..1e4d18cd3495
--- /dev/null
+++ b/dev-php/phpDocumentor/phpDocumentor-2.8.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Automatic documenting of php api directly from the source"
+HOMEPAGE="http://phpdoc.org"
+SRC_URI="https://github.com/${PN}/${PN}2/releases/download/v${PV}/${PN}.phar -> ${P}.phar"
+
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+# block old version that provides the same binary
+DEPEND="!dev-php/PEAR-PhpDocumentor"
+RDEPEND="media-gfx/graphviz
+ dev-lang/php:*[cli,iconv,intl,phar,xmlreader,xslt]"
+S="${WORKDIR}"
+
+src_unpack() { :; }
+
+src_install() {
+ insinto /usr/share/php/${PN}
+ insopts -m755
+ newins "${DISTDIR}/${P}.phar" ${PN}.phar
+ dosym /usr/share/php/${PN}/${PN}.phar /usr/bin/phpdoc
+}