diff options
Diffstat (limited to 'dev-php')
4 files changed, 120 insertions, 0 deletions
diff --git a/dev-php/zetacomponents-ConsoleTools/Manifest b/dev-php/zetacomponents-ConsoleTools/Manifest new file mode 100644 index 000000000000..d3ad8f4bf6f4 --- /dev/null +++ b/dev-php/zetacomponents-ConsoleTools/Manifest @@ -0,0 +1 @@ +DIST zetacomponents-ConsoleTools-1.7.2.tar.gz 932028 BLAKE2B 18469bb11af5f4facf7892df765c9511c699c2f362872da7db13dee3a380286a306809c90f28ad4bc4cfcfa99135e7d35b659a242f507afb91b84fee17d16f4a SHA512 871c9a6827c3cc77275b538dc09d21135affe1f06364e83a7a27b7a9eff4537b509e72fffe3d5f6b1ebb0086d489df2b29af276bdbc0276f163b1f9168f82253 diff --git a/dev-php/zetacomponents-ConsoleTools/files/autoload.php b/dev-php/zetacomponents-ConsoleTools/files/autoload.php new file mode 100644 index 000000000000..b2139b5f618b --- /dev/null +++ b/dev-php/zetacomponents-ConsoleTools/files/autoload.php @@ -0,0 +1,82 @@ +<?php +// @codingStandardsIgnoreFile +// @codeCoverageIgnoreStart +// this is an autogenerated file - do not edit +spl_autoload_register( + function($class) { + static $classes = null; + if ($classes === null) { + $classes = array( + 'ezcconsoleargument' => '/input/argument.php', + 'ezcconsoleargumentalreadyregisteredexception' => '/exceptions/argument_already_registered.php', + 'ezcconsoleargumentexception' => '/exceptions/argument.php', + 'ezcconsoleargumentmandatoryviolationexception' => '/exceptions/argument_mandatory_violation.php', + 'ezcconsolearguments' => '/input/arguments.php', + 'ezcconsoleargumenttypeviolationexception' => '/exceptions/argument_type_violation.php', + 'ezcconsoledialog' => '/interfaces/dialog.php', + 'ezcconsoledialogabortexception' => '/exceptions/dialog_abort.php', + 'ezcconsoledialogoptions' => '/options/dialog.php', + 'ezcconsoledialogvalidator' => '/interfaces/dialog_validator.php', + 'ezcconsoledialogviewer' => '/dialog_viewer.php', + 'ezcconsoleexception' => '/exceptions/exception.php', + 'ezcconsoleinput' => '/input.php', + 'ezcconsoleinputhelpgenerator' => '/interfaces/input_help_generator.php', + 'ezcconsoleinputstandardhelpgenerator' => '/input/help_generators/standard.php', + 'ezcconsoleinputvalidator' => '/interfaces/input_validator.php', + 'ezcconsoleinvalidoptionnameexception' => '/exceptions/invalid_option_name.php', + 'ezcconsoleinvalidoutputtargetexception' => '/exceptions/invalid_output_target.php', + 'ezcconsolemenudialog' => '/dialog/menu_dialog.php', + 'ezcconsolemenudialogdefaultvalidator' => '/dialog/validators/menu_dialog_default.php', + 'ezcconsolemenudialogoptions' => '/options/menu_dialog.php', + 'ezcconsolemenudialogvalidator' => '/interfaces/menu_dialog_validator.php', + 'ezcconsolenopositionstoredexception' => '/exceptions/no_position_stored.php', + 'ezcconsolenovaliddialogresultexception' => '/exceptions/no_valid_dialog_result.php', + 'ezcconsoleoption' => '/input/option.php', + 'ezcconsoleoptionalreadyregisteredexception' => '/exceptions/option_already_registered.php', + 'ezcconsoleoptionargumentsviolationexception' => '/exceptions/option_arguments_violation.php', + 'ezcconsoleoptiondependencyviolationexception' => '/exceptions/option_dependency_violation.php', + 'ezcconsoleoptionexception' => '/exceptions/option.php', + 'ezcconsoleoptionexclusionviolationexception' => '/exceptions/option_exclusion_violation.php', + 'ezcconsoleoptionmandatoryviolationexception' => '/exceptions/option_mandatory_violation.php', + 'ezcconsoleoptionmissingvalueexception' => '/exceptions/option_missing_value.php', + 'ezcconsoleoptionnoaliasexception' => '/exceptions/option_no_alias.php', + 'ezcconsoleoptionnotexistsexception' => '/exceptions/option_not_exists.php', + 'ezcconsoleoptionrule' => '/structs/option_rule.php', + 'ezcconsoleoptionstringnotwellformedexception' => '/exceptions/option_string_not_wellformed.php', + 'ezcconsoleoptiontoomanyvaluesexception' => '/exceptions/option_too_many_values.php', + 'ezcconsoleoptiontypeviolationexception' => '/exceptions/option_type_violation.php', + 'ezcconsoleoutput' => '/output.php', + 'ezcconsoleoutputformat' => '/structs/output_format.php', + 'ezcconsoleoutputformats' => '/structs/output_formats.php', + 'ezcconsoleoutputoptions' => '/options/output.php', + 'ezcconsoleprogressbar' => '/progressbar.php', + 'ezcconsoleprogressbaroptions' => '/options/progressbar.php', + 'ezcconsoleprogressmonitor' => '/progressmonitor.php', + 'ezcconsoleprogressmonitoroptions' => '/options/progressmonitor.php', + 'ezcconsolequestiondialog' => '/dialog/question_dialog.php', + 'ezcconsolequestiondialogcollectionvalidator' => '/dialog/validators/question_dialog_collection.php', + 'ezcconsolequestiondialogmappingvalidator' => '/dialog/validators/question_dialog_mapping.php', + 'ezcconsolequestiondialogoptions' => '/options/question_dialog.php', + 'ezcconsolequestiondialogregexvalidator' => '/dialog/validators/question_dialog_regex.php', + 'ezcconsolequestiondialogtypevalidator' => '/dialog/validators/question_dialog_type.php', + 'ezcconsolequestiondialogvalidator' => '/interfaces/question_dialog_validator.php', + 'ezcconsolestandardinputvalidator' => '/input/validators/standard.php', + 'ezcconsolestatusbar' => '/statusbar.php', + 'ezcconsolestatusbaroptions' => '/options/statusbar.php', + 'ezcconsolestringtool' => '/tools/string.php', + 'ezcconsoletable' => '/table.php', + 'ezcconsoletablecell' => '/table/cell.php', + 'ezcconsoletableoptions' => '/options/table.php', + 'ezcconsoletablerow' => '/table/row.php', + 'ezcconsoletoomanyargumentsexception' => '/exceptions/argument_too_many.php' + ); + } + $cn = strtolower($class); + if (isset($classes[$cn])) { + require __DIR__ . $classes[$cn]; + } + }, + true, + false +); +// @codeCoverageIgnoreEnd diff --git a/dev-php/zetacomponents-ConsoleTools/metadata.xml b/dev-php/zetacomponents-ConsoleTools/metadata.xml new file mode 100644 index 000000000000..417fd96ecc6d --- /dev/null +++ b/dev-php/zetacomponents-ConsoleTools/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">zetacomponents/ConsoleTools</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-php/zetacomponents-ConsoleTools/zetacomponents-ConsoleTools-1.7.2.ebuild b/dev-php/zetacomponents-ConsoleTools/zetacomponents-ConsoleTools-1.7.2.ebuild new file mode 100644 index 000000000000..6bf3b6766748 --- /dev/null +++ b/dev-php/zetacomponents-ConsoleTools/zetacomponents-ConsoleTools-1.7.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="ConsoleTools" + +DESCRIPTION="A set of classes to do different actions with the console" +HOMEPAGE="https://github.com/zetacomponents/ConsoleTools" +SRC_URI="https://github.com/zetacomponents/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND="dev-lang/php:*" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + insinto /usr/share/php/ezc/${MY_PN} + doins -r src/* + doins "${FILESDIR}"/autoload.php + + einstalldocs +} |