[pacman-dev] [PATCH 1/1] makepkg: Handle dependencies that contain spaces

2018-02-22 Thread morganamilo
In {,opt,check,make}depends makepkg treats packages that contain whitespace as separate packages. For example: depends=('foo bar') Would be treated as two seperate packages instead of a single package. Packages should not contain whitespace in their name. Pkgbuilds that lists depends like

Re: [pacman-dev] [PATCH 1/1] makepkg: Handle dependencies that contain spaces

2018-02-22 Thread Allan McRae
On 23/02/18 12:38, Morgan Adamiec wrote: > I do apologise for the bad patch. I'm not proficient in bash at all. I > basically wrote this patch out of frustration after having spent an > hour trying to figure out why a package on the AUR would not install > and it ended up being this exact problem.

Re: [pacman-dev] [PATCH 1/1] makepkg: Handle dependencies that contain spaces

2018-02-22 Thread Eli Schwartz
On 02/22/2018 07:45 PM, morganamilo wrote: > In {,opt,check,make}depends makepkg treats packages that contain > whitespace as separate packages. For example: > depends=('foo bar') > Would be treated as two seperate packages instead of a single package. > > Packages should not contain

Re: [pacman-dev] [PATCH 1/1] makepkg: Handle dependencies that contain spaces

2018-02-22 Thread Morgan Adamiec
On 23 February 2018 at 02:38, Morgan Adamiec wrote: > On 23 February 2018 at 01:59, Eli Schwartz wrote: >> On 02/22/2018 07:45 PM, morganamilo wrote: >>> In {,opt,check,make}depends makepkg treats packages that contain >>> whitespace as separate

Re: [pacman-dev] [PATCH 1/1] makepkg: Handle dependencies that contain spaces

2018-02-22 Thread Morgan Adamiec
On 23 February 2018 at 01:59, Eli Schwartz wrote: > On 02/22/2018 07:45 PM, morganamilo wrote: >> In {,opt,check,make}depends makepkg treats packages that contain >> whitespace as separate packages. For example: >> depends=('foo bar') >> Would be treated as two

Re: [pacman-dev] [PATCH 1/1] makepkg: Handle dependencies that contain spaces

2018-02-22 Thread Allan McRae
On 23/02/18 13:54, Allan McRae wrote: > On 23/02/18 12:38, Morgan Adamiec wrote: >> I do apologise for the bad patch. I'm not proficient in bash at all. I >> basically wrote this patch out of frustration after having spent an >> hour trying to figure out why a package on the AUR would not install

Re: [pacman-dev] [PATCH 1/1] makepkg: Handle dependencies that contain spaces

2018-02-22 Thread Eli Schwartz
On 02/22/2018 10:09 PM, Morgan Adamiec wrote: >> I do apologise for the bad patch. I'm not proficient in bash at all. I >> basically wrote this patch out of frustration after having spent an >> hour trying to figure out why a package on the AUR would not install >> and it ended up being this exact