[fink:package-submissions] Re: #5056 scipy-py-1.0.0-1 update
Jack Howarth via Fink-tracker <[email protected]> Thu, 30 Nov 2017 02:39:11 -0000
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/5056/8e89f9033679c09a5d1307393a58848a315b2cce.package-submissions@fink.p.sourceforge.net> |
Revised as requested ~~~ Index: scipy-py.info =================================================================== RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/sci/scipy-py.info,v retrieving revision 1.12 diff -u -r1.12 scipy-py.info --- scipy-py.info 23 Jun 2017 20:34:52 -0000 1.12 +++ scipy-py.info 30 Nov 2017 02:38:17 -0000 @@ -1,6 +1,6 @@ Info2: << Package: scipy-py%type_pkg[python] -Version: 0.19.1 +Version: 1.0.0 Epoch: 1 Revision: 1 Maintainer: None <[email protected]> @@ -8,7 +8,7 @@ Depends: << cython-py%type_pkg[python], gcc%type_raw[gcc]-shlibs, - numpy-py%type_pkg[python] (>= 1.12.0-1), + numpy-py%type_pkg[python] (>= 1.13.3-1), python%type_pkg[python], suitesparse-shlibs << @@ -23,7 +23,7 @@ << #Source: mirror:sourceforge:scipy/scipy-%v.tar.gz Source: http://github.com/scipy/scipy/releases/download/v%v/scipy-%v.tar.xz -Source-MD5: cad6bac0638b176f72c00fe81ed54d19 +Source-MD5: b07961a465964ef3afaf30a91a96d91a PatchScript: << #!/bin/bash -ev cat <<EOF > site.cfg @@ -52,6 +52,7 @@ fi export FC=%p/lib/gcc%type_raw[gcc]/bin/gfortran export PATH="%p/lib/gcc%type_raw[gcc]/bin:$PATH" + export SHELL=/bin/sh if [ %type_pkg[python] -eq 26 ] ; then export LDSHARED="$CC -bundle -L%p/lib/python%type_raw[python]/config -lpython%type_raw[python]" @@ -67,21 +68,11 @@ if [ -f %b/INSTALL_MAKE_CHECK ]; then mkdir test cd test - PYTHONPATH=%i/lib/python%type_raw[python]/site-packages %p/bin/python%type_raw[python] -c "import scipy; e=scipy.test(); print(e.wasSuccessful())" - /usr/bin/find %i/lib/python%type_raw[python]/site-packages -name 'test*.pyc' -delete - /usr/bin/find %i/lib/python%type_raw[python]/site-packages -name 'weave_test*.pyc' -delete - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/lib/lapack/tests/common.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/stats/tests/common_tests.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/vq_test.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/__pycache__/vq_test.cpython-3*.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/hierarchy_test_data.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/lib/lapack/tests/__pycache__/common.cpython-3*.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/__pycache__/hierarchy_test_data.cpython-3*.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/stats/tests/__pycache__/common_tests.cpython-3*.pyc + PYTHONPATH=%i/lib/python%type_raw[python]/site-packages %p/bin/python%type_raw[python] -B -c "import scipy, sys; e=scipy.test(); sys.exit(1-e)" fi << InfoTest: << -TestDepends: nose-py%type_pkg[python] +TestDepends: pytest-py%type_pkg[python] (>= 3.2.3) TestScript: touch %b/INSTALL_MAKE_CHECK << DocFiles: INSTALL.rst.txt LICENSE.txt ~~~ Tested on 10.13 with 'fink -m' --- ** [package-submissions:#5056] scipy-py-1.0.0-1 update** **Status:** open **Group:** Awaiting_Update_from_Submitter **Labels:** sci Updated Version of Existing **Created:** Sun Oct 29, 2017 01:55 AM UTC by Jack Howarth **Last Updated:** Thu Nov 09, 2017 11:16 AM UTC **Owner:** nobody **Attachments:** - [scipy-py.info](https://sourceforge.net/p/fink/package-submissions/5056/attachment/scipy-py.info) (4.6 kB; application/octet-stream) The following Info file changes update the scipy-py package to the 1.0.0 release... ~~~ Index: scipy-py.info =================================================================== RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/sci/scipy-py.info,v retrieving revision 1.12 diff -u -r1.12 scipy-py.info --- scipy-py.info 23 Jun 2017 20:34:52 -0000 1.12 +++ scipy-py.info 29 Oct 2017 01:04:22 -0000 @@ -1,14 +1,15 @@ Info2: << Package: scipy-py%type_pkg[python] -Version: 0.19.1 +Version: 1.0.0 Epoch: 1 Revision: 1 Maintainer: None <[email protected]> +BuildAsNobody: false Type: python (2.7 3.4 3.5 3.6), gcc (6) Depends: << cython-py%type_pkg[python], gcc%type_raw[gcc]-shlibs, - numpy-py%type_pkg[python] (>= 1.12.0-1), + numpy-py%type_pkg[python] (>= 1.13.3-1), python%type_pkg[python], suitesparse-shlibs << @@ -23,7 +24,7 @@ << #Source: mirror:sourceforge:scipy/scipy-%v.tar.gz Source: http://github.com/scipy/scipy/releases/download/v%v/scipy-%v.tar.xz -Source-MD5: cad6bac0638b176f72c00fe81ed54d19 +Source-MD5: b07961a465964ef3afaf30a91a96d91a PatchScript: << #!/bin/bash -ev cat <<EOF > site.cfg @@ -67,21 +68,21 @@ if [ -f %b/INSTALL_MAKE_CHECK ]; then mkdir test cd test - PYTHONPATH=%i/lib/python%type_raw[python]/site-packages %p/bin/python%type_raw[python] -c "import scipy; e=scipy.test(); print(e.wasSuccessful())" + PYTHONPATH=%i/lib/python%type_raw[python]/site-packages %p/bin/python%type_raw[python] -c "import scipy; e=scipy.test(); print(e)" /usr/bin/find %i/lib/python%type_raw[python]/site-packages -name 'test*.pyc' -delete /usr/bin/find %i/lib/python%type_raw[python]/site-packages -name 'weave_test*.pyc' -delete - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/lib/lapack/tests/common.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/stats/tests/common_tests.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/vq_test.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/__pycache__/vq_test.cpython-3*.pyc + /usr/bin/find %i/lib/python%type_raw[python]/site-packages -path '*/tests/__pycache__/__init__.cpython-*.pyc' -delete + rm -f %i/lib/python%type_raw[python]/site-packages/scipy/stats/tests/__pycache__/common_tests.cpython-*.pyc + rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/__pycache__/hierarchy_test_data.cpython-%type_pkg[python].pyc rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/hierarchy_test_data.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/lib/lapack/tests/__pycache__/common.cpython-3*.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/cluster/tests/__pycache__/hierarchy_test_data.cpython-3*.pyc - rm -f %i/lib/python%type_raw[python]/site-packages/scipy/stats/tests/__pycache__/common_tests.cpython-3*.pyc + rm -f %i/lib/python%type_raw[python]/site-packages/scipy/signal/tests/__init__.pyc + rm -f %i/lib/python%type_raw[python]/site-packages/scipy/stats/tests/common_tests.pyc + rm -f %i/lib/python%type_raw[python]/site-packages/scipy/__pycache__/conftest.cpython-*-PYTEST.pyc + /usr/bin/find %i/lib/python%type_raw[python]/site-packages -path '*/tests/__init__.pyc' -delete fi << InfoTest: << -TestDepends: nose-py%type_pkg[python] +TestDepends: pytest-py%type_pkg[python] (>= 3.2.3) TestScript: touch %b/INSTALL_MAKE_CHECK << DocFiles: INSTALL.rst.txt LICENSE.txt ~~~ Note that the package, like the numpy 1.13.x release series no longer detects the compiler properly under fink-bld... https://github.com/scipy/scipy/issues/7979 so BuildAsNobody: false is required to work around this issue. The package also requires an updated pytest-py as an InfoTest dependency which requires the following nested updates... https://sourceforge.net/p/fink/package-submissions/5052/ https://sourceforge.net/p/fink/package-submissions/5053/ https://sourceforge.net/p/fink/package-submissions/5054/ https://sourceforge.net/p/fink/package-submissions/5055/ It also requires the numpy-py dependency to be bumped up to 1.13.3-1 which is also on fink tracker... https://sourceforge.net/p/fink/package-submissions/5028/ Tested on 10.13 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