From dbd71774f6ea42b46e040061b0cf2bd7d1833a7d Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 1 Feb 2021 19:08:49 +0100 Subject: dev-php/reactphp-promise: new package New dependency of dev-php/composer-2. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann --- .../reactphp-promise/reactphp-promise-2.8.0.ebuild | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 dev-php/reactphp-promise/reactphp-promise-2.8.0.ebuild (limited to 'dev-php/reactphp-promise/reactphp-promise-2.8.0.ebuild') diff --git a/dev-php/reactphp-promise/reactphp-promise-2.8.0.ebuild b/dev-php/reactphp-promise/reactphp-promise-2.8.0.ebuild new file mode 100644 index 000000000000..df2600171222 --- /dev/null +++ b/dev-php/reactphp-promise/reactphp-promise-2.8.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="promise" + +DESCRIPTION="A lightweight implementation of CommonJS Promises/A for PHP" +HOMEPAGE="https://reactphp.org/promise/" +SRC_URI="https://github.com/reactphp/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND="dev-php/theseer-Autoload" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.2:*" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + phpab \ + --output src/autoload.php \ + --template fedora2 \ + --basedir src \ + src \ + || die + +cat >> src/autoload.php <