[fink:package-submissions] #4923 scipy-py-0.19.0-2 to build using gcc6-compiler

Jack Howarth via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID <5939d0a0b0fb793284638b62.package-submissions@fink.p.sourceforge.net>


---

** [package-submissions:#4923] scipy-py-0.19.0-2 to build using gcc6-compiler**

**Status:** open
**Group:** Undergoing_Validation
**Created:** Thu Jun 08, 2017 10:33 PM UTC by Jack Howarth
**Last Updated:** Thu Jun 08, 2017 10:33 PM UTC
**Owner:** nobody


The following Info file change switches scipy-py to build against gcc6-compiler rather than gcc5-compiler...

~~~
Index: scipy-py.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/sci/scipy-py.info,v
retrieving revision 1.10
diff -u -r1.10 scipy-py.info
--- scipy-py.info	11 Mar 2017 14:10:26 -0000	1.10
+++ scipy-py.info	8 Jun 2017 22:31:39 -0000
@@ -2,19 +2,19 @@
 Package: scipy-py%type_pkg[python]
 Version: 0.19.0
 Epoch: 1
-Revision: 1
+Revision: 2
 Maintainer: None <[email protected]>
-Type: python (2.7 3.4 3.5 3.6)
+Type: python (2.7 3.4 3.5 3.6), gcc (6)
 Depends: <<
 	cython-py%type_pkg[python],
-	gcc5-shlibs,
+	gcc%type_raw[gcc]-shlibs,
 	numpy-py%type_pkg[python] (>= 1.12.0-1),
 	python%type_pkg[python],
 	suitesparse-shlibs
 <<
 BuildDepends: <<
 	fink (>= 0.32.0),
-	gcc5-compiler,
+	gcc%type_raw[gcc]-compiler,
 	suitesparse (>= 4.0.2-2),
 	swig
 <<
@@ -47,11 +47,11 @@
    export CXX=clang++
    export FFLAGS=-ff2c
  else
-   export CC=%p/bin/gcc-5
-   export CXX=%p/bin/g++-5
+   export CC=%p/bin/gcc-fsf-%type_raw[gcc]
+   export CXX=%p/bin/g++-fsf-%type_raw[gcc]
  fi
- export FC=%p/lib/gcc5/bin/gfortran
- export PATH="%p/lib/gcc5/bin:$PATH"
+ export FC=%p/lib/gcc%type_raw[gcc]/bin/gfortran
+ export PATH="%p/lib/gcc%type_raw[gcc]/bin:$PATH"
 
  if [ %type_pkg[python] -eq 26 ] ; then
  	 export LDSHARED="$CC -bundle -L%p/lib/python%type_raw[python]/config -lpython%type_raw[python]"
~~~

Tested on 10.12 with 'fink -m'.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.