added spyc-9999 (dependency for www-apps/simpleid)

This commit is contained in:
tastytea 2018-06-22 10:44:19 +02:00
parent f8eab8ee86
commit d4688c3ba8
Signed by untrusted user: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 44 additions and 0 deletions

15
dev-php/spyc/metadata.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>tastytea</name>
</maintainer>
<upstream>
<maintainer>
<name>mustangostang</name>
<email>vlad.andersen@gmail.com</email>
</maintainer>
<bugs-to>https://github.com/mustangostang/spyc/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,29 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3
KEYWORDS=""
DESCRIPTION="A simple YAML loader/dumper class for PHP"
HOMEPAGE="https://github.com/mustangostang/spyc"
EGIT_REPO_URI="https://github.com/mustangostang/spyc.git"
LICENSE="MIT"
SLOT="0"
IUSE=""
RDEPEND=">=dev-lang/php-7.1.18
>=dev-php/fedora-autoloader-0.2.1"
DEPEND="${RDEPEND}"
src_unpack() {
git-r3_src_unpack
}
src_install() {
insinto "/usr/share/php/spyc"
doins Spyc.php "${FILESDIR}"/autoload.php
dodoc README.md
}