dev-php/phpmd: treeclean

Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2022-12-20 17:30:12 +01:00
parent 11e6d20c5b
commit 74f1e0e6fa
6 changed files with 0 additions and 104 deletions
-2
View File
@@ -1,2 +0,0 @@
DIST phpmd-2.6.0.tar.gz 57496 BLAKE2B 447e1b0a18372abc82746e8f2a47ea0df76fdeea51e7012ea63a0d644f7cd71790a3e354584d18f57bab3e7211f1037ff3f61aff367c3419caa44e77e79d1cbb SHA512 7c81bef8457f28dd40b908f535cf432d65ba6910c54f730b4d9f7a0bffa096653af029701a6ce4bd22910ec69453c5ff22c657100757d7d6eacff2226b597023
DIST phpmd-2.8.2.tar.gz 68049 BLAKE2B 5135364fd77aa7e56bcbc7cda7b8bff1daf08211ff2a555aadb6f9fd6706d138bd89a3bfdb8b33f15df8746826d2c09435fa1d69109609a2e7b63843ba15e0fc SHA512 7c793181fa954b8c67334c0e0bdbb5bd93244233c404fb8b51ceacb3ede121e7fb66f69d555455fddbf333741a8d8636b85f20884a09988934e128f853f6faaa
-14
View File
@@ -1,14 +0,0 @@
<?php
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
require_once('/usr/share/php/Fedora/Autoloader/autoload.php');
}
\Fedora\Autoloader\Autoload::addPsr4(
'PHPMD\\',
__DIR__ . '/../src/main/php/PHPMD'
);
\Fedora\Autoloader\Dependencies::required(
array('/usr/share/phpdepend/vendor/autoload.php')
);
-11
View File
@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>php-bugs@gentoo.org</email>
<name>PHP</name>
</maintainer>
<upstream>
<remote-id type="github">phpmd/phpmd</remote-id>
</upstream>
</pkgmetadata>
-38
View File
@@ -1,38 +0,0 @@
# 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}"
}
-38
View File
@@ -1,38 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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}"
}