#4400 ipython-py3x

open
Kurt Schwehr
5
2014-04-06
2014-04-05
Derek Homeier
No

Added and tested py32|py33|py34 flavours, require the zopeinterface update [#4399]

2 Attachments

Related

Package Submissions: #4399

Discussion

  • Kurt Schwehr
    Kurt Schwehr
    2014-04-05

    Python 2.6 is no more in fink. I'm only going to include python 2.7 and 3.4 unless someone can make a very compelling argument. I am going to match a bit of the cleanup that you have with ordering of deps.

     
  • Derek Homeier
    Derek Homeier
    2014-04-06

    After the dependencies and the Test section the main changes were the installation of the full docs, which adds considerably (5-6 MB) to the .deb and installed size.
    But the manpage installation is also broken in both versions, because the manpages are not gzipped:

    > file /sw/share/man/man1/ipython.1-py27.1.gz                                                              
    /sw/share/man/man1/ipython.1-py27.1.gz: troff or preprocessor input text
    

    I suggest to change that part to:

       for file in $(ls %i/share/man/man1/*.1.gz); 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
       for file in $(ls %i/share/man/man1/*.1); do
         echo mv $file ${file%%.1}-py%type_pkg[python].1
         mv $file ${file%%.1}-py%type_pkg[python].1
         gzip -9f ${file%%.1}-py%type_pkg[python].1
       done
    

    and then perhaps just keep

    DocFiles: README.rst PKG-INFO

     
    Last edit: Derek Homeier 2014-04-06