dev-php/PEAR-HTTP_Session2: Revbump for EAPI and tests
authorBrian Evans <grknight@gentoo.org>
Mon, 23 Apr 2018 14:36:08 +0000 (10:36 -0400)
committerBrian Evans <grknight@gentoo.org>
Mon, 23 Apr 2018 14:54:00 +0000 (10:54 -0400)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

dev-php/PEAR-HTTP_Session2/PEAR-HTTP_Session2-0.7.3-r2.ebuild [new file with mode: 0644]

diff --git a/dev-php/PEAR-HTTP_Session2/PEAR-HTTP_Session2-0.7.3-r2.ebuild b/dev-php/PEAR-HTTP_Session2/PEAR-HTTP_Session2-0.7.3-r2.ebuild
new file mode 100644 (file)
index 0000000..2a2f088
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit php-pear-r2
+
+DESCRIPTION="Wraps PHP's session functions providing extras like db storage for session data"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="minimal test"
+
+RDEPEND="!minimal? ( >=dev-php/PEAR-MDB2-2.4.1
+                       >=dev-php/PEAR-DB-1.7.11 )"
+DEPEND="test? ( dev-php/PEAR-PEAR )"
+
+src_test() {
+       pear run-tests tests || die "Tests failed"
+}