pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-internetarchive



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Sep 23 06:12:41 UTC 2026

Modified Files:
        pkgsrc/net/py-internetarchive: Makefile

Log Message:
py-internetarchive: add missing tool dependency

Use PY_RENAME_BINARIES.
Comment on test status.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-internetarchive/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-internetarchive/Makefile
diff -u pkgsrc/net/py-internetarchive/Makefile:1.1 pkgsrc/net/py-internetarchive/Makefile:1.2
--- pkgsrc/net/py-internetarchive/Makefile:1.1  Tue Sep 22 17:35:09 2026
+++ pkgsrc/net/py-internetarchive/Makefile      Wed Sep 23 06:12:41 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2026/09/22 17:35:09 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2026/09/23 06:12:41 wiz Exp $
 
 DISTNAME=      internetarchive-5.11.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,18 +10,17 @@ HOMEPAGE=   https://github.com/jjjake/inte
 COMMENT=       Python interface to archive.org
 LICENSE=       gnu-agpl-v3
 
-USE_LANGUAGES= # none
-
+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
 
-post-install:
-.for bin in ia
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
+PY_RENAME_BINARIES=    ia
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index