[cygport - the Cygwin packaging tool] branch master, updated. 0.33.1-24-gb12d739

Yaakov Selkowitz yselkowitz@sourceware.org
Tue Apr 14 04:42:20 GMT 2020




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/cygport.git;h=b12d739379a840781dd3cc90924ac864ab5264f3

commit b12d739379a840781dd3cc90924ac864ab5264f3
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Tue Apr 14 00:41:15 2020 -0400

    python3-distutils: force hardcoding of python3.y instead of python3


Diff:
---
 cygclass/python3-distutils.cygclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cygclass/python3-distutils.cygclass b/cygclass/python3-distutils.cygclass
index 63852b9..77adc03 100644
--- a/cygclass/python3-distutils.cygclass
+++ b/cygclass/python3-distutils.cygclass
@@ -51,7 +51,7 @@ python3_distutils_compile() {
 		error "No Python Distutils module detected"
 	fi
 
-	${PYTHON3} setup.py build "${@}" || error "setup.py build failed"
+	$(readlink -f ${PYTHON3}) setup.py build "${@}" || error "setup.py build failed"
 }
 
 #****I* python3-distutils.cygclass/python3_distutils_install
@@ -67,7 +67,7 @@ python3_distutils_install() {
 		error "No Python Distutils module detected"
 	fi
 
-	${PYTHON3} setup.py "${@}" install --no-compile --root=${D} || error "setup.py install failed"
+	$(readlink -f ${PYTHON3}) setup.py "${@}" install --no-compile --root=${D} || error "setup.py install failed"
 }
 
 #****o* python3-distutils.cygclass/src_compile (python3-distutils)



More information about the Cygwin-apps-cvs mailing list