git: 770290411ee1 - main - science/py-scipy: fix packaging with PYTHON_DEFAULT!=3.9 (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sat, 05 Nov 2022 18:08:11 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=770290411ee175685eecba68c2d5d5a9ba23d6ad

commit 770290411ee175685eecba68c2d5d5a9ba23d6ad
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-11-05 18:05:56 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-11-05 18:05:56 +0000

    science/py-scipy: fix packaging with PYTHON_DEFAULT!=3.9 (+)
    
    Reported by:    poudriere bulk -t fallout
    Approved by:    portmgr blanket
---
 science/py-scipy/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index 1b2d8f6da72f..28b6cabf2e46 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -43,7 +43,7 @@ post-install:
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@${UNZIP_CMD} -d ${STAGEDIR}${DOCSDIR} ${DISTDIR}/scipy-html-${DISTVERSION}.zip
-	@${RM} ${STAGEDIR}${PREFIX}/share/doc/py39-scipy/.buildinfo
+	@${RM} ${STAGEDIR}${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}/.buildinfo
 
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py