diff options
Diffstat (limited to 'bpkg/package.hxx')
-rw-r--r-- | bpkg/package.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx index e782f1b..16f368b 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -485,6 +485,12 @@ namespace bpkg dependencies (move (m.dependencies)), sha256sum (move (m.sha256sum)) {} + // Create available stub package. + // + available_package (package_name n) + : id (move (n), wildcard_version), + version (wildcard_version) {} + // Create a stub available package with a fixed system version. This // constructor is only used to create transient/fake available packages // based on the system selected packages. |