* [gentoo-commits] repo/gentoo:master commit in: dev-php/PHP_Timer/, dev-php/PHP_Timer/files/
@ 2017-03-09 16:23 Brian Evans
0 siblings, 0 replies; 4+ messages in thread
From: Brian Evans @ 2017-03-09 16:23 UTC (permalink / raw
To: gentoo-commits
commit: 9bcffd2f1968b3c9d001b98275826fff7dc1a91a
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 9 16:13:27 2017 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Mar 9 16:22:47 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bcffd2f
dev-php/PHP_Timer: Version bump and use composer autoloading
Package-Manager: Portage-2.3.4, Repoman-2.3.2
dev-php/PHP_Timer/Manifest | 1 +
dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild | 31 +++++++++++++++++++++++++++++++
dev-php/PHP_Timer/files/autoload.php | 13 +++++++++++++
3 files changed, 45 insertions(+)
diff --git a/dev-php/PHP_Timer/Manifest b/dev-php/PHP_Timer/Manifest
index 3a3a0f5e3fa..719e67b0125 100644
--- a/dev-php/PHP_Timer/Manifest
+++ b/dev-php/PHP_Timer/Manifest
@@ -1 +1,2 @@
DIST PHP_Timer-1.0.5.tgz 3597 SHA256 9c3954a8056d63b857febe239d00f1c2c007f10a731b4e90c4de74c47c633141 SHA512 da030dec608d1f8d447da6ce40e995ca818064e3a4b2f2eca1819a77a12875843a25bba1ffd253043ef3ac62a6dc1a16c5e7ba9b792b99b54d0713090478be84 WHIRLPOOL 10a05fae0afc4d03ae24b73b94641ff2feadea158d553a789978671441351d2df6575df1add9ee912e02015bcb5a8c8cb2aee443a0bc4182e8794201593b9dab
+DIST PHP_Timer-1.0.9.tar.gz 3740 SHA256 db90226fe9c5e3d72f49780d6df430b4f305b55639544fdfb9b22927d581670c SHA512 96db90cf2af18fabcf44bdd4dbb5d298402ed2c8e49f3033fd1b89b3aa8c880d9f8677897d4d542a0db6348bdd9c697042deb0b6e26242adebfde1bcdb4bc559 WHIRLPOOL 38088ea070c666286478bf7ee95ee18a5abf6a1c372efb280f2f22d6c402ef12d62652f4868766e0d073397f3d359afbf466d1332b941a581819575f6607fa81
diff --git a/dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild b/dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild
new file mode 100644
index 00000000000..40817141490
--- /dev/null
+++ b/dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="php-timer"
+
+DESCRIPTION="Utility class for timing"
+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/PHP/Timer
+ doins -r src/Timer.php
+ doins "${FILESDIR}/autoload.php"
+}
+
+pkg_postinst() {
+ ewarn "This library now loads via /usr/share/php/PHP/Timer/autoload.php"
+ ewarn "Please update any scripts to require the autoloader"
+}
diff --git a/dev-php/PHP_Timer/files/autoload.php b/dev-php/PHP_Timer/files/autoload.php
new file mode 100644
index 00000000000..bb0974e087d
--- /dev/null
+++ b/dev-php/PHP_Timer/files/autoload.php
@@ -0,0 +1,13 @@
+<?php
+/* Autoloader for dev-php/PHP_Timer */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'php_timer' => '/Timer.php',
+ ),
+ __DIR__
+);
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/PHP_Timer/, dev-php/PHP_Timer/files/
@ 2019-12-19 21:51 Brian Evans
0 siblings, 0 replies; 4+ messages in thread
From: Brian Evans @ 2019-12-19 21:51 UTC (permalink / raw
To: gentoo-commits
commit: 6a76ba7920112125d37879bad8c6f863b5fbb3cb
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 19 20:35:04 2019 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Dec 19 21:50:52 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a76ba79
dev-php/PHP_Timer: Version bump for 2.1.2
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-php/PHP_Timer/Manifest | 1 +
dev-php/PHP_Timer/PHP_Timer-2.1.2.ebuild | 31 ++++++++++++++++++++++++++++++
dev-php/PHP_Timer/files/autoload-2.1.2.php | 15 +++++++++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-php/PHP_Timer/Manifest b/dev-php/PHP_Timer/Manifest
index d989f88a6b5..d99a7462f4c 100644
--- a/dev-php/PHP_Timer/Manifest
+++ b/dev-php/PHP_Timer/Manifest
@@ -1,2 +1,3 @@
DIST PHP_Timer-1.0.5.tgz 3597 BLAKE2B cf82c3ff61a1f96a94a5d3743270be3262bc2ea28d7d71cd1c93a07c7bec950597c4da5d6dd23e4b58b8aad7c2e3bdb7aea07d761ef096e898088ca2296b43cf SHA512 da030dec608d1f8d447da6ce40e995ca818064e3a4b2f2eca1819a77a12875843a25bba1ffd253043ef3ac62a6dc1a16c5e7ba9b792b99b54d0713090478be84
DIST PHP_Timer-1.0.9.tar.gz 3740 BLAKE2B d551fd676046e6bb653fb9a9bde7a976b9b2081d26caee23177b899fa01e11ae1fb2183234ab43745798c058222574b1523064cc07d25485315eef9090f892a5 SHA512 96db90cf2af18fabcf44bdd4dbb5d298402ed2c8e49f3033fd1b89b3aa8c880d9f8677897d4d542a0db6348bdd9c697042deb0b6e26242adebfde1bcdb4bc559
+DIST PHP_Timer-2.1.2.tar.gz 7090 BLAKE2B c99dd69433b3579e9ed81f06188cac280b6ac383bce12acd9c6a00b5a6d6017a94c427692b639ad1516c1faebec8e160b7cd5c7e5e96043dd3dcb6d283d2095b SHA512 199175e048560756867180cd99a3ca1766431d14091f1448cd8011df5f7824504a6c586ef15d9e53374bdb9dbd1731c05b44509e59d92d725908ec2c46d7d576
diff --git a/dev-php/PHP_Timer/PHP_Timer-2.1.2.ebuild b/dev-php/PHP_Timer/PHP_Timer-2.1.2.ebuild
new file mode 100644
index 00000000000..a0785cb680f
--- /dev/null
+++ b/dev-php/PHP_Timer/PHP_Timer-2.1.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="php-timer"
+
+DESCRIPTION="Utility class for timing"
+HOMEPAGE="https://phpunit.de"
+SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="dev-php/fedora-autoloader
+ >=dev-lang/php-7.1:*"
+
+src_install() {
+ insinto /usr/share/php/PHP/Timer
+ doins -r src/Timer.php src/{Runtime,}Exception.php
+ newins "${FILESDIR}/autoload-2.1.2.php" autoload.php
+}
+
+pkg_postinst() {
+ ewarn "This library now loads via /usr/share/php/PHP/Timer/autoload.php"
+ ewarn "Please update any scripts to require the autoloader"
+}
diff --git a/dev-php/PHP_Timer/files/autoload-2.1.2.php b/dev-php/PHP_Timer/files/autoload-2.1.2.php
new file mode 100644
index 00000000000..835f626a13a
--- /dev/null
+++ b/dev-php/PHP_Timer/files/autoload-2.1.2.php
@@ -0,0 +1,15 @@
+<?php
+/* Autoloader for dev-php/PHP_Timer */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ [
+ 'sebastianBergmann\timer\exception' => '/Exception.php',
+ 'sebastianBergmann\timer\runtimeexception' => '/RuntimeException.php',
+ 'sebastianBergmann\timer\timer' => '/Timer.php',
+ ],
+ __DIR__
+);
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/PHP_Timer/, dev-php/PHP_Timer/files/
@ 2019-12-20 18:34 Brian Evans
0 siblings, 0 replies; 4+ messages in thread
From: Brian Evans @ 2019-12-20 18:34 UTC (permalink / raw
To: gentoo-commits
commit: c6976e62468d993e24c5501b2590a441172958fc
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 20 18:32:57 2019 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 18:34:24 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6976e62
dev-php/PHP_Timer: Revbump to fix bad autoload file
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
.../PHP_Timer/{PHP_Timer-2.1.2.ebuild => PHP_Timer-2.1.2-r1.ebuild} | 0
dev-php/PHP_Timer/files/autoload-2.1.2.php | 6 +++---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-php/PHP_Timer/PHP_Timer-2.1.2.ebuild b/dev-php/PHP_Timer/PHP_Timer-2.1.2-r1.ebuild
similarity index 100%
rename from dev-php/PHP_Timer/PHP_Timer-2.1.2.ebuild
rename to dev-php/PHP_Timer/PHP_Timer-2.1.2-r1.ebuild
diff --git a/dev-php/PHP_Timer/files/autoload-2.1.2.php b/dev-php/PHP_Timer/files/autoload-2.1.2.php
index 835f626a13a..65490d9ae6e 100644
--- a/dev-php/PHP_Timer/files/autoload-2.1.2.php
+++ b/dev-php/PHP_Timer/files/autoload-2.1.2.php
@@ -7,9 +7,9 @@ if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
\Fedora\Autoloader\Autoload::addClassMap(
[
- 'sebastianBergmann\timer\exception' => '/Exception.php',
- 'sebastianBergmann\timer\runtimeexception' => '/RuntimeException.php',
- 'sebastianBergmann\timer\timer' => '/Timer.php',
+ 'sebastianbergmann\timer\exception' => '/Exception.php',
+ 'sebastianbergmann\timer\runtimeexception' => '/RuntimeException.php',
+ 'sebastianbergmann\timer\timer' => '/Timer.php',
],
__DIR__
);
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/PHP_Timer/, dev-php/PHP_Timer/files/
@ 2022-01-07 14:34 Brian Evans
0 siblings, 0 replies; 4+ messages in thread
From: Brian Evans @ 2022-01-07 14:34 UTC (permalink / raw
To: gentoo-commits
commit: 5da9fa558b0aa96b2c4036c81e07cea18d7402bc
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 7 14:28:34 2022 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Jan 7 14:34:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da9fa55
dev-php/PHP_Timer: Version bump for 5.0.3
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-php/PHP_Timer/Manifest | 1 +
dev-php/PHP_Timer/PHP_Timer-5.0.3.ebuild | 31 ++++++++++++++++++++++++++++++
dev-php/PHP_Timer/files/autoload-5.0.3.php | 18 +++++++++++++++++
3 files changed, 50 insertions(+)
diff --git a/dev-php/PHP_Timer/Manifest b/dev-php/PHP_Timer/Manifest
index e502bf2d2ae4..29415f02a66d 100644
--- a/dev-php/PHP_Timer/Manifest
+++ b/dev-php/PHP_Timer/Manifest
@@ -1 +1,2 @@
DIST PHP_Timer-2.1.2.tar.gz 7090 BLAKE2B c99dd69433b3579e9ed81f06188cac280b6ac383bce12acd9c6a00b5a6d6017a94c427692b639ad1516c1faebec8e160b7cd5c7e5e96043dd3dcb6d283d2095b SHA512 199175e048560756867180cd99a3ca1766431d14091f1448cd8011df5f7824504a6c586ef15d9e53374bdb9dbd1731c05b44509e59d92d725908ec2c46d7d576
+DIST PHP_Timer-5.0.3.tar.gz 5363 BLAKE2B b63d438eab1dd5d872a1a632f1861d216dbdd7ab073a8fa36bad7f93134fd0c98ef7eb049189aeb6373b60eba592cc5add0044ac577d0b9728f3f78156dae914 SHA512 e1642cd0d247a49981f142b6975339c4abaf26cf4847783f309a0a15ba7a55520c7d1e11a87ea9b923337a9972f4dc95ee11121484a75c9c7a20882f664e8ba5
diff --git a/dev-php/PHP_Timer/PHP_Timer-5.0.3.ebuild b/dev-php/PHP_Timer/PHP_Timer-5.0.3.ebuild
new file mode 100644
index 000000000000..2ce617845f94
--- /dev/null
+++ b/dev-php/PHP_Timer/PHP_Timer-5.0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="php-timer"
+
+DESCRIPTION="Utility class for timing"
+HOMEPAGE="https://phpunit.de"
+SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="dev-php/fedora-autoloader
+ >=dev-lang/php-7.1:*"
+
+src_install() {
+ insinto /usr/share/php/PHP/Timer
+ doins -r src/*
+ newins "${FILESDIR}/autoload-5.0.3.php" autoload.php
+}
+
+pkg_postinst() {
+ ewarn "This library now loads via /usr/share/php/PHP/Timer/autoload.php"
+ ewarn "Please update any scripts to require the autoloader"
+}
diff --git a/dev-php/PHP_Timer/files/autoload-5.0.3.php b/dev-php/PHP_Timer/files/autoload-5.0.3.php
new file mode 100644
index 000000000000..45b65b6045e8
--- /dev/null
+++ b/dev-php/PHP_Timer/files/autoload-5.0.3.php
@@ -0,0 +1,18 @@
+<?php
+/* Autoloader for dev-php/PHP_Timer */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ [
+ 'sebastianbergmann\timer\duration' => '/Duration.php',
+ 'sebastianbergmann\timer\exception' => '/exceptions/Exception.php',
+ 'sebastianbergmann\timer\noactivetimerexception' => '/exceptions/NoActiveTimerException.php',
+ 'sebastianbergmann\timer\resourceusageformatter' => '/ResourceUsageFormatter.php',
+ 'sebastianbergmann\timer\timer' => '/Timer.php',
+ 'sebastianbergmann\timer\timesincestartofrequestnotavailableexception' => '/exceptions/TimeSinceStartOfRequestNotAvailableException.php',
+ ],
+ __DIR__
+);
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-07 14:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-20 18:34 [gentoo-commits] repo/gentoo:master commit in: dev-php/PHP_Timer/, dev-php/PHP_Timer/files/ Brian Evans
-- strict thread matches above, loose matches on Subject: below --
2022-01-07 14:34 Brian Evans
2019-12-19 21:51 Brian Evans
2017-03-09 16:23 Brian Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox