Skip to content
Snippets Groups Projects
  1. Feb 28, 2025
  2. Feb 06, 2025
  3. Oct 31, 2024
  4. Jun 14, 2024
  5. May 10, 2024
  6. Apr 24, 2024
  7. Mar 01, 2024
    • Antonio Rojas's avatar
    • Pekka Ristola's avatar
      Make `provides` detection more robust · 50fe1574
      Pekka Ristola authored
      The `r 4.3.3-1` package incorrectly provides `do`, because the DESCRIPTION
      file for bundled `Matrix` package contains lines
      
      ```
      Version: 1.6-5
      VersionNote: do also bump src/version.h, inst/include/Matrix/version.h
      ```
      
      and the `grep Version` in `PKGBUILD` matches both of these, picking the
      word `do` from the second line.
      
      This patch fixes the issue by adding a colon to the end of the regexp,
      making it similar to the `Package:` regexp that already had a colon.
      
      Other minor improvements in this patch:
      
      - Prefix both regexps with `^` to make them match only at the start of a
        line, making them more robust as these strings could appear inside other
        fields in the file.
      - Do lowercase conversion of the package name using the `${parameter,,}`
        bash syntax instead of using `tr`. This makes the code simpler and more
        readable.
      - When replacing dashes with dots in the versions, use two slash characters
        instead of one in the bash pattern substitution (`${_ver//-/.}`). This
        replaces all dashes instead of just the first one, making it more robust
        as technically the version could contain more dashes.
      50fe1574
  8. Feb 29, 2024
  9. Feb 13, 2024
  10. Feb 10, 2024
  11. Dec 17, 2023
  12. Dec 11, 2023
  13. Oct 31, 2023
  14. Jun 18, 2023
  15. Jun 16, 2023
  16. Jun 05, 2023
  17. Apr 21, 2023
  18. Mar 16, 2023
  19. Jan 03, 2023
  20. Oct 31, 2022
  21. Oct 21, 2022
  22. Jul 05, 2022
  23. Jun 23, 2022
  24. May 26, 2022
  25. May 09, 2022
  26. May 03, 2022
  27. May 02, 2022
  28. Apr 22, 2022
Loading