Re: NEW PORT: p5-Selenium-Remote-Driver

2019-07-09 Thread Paco Esteban
On Sun, 07 Jul 2019, Andrew Hewus Fresh wrote:

> p5-Test-LWP-UserAgent is missing a RUN_DEPENDS on p5-namespace-clean and
> a TEST_DEPENDS on p5-Test-Deep and p5-Test-Fatal, plus might benefit
> from adding p5-JSON-MaybeXS.

November last year I sent a tarball for this port but nobody seem to use
it back then. Here's the Makefile I used to build it (I still use it
today, just removed MAINTAINER and adapted PERMIT_PACKAGE in case you
want to use it as is). I think it might be more accurate on dependencies
than the one Marc Espie sent. He included devel/p5-Moose which I think
is not needed looking at CPAN, but probably drags in all the needed
dependencies (and many more, as Moose is pretty heavy on deps).

I hope it's somewhat useful.

# $OpenBSD$

COMMENT =   LWP::UserAgent for simulating and testing network calls

MODULES =   cpan
PKG_ARCH =  *
DISTNAME =  Test-LWP-UserAgent-0.033
CATEGORIES =www devel

# Perl
PERMIT_PACKAGE =Yes

BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS =   www/p5-HTTP-Date \
www/p5-HTTP-Message \
www/p5-libwww \
devel/p5-namespace-clean \
devel/p5-Safe-Isa \
devel/p5-Try-Tiny \
www/p5-URI
TEST_DEPENDS += devel/p5-Path-Tiny \
devel/p5-Test-Deep \
devel/p5-Test-Fatal \
devel/p5-Test-Needs \
devel/p5-Test-RequiresInternet \
devel/p5-Test-Warnings

MAKE_ENV =  TEST_POD=Yes

.include 

-- 
Paco Esteban.
https://onna.be/gpgkey.asc
9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03



Re: NEW PORT: p5-Selenium-Remote-Driver

2019-07-07 Thread Andrew Hewus Fresh
On Sat, Jun 29, 2019 at 08:59:31PM +0200, Marc Espie wrote:
> 
> Obviously, this is perl bindings to selenium.
> 
> ... and a companion dependency, p5-Test-LWP-UserAgent.
> 
> Both ports pass tests, and I've been succesfully opening both Chrome
> and GeckoDriver connections.
> 
> There might be further details to refine, but that stuff is actually usable.
> 
> The ports are not trivial, as there's a patch replacing lsof with fstat.
> 
> okay ?

p5-Selenium-Remote-Driver seems to be missing RUN_DEPENDS on p5-Clone
and p5-File-Which and the RUN_DEPENDS could use some sorting.

p5-Test-LWP-UserAgent is missing a RUN_DEPENDS on p5-namespace-clean and
a TEST_DEPENDS on p5-Test-Deep and p5-Test-Fatal, plus might benefit
from adding p5-JSON-MaybeXS.

With that, OK afresh1@



NEW PORT: p5-Selenium-Remote-Driver

2019-06-29 Thread Marc Espie

Obviously, this is perl bindings to selenium.

... and a companion dependency, p5-Test-LWP-UserAgent.

Both ports pass tests, and I've been succesfully opening both Chrome
and GeckoDriver connections.

There might be further details to refine, but that stuff is actually usable.

The ports are not trivial, as there's a patch replacing lsof with fstat.

okay ?


p5-Test-LWP-UserAgent-0.033.tgz
Description: application/tar-gz


p5-Selenium-Remote-Driver-1.33.tgz
Description: application/tar-gz