mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 15:49:53 -04:00
dev-php/composer: treeclean
Closes: https://bugs.gentoo.org/934666 (pkgremoved) Closes: https://bugs.gentoo.org/877639 (pkgremoved) Closes: https://bugs.gentoo.org/900100 (pkgremoved) Bug: https://bugs.gentoo.org/838268 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST composer-2.1.12.tar.gz 535017 BLAKE2B 1eb0f7266f81efacbb0a9607828ebd8baf7147a161c478c75968ac02b5e32688601a8be53ef03f66162847b3e2f15b47398f6f57b7e3d9da7743d34c1a19cd7c SHA512 5848a686568cf2bf587b4f4c21fc095b2e6578c2a4897329411e473ce6250e6304726a47078f70f19fb168359fb991109ec975241b868f8b71dcf30c32a888c5
|
||||
@@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/jsonlint-1.4
|
||||
>=dev-php/json-schema-5.2.11
|
||||
>=dev-php/metadata-minifier-1.0
|
||||
>=dev-php/phar-utils-1.0
|
||||
>=dev-php/psr-log-1.0
|
||||
>=dev-php/reactphp-promise-2.7
|
||||
>=dev-php/semver-3.0
|
||||
>=dev-php/spdx-licenses-1.2
|
||||
>=dev-php/symfony-console-2.8.52
|
||||
>=dev-php/symfony-filesystem-2.8.52
|
||||
>=dev-php/symfony-finder-2.8.52
|
||||
>=dev-php/symfony-process-2.8.52
|
||||
>=dev-php/xdebug-handler-2"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mkdir vendor || die
|
||||
|
||||
phpab \
|
||||
--output vendor/autoload.php \
|
||||
--template "${FILESDIR}"/autoload.php.tpl \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
|
||||
cat >> vendor/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'/usr/share/php/Composer/CaBundle/autoload.php',
|
||||
'/usr/share/php/Composer/MetadataMinifier/autoload.php',
|
||||
'/usr/share/php/Composer/Semver/autoload.php',
|
||||
'/usr/share/php/Composer/Spdx/autoload.php',
|
||||
'/usr/share/php/Composer/XdebugHandler/autoload.php',
|
||||
'/usr/share/php/JsonSchema/autoload.php',
|
||||
'/usr/share/php/Psr/Log/autoload.php',
|
||||
'/usr/share/php/Seld/JsonLint/autoload.php',
|
||||
'/usr/share/php/Seld/PharUtils/autoload.php',
|
||||
'/usr/share/php/Symfony/Component/Console/autoload.php',
|
||||
'/usr/share/php/Symfony/Component/Filesystem/autoload.php',
|
||||
'/usr/share/php/Symfony/Component/Finder/autoload.php',
|
||||
'/usr/share/php/Symfony/Component/Process/autoload.php',
|
||||
'/usr/share/php/React/Promise/autoload.php'
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r LICENSE res src vendor
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreFile
|
||||
// @codeCoverageIgnoreStart
|
||||
require_once 'Fedora/Autoloader'.'/autoload.php';
|
||||
|
||||
\Fedora\Autoloader\Autoload::addClassMap(
|
||||
array(
|
||||
___CLASSLIST___,
|
||||
),
|
||||
__DIR__ . '/../src'
|
||||
);
|
||||
// @codeCoverageIgnoreEnd
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Composer is a tool for dependency management in PHP.
|
||||
It allows you to declare the libraries your project depends on
|
||||
and it will manage (install/update) them for you.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">composer/composer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -225,7 +225,6 @@ dev-php/symfony-console
|
||||
dev-php/symfony-dependency-injection
|
||||
dev-php/symfony-event-dispatcher
|
||||
dev-php/symfony-yaml
|
||||
dev-php/composer
|
||||
|
||||
# Hans de Graaff <graaff@gentoo.org> (2024-06-21)
|
||||
# Obsolete slot. Please use a newer slot instead.
|
||||
|
||||
Reference in New Issue
Block a user