dev-php/composer: version bump to 1.6.2.
authorGuillaume Seren <guillaumeseren@gmail.com>
Mon, 22 Jan 2018 14:09:27 +0000 (15:09 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 22 Jan 2018 21:48:59 +0000 (22:48 +0100)
Closes: https://bugs.gentoo.org/644774

dev-php/composer/Manifest
dev-php/composer/composer-1.6.2.ebuild [new file with mode: 0644]

index 2c4e869c73b433c66a924238df156894f443ddf7..243286d223fdd406fd2bd3800e7b70685bdb6898 100644 (file)
@@ -1 +1,2 @@
 DIST composer-1.5.5.tar.gz 1102418 BLAKE2B b8a29ab7473e439d0ff71ba5eb21a63a1c10a3f805c076c3af4f0fd46f5fe7a216085e999d3dd23ca78d769661d1bbfdf04ecf3c353428f6326735ddc564945a SHA512 c1021d1fb5ef992ea16023b982aa8ccdfddf7bce5da0945847ed28c555e795e7d23d4f0892e98d745784ab702e332217ea240ae6297bb18638b5161b6d7c84f0
+DIST composer-1.6.2.tar.gz 395403 BLAKE2B 8669bd7945d01fe0418abfce70574f6f305f03508adcd51147f08e5312a6c8238dcce7144e96c92bc2f7dfb8eacba28d8156f9960239f1a3ff98230a96ccd21e SHA512 0569c6876bfb30bdec1731718fa5d21d34fa7ecd0d1fd99fe02caf73cb2631145ff7604a374c4b14dc91d5d8e8acf3ab0c52f0f7c6c11b63130a21db516c1391
diff --git a/dev-php/composer/composer-1.6.2.ebuild b/dev-php/composer/composer-1.6.2.ebuild
new file mode 100644 (file)
index 0000000..34f3d95
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.0.0
+       >=dev-php/cli-prompt-1.0.0
+       >=dev-php/psr-log-1.0.2
+       dev-php/fedora-autoloader
+       >=dev-php/json-schema-3.0.0
+       >=dev-php/jsonlint-1.4.0
+       >=dev-php/phar-utils-1.0.0
+       >=dev-php/semver-1.0.0
+       >=dev-php/spdx-licenses-1.2.0
+       >=dev-php/symfony-console-2.7.9
+       >=dev-php/symfony-filesystem-2.7.20
+       >=dev-php/symfony-finder-2.7.20
+       >=dev-php/symfony-process-2.8.12"
+
+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"
+       doins "${FILESDIR}"/autoload.php
+
+       exeinto "/usr/share/${PN}/bin"
+       doexe "bin/${PN}"
+       dosym "/usr/share/${PN}/bin/${PN}" "/usr/bin/${PN}"
+
+       dodoc CHANGELOG.md README.md doc/*.md
+       dodoc -r doc/articles doc/faqs
+}