summaryrefslogtreecommitdiff
path: root/mesonbuild/wrap/__init__.py
AgeCommit message (Collapse)Author
2020-10-13Add wrap mode to disable auto promoteXavier Claessens
2020-09-08typing: fully annotate wrapDaniel Mensinger
2019-11-07wrap.py: apply type annotation, modernize syntaxMichael Hirsch, Ph.D
correct syntax issues, missing imports revealed by type annotation checking
2018-10-07Expose wrap_mode as an option. Closes #4266.Jussi Pakkanen
2018-08-22help: Fix printing list of wrap modeNicolas Dufresne
Implement a string converter in our WrapMode enum so that argparse will only print the names in the doc instead of WrapMode.<name>. This changes --help command from printing: --wrap-mode {WrapMode.default,WrapMode.nofallback,WrapMode.nodownload,WrapMode.forcefallback} to: --wrap-mode {default,nofallback,nodownload,forcefallback} Fixes issue #4067
2018-04-06new wrap-mode: forcefallbackMathieu Duponchelle
This can be useful to make sure that a project builds when its fallbacks are used on systems where external dependencies satisfy the version requirements, or to easily hack on the sources of a dependency for which a fallback exists.
2017-03-25wrap: Implement special wrap modes for use by packagersNirbheek Chauhan
Special wrap modes: nofallback: Don't download wraps for dependency() fallbacks nodownload: Don't download wraps for all subproject() calls Subprojects are used for two purposes: 1. To download and build dependencies by using .wrap files if they are not provided by the system. This is usually expressed via dependency(..., fallback: ...). 2. To download and build 'copylibs' which are meant to be used by copying into your project. This is always done with an explicit subproject() call. --wrap-mode=nofallback will never do (1) --wrap-mode=nodownload will do neither (1) nor (2) If you are building from a release tarball, you should be able to safely use 'nodownload' since upstream is expected to ship all required sources with the tarball. If you are building from a git repository, you will want to use 'nofallback' so that any 'copylib' wraps will be download as subprojects. Note that these options do not affect subprojects that are git submodules since those are only usable in git repositories, and you almost always want to download them.
2016-01-16Fix some issues that break pypi installs and bump version to upload new version.Jussi Pakkanen