mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-php/composer: bump to 1.7.2
Closes: https://bugs.gentoo.org/665426 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
committed by
Thomas Deutschmann
parent
8c21e81f01
commit
c2f8dd5d0a
@@ -1,2 +1,3 @@
|
||||
DIST composer-1.6.3.tar.gz 396955 BLAKE2B ee455c8ff7446fe2b51180c1c719a28a5efd30b24ba0f521ce07b02007bfaad15aea4d45b2a381d4a3abef123ce67077f8bf0bc3bee447752f3ab87bb6a5d46b SHA512 d373afe1bf8a5572f1d0bf3451d29ef1ea41f96a5fe54789e906601229d9366536ff0abdc7e0afa7cd14b22ccecf9ddf8b32fec14d4cd6fb308b878034af374c
|
||||
DIST composer-1.6.5.tar.gz 398169 BLAKE2B e89fb8805a58d031d4ba1e9694fb45eefa734d5ed79e1bd7c6aef02bf8a52ace19ed7fa109270d67af973f6892a45122017bc42bbd115245dc521e4720b5a549 SHA512 5f18a43af0b94006f4d553f03574347c7f279c409e3467ee65dfff12dad810d625a06452208e2024479faa0b1608ce122a293810e69b826667072171de7d905a
|
||||
DIST composer-1.7.2.tar.gz 401211 BLAKE2B b3470a45dcffe8758c3e498a6298f726928a03d297eefa182b823c5c263aca3492f2b3514528c3bb252100cd2f2b64d5a46a74c91cba76823d75433d1ae5c762 SHA512 c6cdb3c122c78383ea5f133bf54d44474c13e343e25e8ac4992e8d213f7645221009b20def194de8d91217f3f9105a7a3b601ab86206ce4c376b028dcb181151
|
||||
|
||||
46
dev-php/composer/composer-1.7.2.ebuild
Normal file
46
dev-php/composer/composer-1.7.2.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.2
|
||||
>=dev-php/psr-log-1.0.2
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.4.0
|
||||
>=dev-php/symfony-console-2.8.43
|
||||
>=dev-php/symfony-filesystem-2.8.43
|
||||
>=dev-php/symfony-finder-2.7.20
|
||||
>=dev-php/symfony-process-2.8.43
|
||||
>=dev-php/xdebug-handler-1.2.0"
|
||||
|
||||
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 src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
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
|
||||
}
|
||||
28
dev-php/composer/files/autoload-r1.php
Normal file
28
dev-php/composer/files/autoload-r1.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/* Autoloader for composer and its dependencies */
|
||||
|
||||
$vendorDir = '/usr/share/php';
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4(
|
||||
'Composer\\',
|
||||
__DIR__ . '/../src/Composer'
|
||||
);
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required(array(
|
||||
$vendorDir . '/JsonSchema/autoload.php',
|
||||
$vendorDir . '/Composer/CaBundle/autoload.php',
|
||||
$vendorDir . '/Composer/Semver/autoload.php',
|
||||
$vendorDir . '/Composer/Spdx/autoload.php',
|
||||
$vendorDir . '/Composer/XdebugHandler/autoload.php',
|
||||
$vendorDir . '/Seld/JsonLint/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Console/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Finder/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Process/autoload.php',
|
||||
$vendorDir . '/Symfony/Component/Filesystem/autoload.php',
|
||||
$vendorDir . '/Seld/PharUtils/autoload.php',
|
||||
$vendorDir . '/Psr/Log/autoload.php',
|
||||
));
|
||||
Reference in New Issue
Block a user