Index | Thread | Search

From:
"Anthony J. Bentley" <bentley@openbsd.org>
Subject:
Re: NEW: www/internetarchive
To:
ports@openbsd.org
Date:
Wed, 17 Apr 2024 14:39:51 -0600

Download raw body.

Thread
Stuart Henderson writes:
> On 2024/04/17 12:14, Anthony J. Bentley wrote:
> > > The internetarchive package provides a command-line tool named 'ia',
> > > as well as a Python module for programmatic access to Archive.org.
> > >
> > >
> > > Would have been fun to put it under archivers/, but I decided
> > > against it.
> > >
> > > ok?
> >
> > Updated RUN_DEPENDS.
>
> Generally python ports aren't using PKG_ARCH=*, I'd prefer to keep it
> like that.
>
> tests/cli/test_ia_download.py tests fail if ia isn't on the path so
> probably wants either a self-TEST_DEPENDS or adjusting the path to
> include the newly built files (TEST_ENV = PATH=${WRKINST}${PREFIX}/bin
> though this only works after 'make fake').

Added self-TEST_DEPENDS and removed PKG_ARCH.