dev-perl/Test-Nginx: new package, add 0.31

The Test::Nginx Perl module is a testing framework utilised by various
third party NGINX modules, mainly developed by OpenResty.

Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Zurab Kvachadze
2025-02-18 15:47:29 +01:00
committed by Sam James
parent 33d3f76d5d
commit e7d46b9145
3 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST Test-Nginx-0.31.tar.gz 133483 BLAKE2B 5b17badcad86f3cba34c68b36676944d7077038986c50afd5251aa50fb42f30176334ef9e224549a4ac69f4c52498a1076884e13164ad1a52067937d7ebcd521 SHA512 85e28802051581946e75df195187a5fa90105c054c2beb3f815cbd4225a15b7db42dda0799464fc58811cae083c2f28135e0f8c4d8c233505f7edfe9a9b13667

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=AGENT
inherit perl-module
DESCRIPTION="Data-driven test scaffold for NGINX and OpenResty"
HOMEPAGE+=" https://github.com/openresty/test-nginx"
SRC_URI="https://github.com/openresty/test-nginx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
MY_PN="test-nginx"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="BSD"
SLOT="0"
# The following packages in the dev-perl category provide the required Perl
# modules that Test-Nginx depends on:
# (1) libwww-perl provides LWP::UserAgent,
# (2) HTTP-Message provides HTTP::Response,
# (3) URI provides URI::Escape.
RDEPEND="
dev-perl/HTTP-Message
dev-perl/IPC-Run
dev-perl/List-MoreUtils
dev-perl/Test-Base
dev-perl/Test-LongString
dev-perl/Text-Diff
dev-perl/libwww-perl
virtual/perl-ExtUtils-MakeMaker
virtual/perl-File-Temp
virtual/perl-Time-HiRes
"

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zurabid2016@gmail.com</email>
<name>Zurab Kvachadze</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">openresty/test-nginx</remote-id>
<remote-id type="cpan">Test-Nginx</remote-id>
<remote-id type="cpan-module">Test::Nginx</remote-id>
</upstream>
</pkgmetadata>