bug#54752: import: hackage: `elif` conditionals not supported

2022-06-06 Thread Lars-Dominik Braun
Hi, fix pushed to master in commit 2c5d18e421e6c06f4a969f98585ec41aae8eb2e4. Cheers, Lars

bug#54752: import: hackage: `elif` conditionals not supported

2022-06-02 Thread Philip Munksgaard
On Sun, 22 May 2022, at 11:55, Lars-Dominik Braun wrote: > Hi Philip, > > thank you! > >> Unfortunately, building raaz still fails (first because of the description, >> then because some internal libraries are added as external dependencies, and >> then for... other reasons I haven't figured out.

bug#54752: import: hackage: `elif` conditionals not supported

2022-05-22 Thread Lars-Dominik Braun
Hi Philip, thank you! > Unfortunately, building raaz still fails (first because of the description, > then because some internal libraries are added as external dependencies, and > then for... other reasons I haven't figured out. But all of those are > separate issues. You’re right, it fails

bug#54752: import: hackage: `elif` conditionals not supported

2022-05-16 Thread Philip Munksgaard
Hi Lars On Sat, 14 May 2022, at 15:53, Lars-Dominik Braun wrote: > attached patch series fixes the import for `raaz` by adding support for > elif and other minor adjustments. There still is syntax we do not support, > most importantly mixed indentation, which is already documented as xfail > via

bug#54752: import: hackage: `elif` conditionals not supported

2022-05-14 Thread Lars-Dominik Braun
Hi Philip, > Since Cabal 2.2 conditional blocks support the `elif` construct [0], but our > hackage importer does not currently support such expressions. This causes > importing packages like `raaz` [1] to fail. attached patch series fixes the import for `raaz` by adding support for elif and oth

bug#54752: import: hackage: `elif` conditionals not supported

2022-04-06 Thread Philip Munksgaard
Since Cabal 2.2 conditional blocks support the `elif` construct [0], but our hackage importer does not currently support such expressions. This causes importing packages like `raaz` [1] to fail. 0: https://cabal.readthedocs.io/en/latest/cabal-package.html?highlight=elif#conditional-blocks 1: ht