From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D933138334 for ; Fri, 12 Oct 2018 21:48:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5693AE07D3; Fri, 12 Oct 2018 21:48:15 +0000 (UTC) Received: from smtp.gentoo.org (unknown [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29268E07D3 for ; Fri, 12 Oct 2018 21:48:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E3D2335C7B for ; Fri, 12 Oct 2018 21:47:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 110EA3F6 for ; Fri, 12 Oct 2018 21:47:51 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1539379702.138e62b13c34c2376320d71874854c4df010090a.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/recaptcha/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/recaptcha/Manifest dev-php/recaptcha/recaptcha-1.2.1.ebuild X-VCS-Directories: dev-php/recaptcha/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 138e62b13c34c2376320d71874854c4df010090a X-VCS-Branch: master Date: Fri, 12 Oct 2018 21:47:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4fb2b76b-a625-4b12-84a4-71d1648ab0fd X-Archives-Hash: ad36ddcde35d6481f1bc7f6e538b2a27 commit: 138e62b13c34c2376320d71874854c4df010090a Author: Michael Orlitzky gentoo org> AuthorDate: Fri Oct 12 13:50:37 2018 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Fri Oct 12 21:28:22 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=138e62b1 dev-php/recaptcha: new version 1.2.1. Signed-off-by: Michael Orlitzky gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-php/recaptcha/Manifest | 1 + dev-php/recaptcha/recaptcha-1.2.1.ebuild | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-php/recaptcha/Manifest b/dev-php/recaptcha/Manifest index a9a96b170c7..b7b95a982e2 100644 --- a/dev-php/recaptcha/Manifest +++ b/dev-php/recaptcha/Manifest @@ -1 +1,2 @@ DIST recaptcha-1.1.3.tar.gz 12909 BLAKE2B cbffb64148f3359f4d351089fde65d2b9c8136e0814b5f6aedb3cd9b7f7d3f8f77d9673059f3909b381cf9151ca34a31bb961fe8686bdda4612c718828e46036 SHA512 54e22654d3b24400e448260f1d075ba2586d33cf44e0a5187b5c1288705b29bf9de394f8ca48f7717a2480cb1ae21348cc63e724f1eb93f268407a942b13f9dd +DIST recaptcha-1.2.1.tar.gz 19935 BLAKE2B 43077b25d484940951bf070fa440b5d13c6992c2a157e06b81961b9692683a277d9507e44102dd0ba0cde66c892fd4736ed34cae4b001bdce0d4ab619828b432 SHA512 62df22a6f4b05006a6051db689994e455ada43f76406dd62c5c13f1d90ae64401e9d75c6a92f2c620a14c070d2b49199c20e70eb6284e42e676d37412a98abe4 diff --git a/dev-php/recaptcha/recaptcha-1.2.1.ebuild b/dev-php/recaptcha/recaptcha-1.2.1.ebuild new file mode 100644 index 00000000000..867c4344a21 --- /dev/null +++ b/dev-php/recaptcha/recaptcha-1.2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PHP client library for Google's reCAPTCHA service" +HOMEPAGE="https://github.com/google/recaptcha" +SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +RDEPEND="dev-lang/php" +BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_install(){ + insinto "/usr/share/php/${PN}" + doins -r src/autoload.php src/ReCaptcha + dodoc CONTRIBUTING.md README.md + use examples && dodoc -r examples +} + +src_test(){ + phpunit || die "test suite failed" +} + +pkg_postinst(){ + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "To use it in a script, require('${PN}/autoload.php')," + elog "and then use the ${PN} class normally. Most of the examples in" + elog "the documentation should work without further modification." +}