pkgsrc-WIP-changes archive

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

wip/py-scipy: there was a comment that the use of "EXTRACT_OPTS_TAR+= --no-same-permissions" is not portable. Now, I use chmod in post-extract.



Module Name:	pkgsrc-wip
Committed By:	Kinoshita Daisuke <kinoshita%astro.ncu.edu.tw@localhost>
Pushed By:	daisuke
Date:		Fri Jan 8 23:38:00 2021 +0800
Changeset:	19e062bb75f876490713c6f32710e5fd413c1673

Modified Files:
	py-scipy/Makefile

Log Message:
wip/py-scipy: there was a comment that the use of "EXTRACT_OPTS_TAR+=      --no-same-permissions" is not portable. Now, I use chmod in post-extract.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=19e062bb75f876490713c6f32710e5fd413c1673

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

diffstat:
 py-scipy/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/py-scipy/Makefile b/py-scipy/Makefile
index 31fedfaf06..341f750662 100644
--- a/py-scipy/Makefile
+++ b/py-scipy/Makefile
@@ -14,8 +14,8 @@ DEPENDS+=	${PYPKGPREFIX}-pybind11-[0-9]*:../../devel/py-pybind11
 TEST_DEPENDS+=	${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-# for changing permission of extracted files from -rwxrwxrwx to -rwxr-xr-x
-EXTRACT_OPTS_TAR+=	--no-same-permissions
+post-extract:
+	${CHMOD} -R go-w ${WRKSRC}
 
 USE_LANGUAGES+=	c c++ fortran
 MAKE_ENV+=	ATLAS=None


Home | Main Index | Thread Index | Old Index