Opened 12 years ago

Closed 12 years ago

#36021 closed defect (fixed)

py-scikits-learn: name should be py-scikit-learn

Reported by: yag532@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: mnick@…, mf2k (Frank Schima)
Port: py-scikit-learn

Description

The scikit-learn ports are hard to find because they are named "scikits-learn" (extra s)

example: py27-scikits-learn @0.12 (python, science)

Additionally, the official homepage for scikit-learn lists the port name as py27-sklearn, which doesn't exist. Once the naming is figured out, someone should notify the scikit-learn.org.

http://scikit-learn.org/stable/install.html

lists the

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mnick@… macsforever2000@… added
Owner: changed from macports-tickets@… to stromnov@…
Port: py-scikit-learn added
Summary: port name for scikit-learn should be scikit-learnpy-scikits-learn: name should be py-scikit-learn

I presume the reporter meant to conclude by saying that the scikit-learn install page states incorrectly:

The macport’s package is named py26-sklearn or py27-sklearn depending on the version of Python. It can be installed by typing the following command:

sudo port install py26-sklearn

or:

sudo port install py27-sklearn

depending on the version of Python you want to use.

Presumably this naming issue goes for the other py-scikits ports as well:

$ port echo name:^py-scikit
py-scikits-image                
py-scikits-learn                
py-scikits-module               
py-scikits-statsmodels          
py-scikits-umfpack         

comment:2 Changed 12 years ago by stromnov (Andrey Stromnov)

Yes, this name was selected for similarity/compatibility with other py-scikits ports.

For some historical reasons all scikit(s) ports depends on 'scikits' python namespace (even when package was named as 'scikit-*'). Also, some of packages named as 'scikit_*', while other as 'scikit-*'.

Although, currently some of this packages are subjects to rename:

py-scikits-image - now lives only in 'skimage' namespace, so this port actually is no longer 'scikit'

py-scikits-learn (actually py-scikit-learn) - lives in 'sklearn' and 'scikits.learn' python namespaces (note 'scikits.learn', but not 'scikit.learn')

py-scikits-module - it's a package for handling 'scikits' python namespace in MacPorts.

py-scikits-statsmodels - lives in 'statsmodels' namespace and in 'scikits.statsmodels' until version 0.5.x

py-scikits-umfpack and other - see http://svn.scipy.org/svn/scikits/trunk/

For now (until package is not fully switched to 'sklearn' namespace) I think it preferably to keep current name, but add some aliases (such as 'sklearn' and 'scikit-learn') for searching purposes.

comment:4 Changed 12 years ago by stromnov (Andrey Stromnov)

Resolution: fixed
Status: newclosed

Done in r104053.

Note: See TracTickets for help on using tickets.