diff options
Diffstat (limited to 'dev-php/php-codebrowser')
-rw-r--r-- | dev-php/php-codebrowser/Manifest | 6 | ||||
-rw-r--r-- | dev-php/php-codebrowser/files/channel.xml | 16 | ||||
-rw-r--r-- | dev-php/php-codebrowser/metadata.xml | 11 | ||||
-rw-r--r-- | dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild | 44 |
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-php/php-codebrowser/Manifest b/dev-php/php-codebrowser/Manifest new file mode 100644 index 000000000000..91081318a52f --- /dev/null +++ b/dev-php/php-codebrowser/Manifest @@ -0,0 +1,6 @@ +AUX channel.xml 804 SHA256 1a1bda346c1bcc3b6cb7e3c09a4834ef90907b7129c92b5f22e9ebdd76194421 SHA512 44f5d66b967cff45b87795609e6dd14443a4ce5ae8f3430a281429ba21e834bc3feb7f539fb6cd8349017eb301054a33dfcd7062d58f9fd0c1c7cd1892580092 WHIRLPOOL deaf8795ba0d42584d0f924c1724edcff221859414d80c60325e47cb68ba600889fbf83dfad21198f146ada6cb21c9b9b11f9809fa04a73416aee098e377ebec +DIST PHP_CodeBrowser-1.0.2.tgz 171746 SHA256 b8fffc731efe2c26ac1a1cf5341a9bb4877491f38182cd2adabcb4ecc3fd5d49 SHA512 6b0a174e25ae76f8218856ee52dcb78a09bfe4084f79c241d6ef5f90ffb2c7cee68aa6557717f26a3ce91b09b0b15cd75352f4f59e04e9a74f7a4a9ed33e2c89 WHIRLPOOL 101abacf3d7ee1cd1759dc7b8f30ba6f056d7123180544c10e85f9f13d20a1630b853ef584cf29deddf38380b605d37168976c660df233a6c27f1465f21f845d +EBUILD php-codebrowser-1.0.2-r1.ebuild 1189 SHA256 34cc0f0846b980f1e5b6bb7cf5a0f31c7ff1ac40398da05ac6deda479ce08be3 SHA512 b0ae0e62ceee529f5e7d5e88b5d30ff1300693dc188ebf3cb2fc11200dfa0c7bad7d38dfe94d3f7cb284d5bad5e4bce7b60f425d921fd94efba63eb827996adb WHIRLPOOL f65e4a20e9ae1f962f7eef93ca8780d2d18dde095c9aa62ffb5453d421ca71278dc31a97fb4335c0f0c8ec87fa336494e2c1d296782c15dd3bdaac76770da69b +MISC ChangeLog 2987 SHA256 cd153dc644ef82083a9faeebd555ad273ce978d42b5c986ca13eaa2d5c65a820 SHA512 b9439985f8d51f9ca2b5c7f1c7fbccec3012a18cd181539ada090e4cde356502911122747eddad0bafa056fbd93df1a8347eb17b983bd61546e360588d43d3b3 WHIRLPOOL 6af4eb2b89a882d28924debe6f2e98b776a2b1833af661788d198a59a7bbf1710d9da3410c46f01a8bea571beab6d254efb5bbde33365f8e81881c99ce326852 +MISC ChangeLog-2015 869 SHA256 8d35a5d7af5fcc4bb9e24011712b001ff5af7092b59b2bef83ad7e6dd4cfc949 SHA512 4b244827e208972bf84bca970c5a526ee48706e8bad4a88182055b3082168aace13b08489cfc513dee9a8d5d0ca30ca16ab52943e40689db8efedd24321c21c1 WHIRLPOOL 72f55353a272127446a85e68487ee5d6d1b039171c5ad338c91b45602f1ce561a3db159e66d78ea7ddb44733958f27e5c4f2bc5bedc8ee3a39fe6727c1f1e2ba +MISC metadata.xml 435 SHA256 a313e0b3db5bb479ab26ed7023fe630c38eba29679010b63365f11426cdba3bc SHA512 442fec1369c9fd308569fb2473afd44d183aeaa208c32786994a2368907c193d31fbaed1403d103b5a05d37fa764c618fc27aeea51bc5fe89bff51f570e78072 WHIRLPOOL 1512b54d168e97e9e31dc3c52a695a4a4e4420806db07f89b9885cb0b300cc0a9b5923ce321b6fb1be8688ea23f74a7bb59f10a5a9455a2b96afc5f5470c0ff8 diff --git a/dev-php/php-codebrowser/files/channel.xml b/dev-php/php-codebrowser/files/channel.xml new file mode 100644 index 000000000000..91bb6786f543 --- /dev/null +++ b/dev-php/php-codebrowser/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.phpunit.de</name> + <summary>PHPUnit PEAR Channel</summary> + <suggestedalias>phpunit</suggestedalias> + <servers> + <primary> + <rest> + <baseurl type="REST1.0">http://pear.phpunit.de/rest/</baseurl> + <baseurl type="REST1.1">http://pear.phpunit.de/rest/</baseurl> + <baseurl type="REST1.2">http://pear.phpunit.de/rest/</baseurl> + <baseurl type="REST1.3">http://pear.phpunit.de/rest/</baseurl> + </rest> + </primary> + </servers> +</channel>
\ No newline at end of file diff --git a/dev-php/php-codebrowser/metadata.xml b/dev-php/php-codebrowser/metadata.xml new file mode 100644 index 000000000000..596e8a4211f4 --- /dev/null +++ b/dev-php/php-codebrowser/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> +<longdescription lang="en"> +PHP_CodeBrowser generates a html view for code browsing with higlighted and colored errors, parsed from xml reports generated from codesniffer or phpunit. +</longdescription> +</pkgmetadata> diff --git a/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild b/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild new file mode 100644 index 000000000000..2c85f0c8d57a --- /dev/null +++ b/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" +PHP_PEAR_DOMAIN="pear.phpunit.de" +PHP_PEAR_PKG_NAME="PHP_CodeBrowser" +inherit php-pear-r2 + +DESCRIPTION="Creates highlighted code by reading xml reports from codesniffer or phpunit" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +HOMEPAGE="http://pear.phpunit.de" +SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz" + +RDEPEND="${RDEPEND} + >=dev-php/PEAR-Console_CommandLine-1.1.3 + >=dev-php/File_Iterator-1.3.0 + >=dev-php/PEAR-Log-1.12.1" + +src_prepare() { + sed -i -e "s~@php_dir@~${EPREFIX}/usr/share/php~" \ + -e "s~@data_dir@~${EPREFIX}/usr/share/php/data~" \ + -e "s~@package_version@~${PV}~" \ + "${S}/src/CLIController.php" || die + sed -i -e "s~@php_dir@~${EPREFIX}/usr/share/php~" \ + "${S}/bin/phpcb.php" || die + eapply_user +} + +src_install() { + local DOCS=( CHANGELOG.markdown README.markdown ) + insinto /usr/share/php/data/${PHP_PEAR_PKG_NAME} + doins -r templates + insinto /usr/share/php/${PHP_PEAR_PKG_NAME} + doins -r src/* + exeinto /usr/bin + newexe bin/phpcb.php phpcb + php-pear-r2_install_packagexml + einstalldocs +} |