summaryrefslogtreecommitdiff
path: root/dev-php/composer
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/composer')
-rw-r--r--dev-php/composer/Manifest4
-rw-r--r--dev-php/composer/composer-1.10.15.ebuild48
-rw-r--r--dev-php/composer/composer-2.0.11.ebuild76
3 files changed, 78 insertions, 50 deletions
diff --git a/dev-php/composer/Manifest b/dev-php/composer/Manifest
index 6aede94970ec..dcf04734a237 100644
--- a/dev-php/composer/Manifest
+++ b/dev-php/composer/Manifest
@@ -1,9 +1,9 @@
AUX autoload-r1.php 973 BLAKE2B d01d694be6f50af0e995dc24da1545b666609ce0098b4206a1843b249fedcbf983f1826a3158e98ad7cfe675057b12fe52ff82b6b66e2d582ccf983b929c2f90 SHA512 06f9e2862521c54b765f55fe1c1e02728befd296916d0f41357d4e6004f2d00ddaa533ed5210e92e4642eb548a2d5fabf80604fc09ef7e871742716f4c02d112
AUX autoload.php.tpl 253 BLAKE2B 421f8bd3aa659c6add54e46094ee1d8806ab4fd33ee915515fbe94d241b6a1d5f222b85a720733c5e48369f3a737d5696cf4f8343df7fe809b3a7e4ec38854a1 SHA512 0cfa3e377406d7eada27c56c50b57943b096ea35ec23b2bfe1c926bc4eb276151578d3cfbfa28c76b3358875db35b9e2460204d50571da2d3df6d9a665514da9
-DIST composer-1.10.15.tar.gz 427919 BLAKE2B 38d2e1c795385dd13bedbf5283cf76b04efb54db8dc72eff05370b9505382e2e43f10e1528f148186edb759a098b948d1fee36ac99ab6a5591858723100a27aa SHA512 f8544632e00a08ec75b327e6eac2c96bff60ba78c238863c8ab6b4d82239997f11140a049df0d6c0338bb7523b52fc3ea6f767b9418f75b51535ccfde44fa68c
DIST composer-1.10.20.tar.gz 429016 BLAKE2B 29dcf1e32974230075e56c9b11e53316a1bada9a6ccf43f3357fc39577abadde566df962bb9bf92cc9806a012fbd70c18aba5daee87090fd10de273643d92ce7 SHA512 5b85ebc6a0612c01bd2dd6f6a57526581a821c1a45163ef85511bd0e629b10dc464776b56fe33be192b2a3f07ce818dc40cf2305d9f65ee10287b2265e198cca
+DIST composer-2.0.11.tar.gz 494980 BLAKE2B 7095b27ff770c890261a622d2b96febeca226fa307fe14d74df0e723fdf2ade8b04ceb85a25317f4f6b2f5cfc9dce27223738e61a734d6b4c3b4069c03ad551a SHA512 7f2429b4cf0dd237b17d393837e18e12886a9b0641130c8d6e490b37f85b8beee54a2b58003e63b7b157104edf70dff211ca44255ee60bf904b3fb7d57f186d2
DIST composer-2.0.9.tar.gz 493134 BLAKE2B f08818ec05aeebd79501e221b9cef10425c7dd60b9aca17ca8dad2f6967258d6b1a8d0d1b383b0c7dd1214ce6416f666bc30785bcb5978c66051ef2e03d17304 SHA512 4953bcc0d2e9ae61ebbb3615c262ac05762fa0165db2114118eb5c2bb014bc4341b07c3b8739575feacaad92d2460b89486b49f4eb49b80ce4a9de36a1152b48
-EBUILD composer-1.10.15.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
EBUILD composer-1.10.20.ebuild 1233 BLAKE2B 8ca659735c9256070bdf634a96eb790a23ef4a5f6e9bc1c4d488d2082d97d87a043b8becc944f9e33479516b40c29b2ddd93c7fe4219c1a3b143c333464b160d SHA512 5cf952c3bda93befd1a77ed5330905f3be8bddb254cdb3d52c6ea6c24eba0bfd32cb936fbbbe18e18dcdf1362b5e423b45f47346f1fd5e5192753c66f51e00e6
+EBUILD composer-2.0.11.ebuild 2103 BLAKE2B d46051503b70b8c5f27b4d6b7310cccf74afcc2736194ea1dbb5a42d6aae193406c466e6b6f79f0a0e0573e73131b8c780d28680daa9b9ab8a462cf7deaa97ea SHA512 dbb17d0d0b34d31ec6c315e3c6e21c3e355237eabafe94568188620da5e0d706a5fba97c74a29408b4fdf9d87912574e96aecd52a020fafdd917f966b46e7e62
EBUILD composer-2.0.9.ebuild 2103 BLAKE2B d46051503b70b8c5f27b4d6b7310cccf74afcc2736194ea1dbb5a42d6aae193406c466e6b6f79f0a0e0573e73131b8c780d28680daa9b9ab8a462cf7deaa97ea SHA512 dbb17d0d0b34d31ec6c315e3c6e21c3e355237eabafe94568188620da5e0d706a5fba97c74a29408b4fdf9d87912574e96aecd52a020fafdd917f966b46e7e62
MISC metadata.xml 774 BLAKE2B 8a1f75c0c7da6f0d193a981c6db3888d62e2223b6368c4a7dece62ae33cc9a2a8c0b34714170462f262569954e70cc9b976012ff864ccfa36a46da3c719169ae SHA512 1a17bfae65923a3bea593c57d7ecf4fb2aeef43d0537636105e52294de295cbfeaed4b3c36ffb8675a563f657f4f969e62096cee20b9ab178c962acf2f68ac3a
diff --git a/dev-php/composer/composer-1.10.15.ebuild b/dev-php/composer/composer-1.10.15.ebuild
deleted file mode 100644
index 29915836e3cf..000000000000
--- a/dev-php/composer/composer-1.10.15.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# 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="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-lang/php:*[curl]
- >=dev-php/ca-bundle-1.1.3
- >=dev-php/psr-log-1.1.0
- 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.5.0
- >=dev-php/symfony-console-2.8.48
- >=dev-php/symfony-filesystem-2.8.48
- >=dev-php/symfony-finder-2.8.49
- >=dev-php/symfony-process-2.8.48
- >=dev-php/xdebug-handler-1.3.1"
-
-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
-}
diff --git a/dev-php/composer/composer-2.0.11.ebuild b/dev-php/composer/composer-2.0.11.ebuild
new file mode 100644
index 000000000000..dfdecde74bed
--- /dev/null
+++ b/dev-php/composer/composer-2.0.11.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2021 Gentoo Authors
+# 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="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+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.10
+ >=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-1.1"
+
+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/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
+}