dev-php/composer: Add version bump 1.5.1
authorGuillaume Seren <guillaumeseren@gmail.com>
Tue, 15 Aug 2017 11:41:28 +0000 (13:41 +0200)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 18 Aug 2017 19:55:04 +0000 (15:55 -0400)
Bump to 1.5.1

https://bugs.gentoo.org/show_bug.cgi?id=627908

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
dev-php/composer/Manifest
dev-php/composer/composer-1.5.1.ebuild [new file with mode: 0644]

index aaf64094054fba2fbfc067281104001370d1a3ba..0781b803143485a8125e88fb73d401dbec7de28e 100644 (file)
@@ -1 +1,2 @@
 DIST composer-1.4.1.tar.gz 1090505 SHA256 27c0c134d6a151de8e552f4da98a2100973a64a33c462b14bd5cb463cee254dc SHA512 8fc1e53666151c2b029544216dfc842379763bd3e5085c15c118dfa8ca0da8559a48909cb5ee29f37f6ed07b7572375354a09bd160b9c0828fe40e809defd8a9 WHIRLPOOL 3104bbffc6e5241d052454169e88a0a167acf0229f1ed2fbf184eef9ccb5cd4ab00021be431b84389b40fe895fb1e560e8ecc2f7dd99f457c7190877a0fe107e
+DIST composer-1.5.1.tar.gz 1099939 SHA256 606dc1663326db92b991983059548fb844497b20463dfda28b19d7e142d33f37 SHA512 3d3a631196c5e58744fba234272268b672bef2c081ffc2ca657bfdb95dfb5f6a53118f1a4f9fd92407f1052794643bc72c7a04a414b928c470b5aa24df52442f WHIRLPOOL c5ce88fb7cc8d8600c1a40ccb20dd026c99f3e1a2550a32162d7246bd5cf355aab5e720dedceac5fbfa8a4055ed85827e41893d5925b5fe8729ff781d62b206b
diff --git a/dev-php/composer/composer-1.5.1.ebuild b/dev-php/composer/composer-1.5.1.ebuild
new file mode 100644 (file)
index 0000000..90d5351
--- /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-2.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.0.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
+}