Skip to content

Commit fff7cdb

Browse files
committed
feat: add namespace fields + rename files (mcpp 0.0.7+)
All 10 descriptors now carry an explicit `namespace` field: compat — gtest, mbedtls, lua, ftxui mcpplibs — cmdline, tinyhttps, llmapi, xpkg, templates mcpplibs.capi — capi.lua File naming: compat.<name>.lua / <name>.lua / capi.<name>.lua Directories reorganised by first letter. Note: name= fields keep the full qualified form (e.g. "mcpplibs.cmdline") for backward compat with cached tarballs whose mcpp.toml still uses old naming. mcpp 0.0.7+ handles the namespace-vs-name overlap correctly (fe36012).
1 parent e89dfc6 commit fff7cdb

10 files changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
-- finds <verdir>/lua-<tag>/mcpp.toml inside the GitHub tarball wrap.
44
package = {
55
spec = "1",
6+
namespace = "mcpplibs.capi",
67
name = "mcpplibs.capi.lua",
78
description = "C++23 module wrapping the Lua 5.4 C API — `import mcpplibs.capi.lua;`",
89
licenses = {"Apache-2.0"},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
-- `cmdline-<tag>/` wrap layer.
1111
package = {
1212
spec = "1",
13+
namespace = "mcpplibs",
1314
name = "mcpplibs.cmdline",
1415
description = "A simple command-line parsing library/framework for modern C++",
1516
licenses = {"Apache-2.0"},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
package = {
1212
spec = "1",
13+
namespace = "compat",
1314
name = "ftxui",
1415
description = "C++ Functional Terminal User Interface (screen + dom + component)",
1516
licenses = {"MIT"},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
package = {
77
spec = "1",
8+
namespace = "compat",
89
name = "gtest",
910
description = "Google's C++ test framework",
1011
licenses = {"BSD-3-Clause"},

pkgs/l/lua.lua renamed to pkgs/c/compat.lua.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
package = {
1313
spec = "1",
14+
namespace = "compat",
1415
name = "lua",
1516
description = "A powerful, efficient, lightweight, embeddable scripting language",
1617
licenses = {"MIT"},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
package = {
1010
spec = "1",
11+
namespace = "compat",
1112
name = "mbedtls",
1213
description = "An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API",
1314
licenses = {"Apache-2.0"},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
-- wrap (`llmapi-<tag>/mcpp.toml`) automatically.
44
package = {
55
spec = "1",
6+
namespace = "mcpplibs",
67
name = "mcpplibs.llmapi",
78
description = "Modern C++ LLM API client with openai-compatible support",
89
licenses = {"Apache-2.0"},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
-- default lookup is ambiguous or wrong for your tarball.
66
package = {
77
spec = "1",
8+
namespace = "mcpplibs",
89
name = "mcpplibs.templates",
910
description = "Minimal C++23 modular hello library",
1011
licenses = {"Apache-2.0"},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
-- finds <verdir>/<repo-tag>/mcpp.toml inside the GitHub tarball wrap.
44
package = {
55
spec = "1",
6+
namespace = "mcpplibs",
67
name = "mcpplibs.tinyhttps",
78
description = "Minimal C++23 HTTP/HTTPS client with SSE streaming support",
89
licenses = {"Apache-2.0"},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
-- finds <verdir>/libxpkg-<tag>/mcpp.toml inside the GitHub tarball wrap.
44
package = {
55
spec = "1",
6+
namespace = "mcpplibs",
67
name = "mcpplibs.xpkg",
78
description = "C++23 reference implementation of the xpkg V1 spec — `import mcpplibs.xpkg;`",
89
licenses = {"Apache-2.0"},

0 commit comments

Comments
 (0)