summaryrefslogtreecommitdiff
path: root/dev-php/psr-log
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/psr-log
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/psr-log')
-rw-r--r--dev-php/psr-log/Manifest4
-rw-r--r--dev-php/psr-log/files/autoload.php8
-rw-r--r--dev-php/psr-log/metadata.xml23
-rw-r--r--dev-php/psr-log/psr-log-1.0.2.ebuild24
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-php/psr-log/Manifest b/dev-php/psr-log/Manifest
new file mode 100644
index 000000000000..66385ec5ee1d
--- /dev/null
+++ b/dev-php/psr-log/Manifest
@@ -0,0 +1,4 @@
+AUX autoload.php 258 SHA256 bd98a7cccab1dfa06ec8fb0b8179c3c5da24b70cfadf4f2ebd16444b81504bb9 SHA512 ced0c315c49aa13275c6b06ad0c10d2601654408aa4bd535103ac518c977554c7dfaccb31a7c151ada94dfc9c1198a3c4758ce6a020d6a70041aa9cc3fea634e WHIRLPOOL 4cb9e0a5cc7e3644add77cecb1cf5e899df4966a3cc45e61598914414cb25b4aecc8bea5852d058595859000f31948a559f69c5e599817f453d26c4ec9c74795
+DIST psr-log-1.0.2.tar.gz 4755 SHA256 753c27183c78f667497d9926511cf4b119007d49c709009b5759715a7b6112c9 SHA512 a95cf38a92e7259d615d48cf002c4a0a0b6d6a166a345dc40e7636f913e7a787fdc35d4279741d90e04f9b564b608a138ce2e59115014da6be9d779de2a01bf8 WHIRLPOOL 7f7c1eb2cf3e0a0b7a5c041ac6737ce98d8bdffccafe37a2ad206a40bb293e7fa59a382b1a9e3039828410c2d16012c075acb798416a83e97652561e786d66f5
+EBUILD psr-log-1.0.2.ebuild 533 SHA256 95b778cb2c7a4635a0770d08a438fba57b2eb431507f5157e09dcf4fdeb32bab SHA512 084b128cb1cda9b2a285607062dc6ccd33d9f4dab7ed0a1f0c67e9f719bb29a583e6446082edfd7a0f26daedce176bd28dfb5b31aad9a1ee52fa3e22a83c1377 WHIRLPOOL d6eb067d01621a4fb264726faa5d162d4b7b1286ee87d88b18585cd8e9de92a107f9fd06525086ee40464601b1f1ec063f57cf78d01c561556788bd06458fa39
+MISC metadata.xml 791 SHA256 af9339b7ad04565625a05131c4aeb0685eeb60e33a4dd21704f1b744b022fe8e SHA512 9c857688261cd09bb6ad3b2e746413d1865b5bcfa54b045ba293490e93ac72d396ce4f157c21044cbba8124136c184b87acc9c34d264548a5612d5e3335bfe30 WHIRLPOOL cb2ffecbbf03d7fe27b161a0b39e0001e7b7d02dd9a79a73284576f1a46e02d95bc6096746c14a704fb6143e39914e4033cfbb5655dee81b198997378205c42f
diff --git a/dev-php/psr-log/files/autoload.php b/dev-php/psr-log/files/autoload.php
new file mode 100644
index 000000000000..fac5a688b5a9
--- /dev/null
+++ b/dev-php/psr-log/files/autoload.php
@@ -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__);
diff --git a/dev-php/psr-log/metadata.xml b/dev-php/psr-log/metadata.xml
new file mode 100644
index 000000000000..ca6e5a92983b
--- /dev/null
+++ b/dev-php/psr-log/metadata.xml
@@ -0,0 +1,23 @@
+<?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>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ </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>
+ <upstream>
+ <remote-id type="github">php-fig/log</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-php/psr-log/psr-log-1.0.2.ebuild b/dev-php/psr-log/psr-log-1.0.2.ebuild
new file mode 100644
index 000000000000..f8330e5d3cf8
--- /dev/null
+++ b/dev-php/psr-log/psr-log-1.0.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}