mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-php/phpdocumentor-reflection-common: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
1
dev-php/phpdocumentor-reflection-common/Manifest
Normal file
1
dev-php/phpdocumentor-reflection-common/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST phpdocumentor-reflection-common-1.0.tar.gz 7746 SHA256 f53df95e812fc0208ba6aeef9e9fab95e5896ba3327d3f724ce03f0a17000b97 SHA512 63d76282d0921535af70e084d3621d8cc6b07f49bc5348429a340730212f3c99f8e64636e43cebb3140fa4f6363b4f2a0c02cbe38036a28123e7bbeb67c61a0d WHIRLPOOL e895a96359b4474012be2ad806cd4d4148564090a4b517f3651f531ada0ec3a2ada889b236b85219a4b1fe61272aa5c70192ad193177b66b571960eee7eb56ae
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/phpdocumentor-reflection-common */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
Fedora\Autoloader\Autoload::addPsr4('phpDocumentor\\Reflection\\', __DIR__);
|
||||
8
dev-php/phpdocumentor-reflection-common/metadata.xml
Normal file
8
dev-php/phpdocumentor-reflection-common/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="ReflectionCommon"
|
||||
MY_VENDOR="phpDocumentor"
|
||||
|
||||
DESCRIPTION="Common reflection classes used by phpdocumentor to reflect the code structure"
|
||||
HOMEPAGE="https://www.phpdoc.org"
|
||||
SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-lang/php-5.6:*"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/${MY_VENDOR}/${MY_PN}
|
||||
doins -r src/*
|
||||
doins "${FILESDIR}/autoload.php"
|
||||
}
|
||||
Reference in New Issue
Block a user