mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-php/webmozart-assert: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
1
dev-php/webmozart-assert/Manifest
Normal file
1
dev-php/webmozart-assert/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST webmozart-assert-1.2.0.tar.gz 11866 SHA256 95bd88f5db9e083093e72afcad69bfafca080c55c60b534d55ea883d2e03517d SHA512 36bae648cfe5bbd258d738574a820ea3de2e95b59700d556dd5eadbb1657bc09a7e73000e3436d020e060ecd2a99944199795f315a278acbeeea90570b0a4a22 WHIRLPOOL 0e8e220c1bf579206df3a2f75bdbc4ad3c5938e816127db013e464d0a0b596e7357014c5516c9cc64fa7a201ac4a320087724395cf326590b227173cda808ed9
|
||||
8
dev-php/webmozart-assert/files/autoload.php
Normal file
8
dev-php/webmozart-assert/files/autoload.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/webmozart-assert */
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
||||
}
|
||||
|
||||
Fedora\Autoloader\Autoload::addPsr4('Webmozart\\Assert\\', __DIR__);
|
||||
8
dev-php/webmozart-assert/metadata.xml
Normal file
8
dev-php/webmozart-assert/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>
|
||||
26
dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild
Normal file
26
dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="${PN/webmozart-//}"
|
||||
|
||||
DESCRIPTION="Assertions to validate method input/output with nice error messages"
|
||||
HOMEPAGE="https://github.com/webmozart/assert"
|
||||
SRC_URI="https://github.com/webmozart/${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/Webmozart/Assert
|
||||
doins -r src/*
|
||||
doins "${FILESDIR}/autoload.php"
|
||||
}
|
||||
Reference in New Issue
Block a user