mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-php/psr-log: Add 1.0.2 version
This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
committed by
Michael Orlitzky
parent
38e69d1f39
commit
6c369a57c2
1
dev-php/psr-log/Manifest
Normal file
1
dev-php/psr-log/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST psr-log-1.0.2.tar.gz 4755 SHA256 753c27183c78f667497d9926511cf4b119007d49c709009b5759715a7b6112c9 SHA512 a95cf38a92e7259d615d48cf002c4a0a0b6d6a166a345dc40e7636f913e7a787fdc35d4279741d90e04f9b564b608a138ce2e59115014da6be9d779de2a01bf8 WHIRLPOOL 7f7c1eb2cf3e0a0b7a5c041ac6737ce98d8bdffccafe37a2ad206a40bb293e7fa59a382b1a9e3039828410c2d16012c075acb798416a83e97652561e786d66f5
|
||||
8
dev-php/psr-log/files/autoload.php
Normal file
8
dev-php/psr-log/files/autoload.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for composer/ca-bundle and its dependencies */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Psr\\Log\\', __DIR__);
|
||||
17
dev-php/psr-log/metadata.xml
Normal file
17
dev-php/psr-log/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
PSR-3 logger, provide a common interface for logging libraries.
|
||||
The main goal is to allow libraries to receive a Psr\Log\LoggerInterface object
|
||||
and write logs to it in a simple and universal way.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
25
dev-php/psr-log/psr-log-1.0.2.ebuild
Normal file
25
dev-php/psr-log/psr-log-1.0.2.ebuild
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Common interface for logging libraries"
|
||||
HOMEPAGE="https://github.com/php-fig/log"
|
||||
SRC_URI="https://github.com/php-fig/log/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
S="${WORKDIR}/log-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Psr/Log"
|
||||
doins -r Psr/Log/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
||||
Reference in New Issue
Block a user