diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-11-14 04:56:09 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-11-14 04:56:09 +0100 |
commit | c37ae150700099dd9a880d1fe47138c905622f9d (patch) | |
tree | 1274be3e4181cfa539d629ace179cb269b15da5a /dev-php | |
parent | media-gfx/imagemagick: drop old (diff) | |
download | gentoo-c37ae150700099dd9a880d1fe47138c905622f9d.tar.gz gentoo-c37ae150700099dd9a880d1fe47138c905622f9d.tar.bz2 gentoo-c37ae150700099dd9a880d1fe47138c905622f9d.zip |
dev-php/composer: bump to v2.1.12
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/composer/Manifest | 1 | ||||
-rw-r--r-- | dev-php/composer/composer-2.1.12.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/dev-php/composer/Manifest b/dev-php/composer/Manifest index 2a6067d2a1dc..25cc2064e2e7 100644 --- a/dev-php/composer/Manifest +++ b/dev-php/composer/Manifest @@ -4,6 +4,7 @@ DIST composer-2.0.14.tar.gz 498661 BLAKE2B 0b454ed6a00b5cab169a4ff82e9a3d7ceb0d8 DIST composer-2.1.1.tar.gz 513391 BLAKE2B 9177eb7d1acfb3557dde0382e0d0b6fd367a16f4c2de30739c40a1fae396e7f188173c5ef9356c6f55922457ea52c7c3e19e9040c37e86fdb4575016aac07808 SHA512 22105ab3f831ab89cf80e247c6e6f6263f3116a24394b9367b7e7c1e1aebfdcf9bb833add4763c34c621714dd8f22c87327ccf6c8eeef113f753ba800a111a5c DIST composer-2.1.10.tar.gz 533734 BLAKE2B d5ea19e81e71c009062fbca43bd33b5e4e6d60049444a1f46cebeb7dabf239726e83d9a1d68deecac0a172d2e8a6946bde1ea7b304f95acacd539759e90f8a9f SHA512 179d40b4f56b7559d377936f5fa712ee733b5c3b503a7988eba4fd411d8eca7f4070108e3cdfc68b17b2acd8da296dbe1d46f984aefe9867acf0f7f650238315 DIST composer-2.1.11.tar.gz 534246 BLAKE2B fc4ff9ef3c0c3a58ef3dcf76e527f6208d8592aaf518b3ffacd9af4210060734f2d73d64e3d8d9b2de0c43280641cb064c76f7e7984dc0c5d71d7092a0373188 SHA512 e4cd092cd10b570fda597d50dd8c4b751e4c05cca9b3436e8badca31bd115e5748b3a09ca26c566cdd3e18703a7aaa6e60c62873140c7925c6db28651f5a128c +DIST composer-2.1.12.tar.gz 535017 BLAKE2B 1eb0f7266f81efacbb0a9607828ebd8baf7147a161c478c75968ac02b5e32688601a8be53ef03f66162847b3e2f15b47398f6f57b7e3d9da7743d34c1a19cd7c SHA512 5848a686568cf2bf587b4f4c21fc095b2e6578c2a4897329411e473ce6250e6304726a47078f70f19fb168359fb991109ec975241b868f8b71dcf30c32a888c5 DIST composer-2.1.2.tar.gz 513790 BLAKE2B cc1c807ae4d69537541acf3ec384dbad64bf3196067c5ad016b03903e9b47460a6757c0fe692600f3042650c030b323f0a0b5ef4c3933049899843cbdc8266dc SHA512 1835daeb943af2ff58e5f5b3966b59356c14ac740689779c05fa0021174a7d0ac2a45aae7f54fade0695ca7eedf59f7ac4c9c14ae4aa1e4a5fbfb1650aae8ca9 DIST composer-2.1.3.tar.gz 514147 BLAKE2B 3abf64aceea5b95b72419b60fc74d23e42c652036690c2e31b4250eb4a0e3607a1b4080745642fb085be75dd1174073164f9a8a1422745b4bff5887df694fd99 SHA512 d3214f39651e323b419979ed150d5239f992a6b643048a73a777ece0a1b3d5e3dc2c58a5084b3e825834acc258c18947b0c6461c47960a10552617c8f541df86 DIST composer-2.1.5.tar.gz 515243 BLAKE2B 078b14727aba1d6278e046e0a1a7b90edae6532ae5874093824db39bb10a0f663543944fe0bb17ddad3dbf40736eef1bb1a8049f5e4dd557f6f01e0d854c213b SHA512 cd4f166d3d1ca7edc8b473ac47775caca98dc2a8bc758b34e6fdd4669ffbe0aa71f900a366e40ff73f830aa602377a5ef3f40022006138e216f0127c75120b96 diff --git a/dev-php/composer/composer-2.1.12.ebuild b/dev-php/composer/composer-2.1.12.ebuild new file mode 100644 index 000000000000..1eb058b7a474 --- /dev/null +++ b/dev-php/composer/composer-2.1.12.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 +} |