forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky <[email protected]>
- Loading branch information
1 parent
38e69d1
commit 6c369a5
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST psr-log-1.0.2.tar.gz 4755 SHA256 753c27183c78f667497d9926511cf4b119007d49c709009b5759715a7b6112c9 SHA512 a95cf38a92e7259d615d48cf002c4a0a0b6d6a166a345dc40e7636f913e7a787fdc35d4279741d90e04f9b564b608a138ce2e59115014da6be9d779de2a01bf8 WHIRLPOOL 7f7c1eb2cf3e0a0b7a5c041ac6737ce98d8bdffccafe37a2ad206a40bb293e7fa59a382b1a9e3039828410c2d16012c075acb798416a83e97652561e786d66f5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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__); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>[email protected]</email> | ||
<name>Guillaume Seren</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>[email protected]</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |