From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-php/phpdepend/Manifest | 1 + dev-php/phpdepend/files/autoload.php | 19 ++++++++++++ dev-php/phpdepend/metadata.xml | 15 ++++++++++ dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild | 46 +++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 dev-php/phpdepend/Manifest create mode 100644 dev-php/phpdepend/files/autoload.php create mode 100644 dev-php/phpdepend/metadata.xml create mode 100644 dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild (limited to 'dev-php/phpdepend') diff --git a/dev-php/phpdepend/Manifest b/dev-php/phpdepend/Manifest new file mode 100644 index 000000000000..98beec1ba268 --- /dev/null +++ b/dev-php/phpdepend/Manifest @@ -0,0 +1 @@ +DIST phpdepend-2.5.0.tar.gz 190823 BLAKE2B 9711a6bd113e912b651a577e1b00f388262843796219cdd26e012f1beccfd54aca62f4998a47d69c5ff3cc8705551fdd86bc538fdaf7173f5f25bc41f509c3e1 SHA512 927ff961773c3b2076b11b374035482c05b2da3a9777418c6fe0a491bd20eec431bfd75cd706674e231c9f73d97b6b0236eea12794cfff2d8ad52a6a6170e137 diff --git a/dev-php/phpdepend/files/autoload.php b/dev-php/phpdepend/files/autoload.php new file mode 100644 index 000000000000..ce186c4f3d86 --- /dev/null +++ b/dev-php/phpdepend/files/autoload.php @@ -0,0 +1,19 @@ + + + + + php-bugs@gentoo.org + PHP + + +Static code analyser for PHP + + + pdepend/pdepend + + gentoo-staging + diff --git a/dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild b/dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild new file mode 100644 index 000000000000..1ea5cc4ab920 --- /dev/null +++ b/dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN=pdepend + +DESCRIPTION="Static code analysis for PHP" +HOMEPAGE="http://www.pdepend.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/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/php + dev-php/fedora-autoloader + >=dev-php/symfony-config-2.3 + >=dev-php/symfony-dependency-injection-2.3 + >=dev-php/symfony-filesystem-2.3" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + dodoc CHANGELOG + + # 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/${MY_PN}" + dosym "../share/${PN}/src/bin/${MY_PN}" "/usr/bin/${MY_PN}" +} -- cgit v1.3