From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD0F4138332 for ; Tue, 20 Feb 2018 19:30:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AB15E09D9; Tue, 20 Feb 2018 19:30:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07137E09D8 for ; Tue, 20 Feb 2018 19:30:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA268335C4F for ; Tue, 20 Feb 2018 19:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3359C239 for ; Tue, 20 Feb 2018 19:30:00 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1519154968.98986130f44e30e36f9d6f03a4f9d34765891650.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/phpmd/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/phpmd/Manifest dev-php/phpmd/phpmd-2.6.0.ebuild X-VCS-Directories: dev-php/phpmd/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 98986130f44e30e36f9d6f03a4f9d34765891650 X-VCS-Branch: master Date: Tue, 20 Feb 2018 19:30:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 379a90d5-1337-4aa6-8d74-466182e46986 X-Archives-Hash: e4d7b6077b98c156b5eb5158717e1a56 commit: 98986130f44e30e36f9d6f03a4f9d34765891650 Author: Brian Evans gentoo org> AuthorDate: Tue Feb 20 19:14:56 2018 +0000 Commit: Brian Evans gentoo org> CommitDate: Tue Feb 20 19:29:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98986130 dev-php/phpmd: Version bump to 2.6.0 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-php/phpmd/Manifest | 1 + dev-php/phpmd/phpmd-2.6.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-php/phpmd/Manifest b/dev-php/phpmd/Manifest index e3cef785a57..c6cfd5cac72 100644 --- a/dev-php/phpmd/Manifest +++ b/dev-php/phpmd/Manifest @@ -1 +1,2 @@ DIST phpmd-2.5.0.tar.gz 56360 BLAKE2B 03b515e55babb1e0c6df2573f87fd10ee63f1c17a5e448dc3debd74c07c72b32c0331687fb79f023072e276fe18d9de2476f2b70d3f8bf555f1b133a9751fdcd SHA512 93e5eac4755ce9dbe003935a5768c2798f13c3a40d5a7c188d3a70edc1fe76646b72144a62f943f3fc95f83131f96b315a63e327971c3c4404d600fcd5f43d18 +DIST phpmd-2.6.0.tar.gz 57496 BLAKE2B 447e1b0a18372abc82746e8f2a47ea0df76fdeea51e7012ea63a0d644f7cd71790a3e354584d18f57bab3e7211f1037ff3f61aff367c3419caa44e77e79d1cbb SHA512 7c81bef8457f28dd40b908f535cf432d65ba6910c54f730b4d9f7a0bffa096653af029701a6ce4bd22910ec69453c5ff22c657100757d7d6eacff2226b597023 diff --git a/dev-php/phpmd/phpmd-2.6.0.ebuild b/dev-php/phpmd/phpmd-2.6.0.ebuild new file mode 100644 index 00000000000..dc08acef502 --- /dev/null +++ b/dev-php/phpmd/phpmd-2.6.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="PHP mess detector" +HOMEPAGE="http://www.phpmd.org/" + +# The test suite is absent from the release tarballs because +# the only build system that Composer understands is "cp -r". +# To obtain the tests, we would need to grab a VCS snapshot. +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/php[xml] + dev-php/phpdepend" + +src_install() { + dodoc AUTHORS.rst CHANGELOG CONTRIBUTING.md README.rst + + # The executable will only look for autoload.php in one place, so we + # create an (otherwise pointless) vendor directory to house it. + insinto "/usr/share/${PN}/vendor" + doins "${FILESDIR}/autoload.php" + + insinto "/usr/share/${PN}/src" + doins -r src/main + + # The executable uses relative include paths, so the one users will + # actually run needs to be symlinked into the source tree. + exeinto "/usr/share/${PN}/src/bin" + doexe "src/bin/${PN}" + dosym "../share/${PN}/src/bin/${PN}" "/usr/bin/${PN}" +}