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: Orion Poplawski
Subject: Re: upper case latter in package name [was Re: ncarray 1.0.2 released]
Date: Wed, 19 Feb 2014 09:31:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

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.

-- 
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]