1. 29 Apr, 2021 1 commit
  2. 28 Apr, 2021 1 commit
    • Jakub Ružička's avatar
      build-dep: support templates, srcpkgs, archives · 278069e2
      Jakub Ružička authored
      A comprehensive refactor of build-dep and related pkgstyle functionality
      to install or list (-l/--list) build deps from templates as well as
      from source packages.
      
      The new default approach of parsing build deps from templates has
      following advantages:
      
      * works directly on project source without archive/srcpkg build
      * requires less tools to work
      * is faster
      
      Alternatively, -s/--srcpkg makes apkg parse build deps from source
      package which is slower but more robust in some cases.
      
      Build deps can also be extracted from archive containing proper distro/
      files with -a/--archive option in both template and --srcpkg mode.
      
      -u/--upstream option uses upstream archive (get-archive) to get build
      deps for maximum convenience.
      
      Fixes: #34
      278069e2
  3. 27 Apr, 2021 2 commits
  4. 26 Apr, 2021 5 commits
  5. 23 Apr, 2021 12 commits
  6. 22 Apr, 2021 2 commits
  7. 14 Apr, 2021 5 commits
  8. 13 Apr, 2021 1 commit
  9. 07 Apr, 2021 1 commit
  10. 06 Apr, 2021 3 commits
  11. 23 Mar, 2021 6 commits
  12. 22 Mar, 2021 1 commit
    • Jakub Ružička's avatar
      refactor: get rid of compat.py35path · 878ef8f6
      Jakub Ružička authored
      shutil and os modules in python 3.5 doesn't accept pathlib.Path (yet).
      
      compat.py35path() wrapper was used to mark code which requires extra
      str() conversion on Python <= 3.5.
      
      Introduce new apkg.util.shutil35 wrapper module for selected shutil and
      os functions in order to address this without polluting code with
      redundant py35path/str conversions.
      
      apkg.compat was removed in favor of new shutil35 which can be easily
      removed in the future once Python 3.5 support is dropped.
      
      Fixes: #36
      878ef8f6