mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-php/recaptcha: drop 1.2.1
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST recaptcha-1.2.1.tar.gz 19935 BLAKE2B 43077b25d484940951bf070fa440b5d13c6992c2a157e06b81961b9692683a277d9507e44102dd0ba0cde66c892fd4736ed34cae4b001bdce0d4ab619828b432 SHA512 62df22a6f4b05006a6051db689994e455ada43f76406dd62c5c13f1d90ae64401e9d75c6a92f2c620a14c070d2b49199c20e70eb6284e42e676d37412a98abe4
|
||||
DIST recaptcha-1.2.4.tar.gz 21762 BLAKE2B 46c00ac95f2d2643a719b8ea4b53f33f92357406168e057dbdb87fb1419dd6626d1032113ba5842c69bdacb385887563b52290a55a861b57ddcf494e325c0595 SHA512 7c0bee86e532547900a0131c2c52d9d3e427eb0465d7ae5ca2bd3ccbeb7620c8b3216313e4ab382013045310f928364c1284a77eee2f2216d5b241e2d275597d
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# 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"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-lang/php"
|
||||
BDEPEND="test? ( ${RDEPEND} <dev-php/phpunit-6 )"
|
||||
|
||||
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."
|
||||
}
|
||||
Reference in New Issue
Block a user