octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: upper case latter in package name [was Re: ncarray 1.0.2 released]


From: Alexander Barth
Subject: Re: upper case latter in package name [was Re: ncarray 1.0.2 released]
Date: Thu, 20 Feb 2014 14:35:23 +0100


Am 19.02.2014 17:31 schrieb "Orion Poplawski" <address@hidden>:
>
> 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:
>
>   desc.name = tolower (desc.name);
>
> 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
>
> --
> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]