head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2026.09.23.06.12.41;	author wiz;	state Exp;
branches;
next	1.1;
commitid	zNHFSphyaKiS4IWG;

1.1
date	2026.09.22.17.35.09;	author ryoon;	state Exp;
branches;
next	;
commitid	a0Yrn7nLz2m5TDWG;


desc
@@


1.2
log
@py-internetarchive: add missing tool dependency

Use PY_RENAME_BINARIES.
Comment on test status.
@
text
@# $NetBSD: Makefile,v 1.1 2026/09/22 17:35:09 ryoon Exp $

DISTNAME=	internetarchive-5.11.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	net python
MASTER_SITES=	${MASTER_SITE_PYPI:=i/internetarchive/}

MAINTAINER=	ryoon@@NetBSD.org
HOMEPAGE=	https://github.com/jjjake/internetarchive
COMMENT=	Python interface to archive.org
LICENSE=	gnu-agpl-v3

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=83:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-jsonpatch>=0.4:../../textproc/py-jsonpatch
DEPENDS+=	${PYPKGPREFIX}-requests>=2.25.0:../../devel/py-requests
DEPENDS+=	${PYPKGPREFIX}-tqdm>=4.0.0:../../misc/py-tqdm
DEPENDS+=	${PYPKGPREFIX}-urllib3>=1.26.0:../../www/py-urllib3
# test data is missing in pypi distfile
#TEST_DEPENDS+=	${PYPKGPREFIX}-responses>=0:../../net/py-responses

USE_LANGUAGES=	# none

PY_RENAME_BINARIES=	ia

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@net/py-internetarchive: import py314-internetarchive-5.11.1

This package installs a command-line tool named ia for using
Archive.org from the command-line. It also installs the internetarchive
Python module for programmatic access to archive.org.
@
text
@d1 1
a1 1
# $NetBSD$
d13 1
a13 2
USE_LANGUAGES=	# none

d18 4
d23 1
a23 5
post-install:
.for bin in ia
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor
@

