|
From: | Alexander Barth |
Subject: | Re: upper case latter in package name [was Re: ncarray 1.0.2 released] |
Date: | Wed, 26 Feb 2014 16:53:01 +0100 |
On 02/20/2014 06:35 AM, Alexander Barth wrote:
<mailto:address@hidden>>:> desc.name <http://desc.name> = tolower (desc.name <http://desc.name>);
>
> On 02/19/2014 09:23 AM, Alexander Barth wrote:
> > Hi all,
> >
> > It seems that pkg cannot install a package with an upper case letter in the
> > filename. Is this a bug in "pkg" or intended?
> >
> >>> pkg install dummyPackage-1.0.0.tar.gz
> > package name 'dummypackage' doesn't correspond to its filename
> > 'dummyPackage-1.0.0.tar'
> > error: called from 'install' in file
> > /home/abarth/opt/octave-3.8.0/share/octave/3.8.0/m/pkg/private/install.m near
> > line 119, column 11
> >
> > Thanks and regards
> > Alexander
>
> Well, in pkg.m parsing the DESCRIPTION file:
>
>
> And in all dep handling:
>
> deps = split_by (tolower (depends), ",");
>
> So as written it seems like all octave packages really should be all lower
> case. Or we need another tolower() in the install check.
Does somebody knows the reason for not supporting uppercase letters in the
package filename? pkg could just take the name as it is without convertion to
lowercase.
Thanks and regards,
Alexander
Filed https://savannah.gnu.org/bugs/index.php?41691 to see if we can get some more traction on this issue.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane address@hidden
Boulder, CO 80301 http://www.nwra.com
[Prev in Thread] | Current Thread | [Next in Thread] |