WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Python 3.3.1  (Read 3535 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Python 3.3.1
« on: April 14, 2013, 04:49:10 PM »
For several reasons I would like to have this package.tcz:
1) python-3.2.scm does not allow to install additional modules (when I try says it can not write to the directory where you installed python)
2) I would like to enable readline support because I find too uncomfortable the interaction with the interpreter

Having said that, I know that Jason is very busy at this time and I'm willing to make the package, but I have three problems:
1) I could call this package "python-3.3.1.tcz" or any other name would be recommended?
2) I need tcl/tk update, I can do it myself if it is necessary, however, the good practice says that I should ask if I can to the maintainer which is always jason. What should I do?
3) During python compilation i have problem with dbm and i do not know how to solve it:
Code: [Select]
Failed to build these modules:
_dbm
would you have any advice? otherwise I might ignore it (some tell me that it is not essential)

Thanks
« Last Edit: April 14, 2013, 05:00:51 PM by vinnie »

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Python 3.3.1
« Reply #1 on: April 15, 2013, 03:19:17 AM »
I created the new tcl/tk scripts and also the new packages.
I am ready to send them but I expect a response from the maintainer

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: Python 3.3.1
« Reply #2 on: April 15, 2013, 03:36:45 AM »
Hi vinnie
I think all of these questions would best be answered by Jason W. Send him a PM with a link to this thread.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Python 3.3.1
« Reply #3 on: April 15, 2013, 04:02:58 AM »
While it is up to Jason, few comments:

Python main versions and libraries are organized according to first two 2 numbers. For example 2.7 in case of 2.7.3 and 2.7.4 In your case proper name would be python-3.3.tcz

You told nothing about to which version you want to update. Please check wether it is breaking existing pacakages or not.


Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Python 3.3.1
« Reply #4 on: April 15, 2013, 10:25:03 AM »
@rich: I have sent a pm to jason immediately after writing this post with the link.
I made ​​a post instead of only pm because so I could have more opinions, (_dbm is still unsolved problem)



@bmarkus: Ok, I will check, but it should not happen because the python developers have predicted this eventuality by implementing the make argument "altinstall".
The name you proposed seems appropriate :)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Python 3.3.1
« Reply #5 on: April 15, 2013, 11:10:21 AM »
Vinnie, please feel free to create a python-3.3 extension, also update tcl/tk if you wish and take over maintainership if you would like to.  The best name as mentioned would be python-3.3.tcz. 

Thanks!

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Python 3.3.1
« Reply #6 on: April 15, 2013, 06:59:23 PM »
Thank you Jason, I have already sent the package tcl-tk.
Python 3.3.1 will take a little more, but I start to work

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Python 3.3.1
« Reply #7 on: April 28, 2013, 05:20:53 AM »
I have realized that in the new package executables have the suffix 8.6:
Code: [Select]
tc@box:~$ find /usr/local/ -iname "*8.6*"
/usr/local/lib/tk8.6
/usr/local/lib/libtk8.6.so
/usr/local/lib/tcl8.6
/usr/local/lib/tcl8/8.6
/usr/local/lib/libtcl8.6.so
/usr/local/bin/wish8.6
/usr/local/bin/tclsh8.6

I do not remember if they had this prefix before and now I do not remember one programs that use tk as dependency
if you think I should create simlink or rename the executable in /usr/local/bin directory, tell me and I correct the package

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Python 3.3.1
« Reply #8 on: April 28, 2013, 08:07:35 AM »
Yes, please add a tclsh symlink. LFS does it too:

http://www.linuxfromscratch.org/blfs/view/svn/general/tcl.html

The other binaries/libs/dirs don't need symlinks.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: Python 3.3.1
« Reply #9 on: April 28, 2013, 10:26:12 AM »
Hi vinnie
Quote
... and now I do not remember one programs that use tk as dependency
Here is a list of extensions that depend on tk.tcz if you still need it.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Python 3.3.1
« Reply #10 on: April 30, 2013, 03:41:56 AM »
ok, tcl-tk updated with symlinks and python3 Submitted