* [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Validate/files/, dev-php/PEAR-Validate/
@ 2018-02-14 17:52 Brian Evans
0 siblings, 0 replies; 2+ messages in thread
From: Brian Evans @ 2018-02-14 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 852388e03888fafa383aaede9c8c564a6189344b
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 17:52:37 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 17:52:37 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=852388e0
dev-php/PEAR-Validate: Revbump for EAPI, eclass changes and add tests
Package-Manager: Portage-2.3.24, Repoman-2.3.6
.../PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild | 22 ++++++++++++++++++++++
.../PEAR-Validate/files/0.8.5-fix-test-php7.patch | 19 +++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/dev-php/PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild b/dev-php/PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild
new file mode 100644
index 00000000000..e8e5e342cc5
--- /dev/null
+++ b/dev-php/PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit php-pear-r2
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+DESCRIPTION="Validation class"
+LICENSE="BSD"
+SLOT="0"
+IUSE="minimal test"
+
+DEPEND="test? ( dev-php/PEAR-PEAR dev-php/PEAR-Date )"
+RDEPEND="!minimal? ( dev-php/PEAR-Date )"
+PATCHES=( "${FILESDIR}/0.8.5-fix-test-php7.patch" )
+HTML_DOCS=( docs/Example_Locale.php docs/sample_multiple.php )
+
+src_test() {
+ peardev run-tests tests || die
+}
diff --git a/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch b/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch
new file mode 100644
index 00000000000..069c5467d04
--- /dev/null
+++ b/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch
@@ -0,0 +1,19 @@
+From a22b5cf2c7e4b4cf366c311150721961d9b456ea Mon Sep 17 00:00:00 2001
+From: Christian Weiske <cweiske@cweiske.de>
+Date: Thu, 16 Jul 2015 00:38:55 +0200
+Subject: [PATCH] Make tests run on PHP 7
+
+diff --git a/Validate.php b/Validate.php
+index a8f621c..ea6cfa7 100644
+--- a/Validate.php
++++ b/Validate.php
+@@ -583,7 +583,8 @@ function email($email, $options = null)
+ if ($use_rfc822? Validate::__emailRFC822($email, $options) :
+ preg_match($regex, $email)) {
+ if ($check_domain && function_exists('checkdnsrr')) {
+- $domain = preg_replace('/[^-a-z.0-9]/i', '', array_pop(explode('@', $email)));
++ $parts = explode('@', $email);
++ $domain = preg_replace('/[^-a-z.0-9]/i', '', array_pop($parts));
+ if (checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A')) {
+ return true;
+ }
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Validate/files/, dev-php/PEAR-Validate/
@ 2024-07-11 18:47 Viorel Munteanu
0 siblings, 0 replies; 2+ messages in thread
From: Viorel Munteanu @ 2024-07-11 18:47 UTC (permalink / raw
To: gentoo-commits
commit: cb040706c1d5e80fcbac97f4bfee9c61fd1d6ad2
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 11 17:38:16 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Jul 11 18:43:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb040706
dev-php/PEAR-Validate: treeclean
Bug: https://bugs.gentoo.org/933998
Bug: https://bugs.gentoo.org/774798
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
dev-php/PEAR-Validate/Manifest | 1 -
dev-php/PEAR-Validate/PEAR-Validate-0.8.6.ebuild | 23 ----------------------
.../PEAR-Validate/files/0.8.5-fix-test-php7.patch | 19 ------------------
dev-php/PEAR-Validate/metadata.xml | 9 ---------
4 files changed, 52 deletions(-)
diff --git a/dev-php/PEAR-Validate/Manifest b/dev-php/PEAR-Validate/Manifest
deleted file mode 100644
index 60effe7697df..000000000000
--- a/dev-php/PEAR-Validate/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Validate-0.8.6.tgz 21840 BLAKE2B 32b41534da0ec39ff425725a85c46e2043262160c630b03368036071871f3f6b86ffc648b62f103101e0d513505d51bacbfb8469d709f4cab6195680fa9cb666 SHA512 75627eb4d0a7622c17477670bf484384c0e5f8286832e0c357bf24a573256e9e70f84c8b818a4c7fb90ca2215a386d27ccd0cd5ee1e92dc4cbdd174290d136de
diff --git a/dev-php/PEAR-Validate/PEAR-Validate-0.8.6.ebuild b/dev-php/PEAR-Validate/PEAR-Validate-0.8.6.ebuild
deleted file mode 100644
index 42b1ca8b7f1e..000000000000
--- a/dev-php/PEAR-Validate/PEAR-Validate-0.8.6.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit php-pear-r2
-
-KEYWORDS="amd64 ~arm ~hppa ppc64 ~s390 sparc x86"
-
-DESCRIPTION="Validation class"
-LICENSE="BSD"
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-php/PEAR-PEAR dev-php/PEAR-Date )"
-RDEPEND="!minimal? ( dev-php/PEAR-Date )"
-#PATCHES=( "${FILESDIR}/0.8.5-fix-test-php7.patch" )
-HTML_DOCS=( docs/Example_Locale.php docs/sample_multiple.php )
-
-src_test() {
- peardev run-tests tests || die
-}
diff --git a/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch b/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch
deleted file mode 100644
index 069c5467d049..000000000000
--- a/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From a22b5cf2c7e4b4cf366c311150721961d9b456ea Mon Sep 17 00:00:00 2001
-From: Christian Weiske <cweiske@cweiske.de>
-Date: Thu, 16 Jul 2015 00:38:55 +0200
-Subject: [PATCH] Make tests run on PHP 7
-
-diff --git a/Validate.php b/Validate.php
-index a8f621c..ea6cfa7 100644
---- a/Validate.php
-+++ b/Validate.php
-@@ -583,7 +583,8 @@ function email($email, $options = null)
- if ($use_rfc822? Validate::__emailRFC822($email, $options) :
- preg_match($regex, $email)) {
- if ($check_domain && function_exists('checkdnsrr')) {
-- $domain = preg_replace('/[^-a-z.0-9]/i', '', array_pop(explode('@', $email)));
-+ $parts = explode('@', $email);
-+ $domain = preg_replace('/[^-a-z.0-9]/i', '', array_pop($parts));
- if (checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A')) {
- return true;
- }
diff --git a/dev-php/PEAR-Validate/metadata.xml b/dev-php/PEAR-Validate/metadata.xml
deleted file mode 100644
index 666e6402df14..000000000000
--- a/dev-php/PEAR-Validate/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- <name>PHP</name>
- </maintainer>
- <stabilize-allarches />
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-11 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-14 17:52 [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Validate/files/, dev-php/PEAR-Validate/ Brian Evans
-- strict thread matches above, loose matches on Subject: below --
2024-07-11 18:47 Viorel Munteanu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox