diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /dev-php/composer | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'dev-php/composer')
-rw-r--r-- | dev-php/composer/Manifest | 2 | ||||
-rw-r--r-- | dev-php/composer/composer-2.1.8.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-php/composer/Manifest b/dev-php/composer/Manifest index e9f94f582fd8..ec161bb7827f 100644 --- a/dev-php/composer/Manifest +++ b/dev-php/composer/Manifest @@ -8,6 +8,7 @@ DIST composer-2.1.2.tar.gz 513790 BLAKE2B cc1c807ae4d69537541acf3ec384dbad64bf31 DIST composer-2.1.3.tar.gz 514147 BLAKE2B 3abf64aceea5b95b72419b60fc74d23e42c652036690c2e31b4250eb4a0e3607a1b4080745642fb085be75dd1174073164f9a8a1422745b4bff5887df694fd99 SHA512 d3214f39651e323b419979ed150d5239f992a6b643048a73a777ece0a1b3d5e3dc2c58a5084b3e825834acc258c18947b0c6461c47960a10552617c8f541df86 DIST composer-2.1.5.tar.gz 515243 BLAKE2B 078b14727aba1d6278e046e0a1a7b90edae6532ae5874093824db39bb10a0f663543944fe0bb17ddad3dbf40736eef1bb1a8049f5e4dd557f6f01e0d854c213b SHA512 cd4f166d3d1ca7edc8b473ac47775caca98dc2a8bc758b34e6fdd4669ffbe0aa71f900a366e40ff73f830aa602377a5ef3f40022006138e216f0127c75120b96 DIST composer-2.1.6.tar.gz 517576 BLAKE2B 27a7c76d36a0c86110c2e39ba5977b7ea04bd10897dda4b563edad9cdf2b7e134d3545e5efa5eeb1518f1f0d5366c29de7fb1d6e9032b567195676de121bedbd SHA512 244d64c3c1eadb58ea945e8d448c3fdcf83a6bb3c09eede63c36a6e11f7b2131a797a9ca10c5447bf868ea3439681f9f9079933e26953b5387b7e0c3333480e2 +DIST composer-2.1.8.tar.gz 522462 BLAKE2B 12fb95088146e56568b05ad13ae7630b664337ca338d4cb3e8cc126bc90173a21da6f8e4d2cd883ad15a7b67670bae297a6e02518de3dbaf9d980a74afd6c60c SHA512 00816294a2837934a846a672d34ac830ae36b063d6ffb57d883f553b69cf205822d5d9994c3f6fa67e324ff9d47740bb1b843ad68cf911b220f411cc0b0fe1d2 EBUILD composer-1.10.22.ebuild 1233 BLAKE2B 8ca659735c9256070bdf634a96eb790a23ef4a5f6e9bc1c4d488d2082d97d87a043b8becc944f9e33479516b40c29b2ddd93c7fe4219c1a3b143c333464b160d SHA512 5cf952c3bda93befd1a77ed5330905f3be8bddb254cdb3d52c6ea6c24eba0bfd32cb936fbbbe18e18dcdf1362b5e423b45f47346f1fd5e5192753c66f51e00e6 EBUILD composer-2.0.13.ebuild 2228 BLAKE2B f12244d8bada90f5ebd47e5c4d4b706c48153e6f56948103bf17e6ebd6fdbc44056e97ad67bd4fd423bcce9fba03584369c9025d3ed936f8ba1c1bca14a79b7a SHA512 8eee72c7edfd358f0dbb69c334d3df62dd3e0c1d74ac17ef49ca53655934ef5ae6e6c1a4d2263e766afcb0204eb72cd886ca9f1a0ad5e825d41a7eb38243d344 EBUILD composer-2.0.14.ebuild 2228 BLAKE2B befd0486765faf001bcf4f2cb98ceea1d4535ceb142e6bca6ded35413a5e8c42009850e902b49fe59418b69e76e5043f0d7f585a2a61888b98d9e82edf80a0b9 SHA512 e007b668692c68b321be874639cf77366d81172b1314e316f04e785e4ba9e065785d95509d24624eadab38ee8ce154ec0f5797438a7b7dfc59fc85dac092f5a6 @@ -16,4 +17,5 @@ EBUILD composer-2.1.2.ebuild 2228 BLAKE2B befd0486765faf001bcf4f2cb98ceea1d4535c EBUILD composer-2.1.3.ebuild 2228 BLAKE2B befd0486765faf001bcf4f2cb98ceea1d4535ceb142e6bca6ded35413a5e8c42009850e902b49fe59418b69e76e5043f0d7f585a2a61888b98d9e82edf80a0b9 SHA512 e007b668692c68b321be874639cf77366d81172b1314e316f04e785e4ba9e065785d95509d24624eadab38ee8ce154ec0f5797438a7b7dfc59fc85dac092f5a6 EBUILD composer-2.1.5.ebuild 2228 BLAKE2B a0655fea3563734d657745a9fa9c8f785cf234d879033f43a4e98d333dfe51d011401db8fb7d16cad3191c86bb330ddaad759a3600c6dd8668bc4963c0adb253 SHA512 e5490a298b4a5ca5133ace4bf3ca317ea1b35b212b2574d0e8fd1dcc22226cdd32849f57c0a26f0be03586c602c9d3f4b70442bb1b9316984276aaaac120b635 EBUILD composer-2.1.6.ebuild 2228 BLAKE2B a0655fea3563734d657745a9fa9c8f785cf234d879033f43a4e98d333dfe51d011401db8fb7d16cad3191c86bb330ddaad759a3600c6dd8668bc4963c0adb253 SHA512 e5490a298b4a5ca5133ace4bf3ca317ea1b35b212b2574d0e8fd1dcc22226cdd32849f57c0a26f0be03586c602c9d3f4b70442bb1b9316984276aaaac120b635 +EBUILD composer-2.1.8.ebuild 2228 BLAKE2B ebf3d7fe1a1d890650a861bc5a08878501e7a8994cd12c1e2b55e632293f7e004f28bd490ef40ecbd8268ab625ca56c4caa69791a36dd4549b5106dcf2923dd2 SHA512 62afde69ee98ab14cc9bbb90df16ca70927fa1cbbd0c69ceb3bc2a9bd237aa8a3eb96f2acfdc88244d2e5e5d7c9ee32776764cc4750f1619e7c4296ca57737b8 MISC metadata.xml 805 BLAKE2B bfbb9828e372e477d471698865c97fd36a9287e257b36fbd1d489cad92ad131a6b2d30910379b126d82d3f81b479854da7a50596b1b63e6982c0bc402caae574 SHA512 33cf199e2cc7fd8ddbd46d9782fb5a5e9e655f9fb8c607a68744f4165fc62edfce6bd324bf883d5d5b143963cc3ef986609e22d24809c190b508e814249fe99f diff --git a/dev-php/composer/composer-2.1.8.ebuild b/dev-php/composer/composer-2.1.8.ebuild new file mode 100644 index 000000000000..1eb058b7a474 --- /dev/null +++ b/dev-php/composer/composer-2.1.8.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 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 ~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 +} |