* [gentoo-commits] repo/gentoo:master commit in: dev-php/sebastian-version/files/, dev-php/sebastian-version/
@ 2017-03-09 16:23 Brian Evans
0 siblings, 0 replies; only message in thread
From: Brian Evans @ 2017-03-09 16:23 UTC (permalink / raw
To: gentoo-commits
commit: 5a3b26f0fd67da0b3a2814c47d0471b551bc794b
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 9 15:15:16 2017 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Mar 9 16:21:06 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a3b26f0
dev-php/sebastian-version: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
dev-php/sebastian-version/Manifest | 1 +
dev-php/sebastian-version/files/autoload.php | 13 +++++++++++
dev-php/sebastian-version/metadata.xml | 8 +++++++
.../sebastian-version-2.0.1.ebuild | 27 ++++++++++++++++++++++
4 files changed, 49 insertions(+)
diff --git a/dev-php/sebastian-version/Manifest b/dev-php/sebastian-version/Manifest
new file mode 100644
index 00000000000..034fe46e938
--- /dev/null
+++ b/dev-php/sebastian-version/Manifest
@@ -0,0 +1 @@
+DIST sebastian-version-2.0.1.tar.gz 3581 SHA256 95528613681183eb8eca91b5e786da28cdd62effa35652792578b1ca6b730212 SHA512 12a813ff08996f8a6e53069ea297fb00f5fc9b58ce463b4008791cadc19575539bdb17acbf1f2fa67b18ce5a9207c9acd47183d520b60d6a188569f513d8a661 WHIRLPOOL e1b4759df3ac041cc46edb53439b8b1caa612142f92082aecbd3f8573be4a66c0ab0a0c9e637cf64a094bd4a1666ab6a503b17d07b66b72e3a1243c8bf4be0fe
diff --git a/dev-php/sebastian-version/files/autoload.php b/dev-php/sebastian-version/files/autoload.php
new file mode 100644
index 00000000000..3839169bafb
--- /dev/null
+++ b/dev-php/sebastian-version/files/autoload.php
@@ -0,0 +1,13 @@
+<?php
+/* Autoloader for dev-php/sebastian-version */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'sebastianbergmann\version' => '/../Version.php',
+ ),
+ __DIR__
+);
diff --git a/dev-php/sebastian-version/metadata.xml b/dev-php/sebastian-version/metadata.xml
new file mode 100644
index 00000000000..b86acf66c75
--- /dev/null
+++ b/dev-php/sebastian-version/metadata.xml
@@ -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>
diff --git a/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild b/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild
new file mode 100644
index 00000000000..87a7bded342
--- /dev/null
+++ b/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="version"
+
+DESCRIPTION="Helps with managing the version number of Git-hosted PHP projects"
+HOMEPAGE="http://phpunit.de"
+SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+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/SebastianBergmann
+ doins src/Version.php
+ insinto /usr/share/php/SebastianBergmann/Version
+ doins "${FILESDIR}/autoload.php"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-09 16:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 16:23 [gentoo-commits] repo/gentoo:master commit in: dev-php/sebastian-version/files/, dev-php/sebastian-version/ Brian Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox