Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory vz-cvs-3.sog:/tmp/cvs-serv9377/languages

Modified Files:
        ipython-py.info 
Log Message:
ipython 0.11 and zmq/0mq/zeromq


Index: ipython-py.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/ipython-py.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ipython-py.info     19 Aug 2011 14:34:57 -0000      1.2
+++ ipython-py.info     5 Sep 2011 15:18:47 -0000       1.3
@@ -1,16 +1,29 @@
 Info2: <<
 Package: ipython-py%type_pkg[python]
-Version: 0.10.2
+Version: 0.11
 Revision: 1
+# As of ipython 0.11, python must be >= 2.6
 Type: python(2.7)
-# 0.11 will get python 3.2
 Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>
-
 Recommends: zopeinterface-py%type_pkg[python]
 
-Depends: python%type_pkg[python], pexpect-py%type_pkg[python]
-Source: http://ipython.scipy.org/dist/ipython-%v.tar.gz 
-Source-MD5: dda59bfc6e256ce786c4bc4aadb220a4
+Depends: <<
+  python%type_pkg[python], 
+  pexpect-py%type_pkg[python], zmq-py%type_pkg[python],
+  pygments-py%type_pkg[python]
+<<
+BuildDepends: <<
+  python%type_pkg[python], distribute-py%type_pkg[python],
+  libzmq2
+<<
+# pyqt4-py%type_pkg[python]
+#  sphinx-py27
+# Sphinx only needs a single instance to build the docs
+# readline already correct in fink pythons
+
+Source: http://archive.ipython.org/release/%v/ipython-%v.tar.gz
+Source-MD5: efc899e752a4a4a67a99575cea1719ef
+
 CompileScript: python%type_raw[python] setup.py build
 InstallScript: <<
  #!/bin/bash -ev
@@ -18,24 +31,18 @@
 
  mv %i/share/doc/ipython{,-py%type_raw[python]}
 
- # These require wx and twisted.  Not yet tested
- rm -f %i/bin/ip{cluster,controller,engine,test,ipythonx}
- rm -f %i/bin/ipython{-wx,x}
  for file in %i/bin/*; do
-   echo mv $file ${file}%type_raw[python]
-   mv $file ${file}%type_raw[python]
+   echo mv $file ${file}-py%type_pkg[python]
+   mv $file ${file}-py%type_pkg[python]
+ done
+
+ for file in  %i/share/man/man1/*; do
+   echo mv $file ${file%%.1.gz}-py%type_pkg[python].1.gz
+   mv $file ${file%%.1.gz}-py%type_pkg[python].1.gz
  done
 
- mv %i/share/man/man1/ipython-wx.1.gz 
%i/share/man/man1/ippython-wx-py%type_pkg[python].1.gz
- mv %i/share/man/man1/ipengine.1.gz 
%i/share/man/man1/ipengine-py%type_pkg[python].1.gz
- mv %i/share/man/man1/ipcontroller.1.gz 
%i/share/man/man1/ipcontroller-py%type_pkg[python].1.gz
- mv %i/share/man/man1/ipcluster.1.gz 
%i/share/man/man1/ipcluster-py%type_pkg[python].1.gz
- mv %i/share/man/man1/ipython.1.gz 
%i/share/man/man1/ipython-py%type_pkg[python].1.gz
- mv %i/share/man/man1/ipythonx.1.gz 
%i/share/man/man1/ipythonx-py%type_pkg[python].1.gz
- mv %i/share/man/man1/pycolor.1.gz 
%i/share/man/man1/pycolor-py%type_pkg[python].1.gz
- mv %i/share/man/man1/irunner.1.gz 
%i/share/man/man1/irunner-py%type_pkg[python].1.gz
 <<
-DocFiles: README.txt PKG-INFO
+#DocFiles: README.txt PKG-INFO
 Description: Replacement interactive Python interpreter 
 DescDetail: <<
  IPython is a replacement for the interactive Python interpreter with many
@@ -48,22 +55,51 @@
  Matlab inspired its design, but similar ideas can be useful in many fields.
 <<
 PostInstScript: <<
- update-alternatives --install %p/bin/ipython ipython 
%p/bin/ipython%type_raw[python] %type_pkg[python] --slave 
%p/share/man/man1/ipython.1.gz ipython.1.gz 
%p/share/man/man1/ipython-py%type_pkg[python].1.gz
- update-alternatives --install %p/bin/pycolor pycolor 
%p/bin/pycolor%type_raw[python] %type_pkg[python] --slave 
%p/share/man/man1/pycolor.1.gz pycolor.1.gz 
%p/share/man/man1/pycolor-py%type_pkg[python].1.gz
- update-alternatives --install %p/bin/irunner irunner 
%p/bin/irunner%type_raw[python] %type_pkg[python]
 
- echo ""
- echo "The scripts 'ipython', 'pydoc' and 'irunner' installed in %p/bin/"
- echo "are symlinks automatically updated by the update-alternatives utility."
- echo "If you install multiple flavours of the ipython package the symlinks"
- echo "will point to the higher flavour by default."
+   # Remove the old if they exist
+   update-alternatives --auto ipython
+   update-alternatives --auto pycolor
+   update-alternatives --auto irunner
+   update-alternatives --remove ipython %p/bin/ipython%type_raw[python]
+   update-alternatives --remove pycolor %p/bin/pycolor%type_raw[python]
+   update-alternatives --remove irunner %p/bin/irunner%type_raw[python]
+
+   # Now the new setup
+   update-alternatives --verbose --install %p/bin/ipython ipython 
%p/bin/ipython-py%type_pkg[python] %type_pkg[python] \
+       --slave %p/bin/ipcluster ipcluster %p/bin/ipcluster-py%type_pkg[python] 
\
+       --slave %p/bin/ipcontroller ipcontroller 
%p/bin/ipcontroller-py%type_pkg[python] \
+       --slave %p/bin/ipengine ipengine %p/bin/ipengine-py%type_pkg[python] \
+       --slave %p/bin/iplogger iplogger %p/bin/iplogger-py%type_pkg[python] \
+       --slave %p/bin/iptest iptest %p/bin/iptest-py%type_pkg[python] \
+       --slave %p/bin/irunner irunner %p/bin/irunner-py%type_pkg[python] \
+       --slave %p/bin/pycolor pycolor %p/bin/pycolor-py%type_pkg[python] \
+       --slave %p/share/man/man1/ipython.1.gz ipython_man 
%p/share/man/man1/ipython-py%type_pkg[python].1.gz \
+       --slave %p/share/man/man1/ipcluster.1.gz ipcluster_man 
%p/share/man/man1/ipcluster-py%type_pkg[python].1.gz \
+       --slave %p/share/man/man1/ipcontroller.1.gz ipcontroller_man 
%p/share/man/man1/ipcontroller-py%type_pkg[python].1.gz \
+       --slave %p/share/man/man1/ipengine.1.gz ipengine_man 
%p/share/man/man1/ipengine-py%type_pkg[python].1.gz \
+       --slave %p/share/man/man1/iplogger.1.gz iplogger_man 
%p/share/man/man1/iplogger-py%type_pkg[python].1.gz \
+       --slave %p/share/man/man1/irunner.1.gz irunner_man 
%p/share/man/man1/irunner-py%type_pkg[python].1.gz \
+       --slave %p/share/man/man1/pycolor.1.gz pycolor_man 
%p/share/man/man1/pycolor-py%type_pkg[python].1.gz
+
+  echo "You can inspect the links by running:"
+  echo "  update-alternatives --list ipython"
+  echo "  update-alternatives --display ipython"
+
 <<
+
 PreRmScript: <<
- if [ $1 != "upgrade" ]; then
+
+   # Remove the old
    update-alternatives --remove ipython %p/bin/ipython%type_raw[python]
    update-alternatives --remove pycolor %p/bin/pycolor%type_raw[python]
    update-alternatives --remove irunner %p/bin/irunner%type_raw[python]
- fi
+
+  if [ $1 != "upgrade" ]; then
+     echo "update-alternatives --verbose --remove ipython 
%p/bin/ipython-py%type_pkg[python]"
+     update-alternatives --verbose --remove ipython 
%p/bin/ipython-py%type_pkg[python]
+  else
+    echo "Do not remove during upgrade"
+  fi
 <<
 
 # TODO: add twisted, foolscap, pyobjc
@@ -77,8 +113,6 @@
 
 DescPackaging: <<
 
-Need to cleanup the alternatives to be one master with slaves
-
 Python 2.6 works despite failing the tests:
 https://bugs.launchpad.net/ipython/+bug/329837
 
@@ -94,5 +128,7 @@
 
 
 License: BSD
-Homepage: http://ipython.scipy.org/
+Homepage: http://ipython.org/
+
+# Info3
 <<


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to