From a2ca0c4f65a3eb3f9562aef2c804eb11eb147cd0 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sun, 4 Aug 2024 20:29:52 +0100 Subject: dev-php/zxcvbn: new package, add 1.3.1 --- dev-php/zxcvbn/Manifest | 1 + dev-php/zxcvbn/metadata.xml | 11 +++++++++++ dev-php/zxcvbn/zxcvbn-1.3.1.ebuild | 23 +++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 dev-php/zxcvbn/Manifest create mode 100644 dev-php/zxcvbn/metadata.xml create mode 100644 dev-php/zxcvbn/zxcvbn-1.3.1.ebuild (limited to 'dev-php') diff --git a/dev-php/zxcvbn/Manifest b/dev-php/zxcvbn/Manifest new file mode 100644 index 00000000..7f14ae9f --- /dev/null +++ b/dev-php/zxcvbn/Manifest @@ -0,0 +1 @@ +DIST zxcvbn-1.3.1.tar.gz 1958153 BLAKE2B 35909f267be8f0e6fe5f90e49123801f179b9d6518c4f1aea21d18ac4305eaa75f3880599e984910a64bb8e4eeced5e8e6c655a76ab2ffa819feabea8b7b7b76 SHA512 5c04a59e8960b7d3141c488d88734fff3b52f1184a03f2d0f928dc3fb6079b955e8b18af8afffaed468ab967253ddfa7231997a9f82edec648ec2da8552b7de9 diff --git a/dev-php/zxcvbn/metadata.xml b/dev-php/zxcvbn/metadata.xml new file mode 100644 index 00000000..4ed2ae63 --- /dev/null +++ b/dev-php/zxcvbn/metadata.xml @@ -0,0 +1,11 @@ + + + + + bertrand@jacquin.bzh + Bertrand Jacquin + + + bjeavons/zxcvbn-php + + diff --git a/dev-php/zxcvbn/zxcvbn-1.3.1.ebuild b/dev-php/zxcvbn/zxcvbn-1.3.1.ebuild new file mode 100644 index 00000000..6245afc2 --- /dev/null +++ b/dev-php/zxcvbn/zxcvbn-1.3.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Realistic PHP password strength estimate library based on Zxcvbn JS" +HOMEPAGE="https://github.com/bjeavons/zxcvbn-php" +SRC_URI="https://github.com/bjeavons/zxcvbn-php/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=">=dev-lang/php-7.2[gmp]" + +S="${WORKDIR}/zxcvbn-php-${PV}" + +src_install() { + insinto "/usr/share/php/ZxcvbnPhp/" + doins -r src/. + + dodoc README.md +} -- cgit v1.2.3