Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1edcfe7e32b4957497fe1a15d6ce669467f74057)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1edcfe7e32b4957497fe1a15d6ce669467f74057)
  • Date: Sat, 13 Jan 2024 03:08:00 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

ChangeLog | 4 ++++
libs/tomlplusplus/CONFIGURE | 1 +
libs/tomlplusplus/DEPENDS | 5 +++++
libs/tomlplusplus/DETAILS | 40 ++++++++++++++++++++++++++++++++++++++++
libs/tomlplusplus/HISTORY | 4 ++++
libs/tomlplusplus/PREPARE | 2 ++
6 files changed, 56 insertions(+)

New commits:
commit 1edcfe7e32b4957497fe1a15d6ce669467f74057
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

libs/tomlplusplus: new spell,a header-only TOML
config file parser and serializer
for C++17

diff --git a/ChangeLog b/ChangeLog
index b59f888..b7e6e11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-01-12 Pavel Vinogradov <public AT sourcemage.org>
+ * libs/tomlplusplus: new spell, a header-only TOML config file parser
and
+ serializer for C++17
+
2024-01-07 Ismael Luceno <ismael AT sourcemage.org>
* devel/z88dk: new spell, z80 development kit

diff --git a/libs/tomlplusplus/CONFIGURE b/libs/tomlplusplus/CONFIGURE
new file mode 100755
index 0000000..90942b1
--- /dev/null
+++ b/libs/tomlplusplus/CONFIGURE
@@ -0,0 +1 @@
+. "${GRIMOIRE}/CMAKE_CONFIGURE"
diff --git a/libs/tomlplusplus/DEPENDS b/libs/tomlplusplus/DEPENDS
new file mode 100755
index 0000000..c40df48
--- /dev/null
+++ b/libs/tomlplusplus/DEPENDS
@@ -0,0 +1,5 @@
+. "${GRIMOIRE}/CMAKE_DEPENDS" &&
+
+if [[ "${TOMLPLUSPLUS_BRANCH}" == "scm" ]]; then
+ depends git
+fi
diff --git a/libs/tomlplusplus/DETAILS b/libs/tomlplusplus/DETAILS
new file mode 100755
index 0000000..a7173ab
--- /dev/null
+++ b/libs/tomlplusplus/DETAILS
@@ -0,0 +1,40 @@
+. "${GRIMOIRE}/FUNCTIONS"
+. "${GRIMOIRE}/CMAKE_FUNCTIONS"
+ SPELL="tomlplusplus"
+if [[ "${TOMLPLUSPLUS_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+ SOURCE_URL[0]="git_http://github.com/marzer/${SPELL}:${SPELL}-scm";
+ SOURCE_IGNORE="volatile"
+ FORCE_DOWNLOAD="on"
+else
+ VERSION="3.4.0"
+
SOURCE_HASH="sha512:c227fc8147c9459b29ad24002aaf6ab2c42fac22ea04c1c52b283a0172581ccd4527b33c1931e0ef0d1db6b6a53f9e9882c6d4231c7f3494cf070d0220741aa5"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]="https://github.com/marzer/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz";
+# Watch: https://github.com/marzer/tomlplusplus/tags tags/([0-9.\-]+)[.]tar
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+fi
+ WEB_SITE="https://marzer.github.io/tomlplusplus/";
+ ENTERED="20240112"
+ LICENSE[0]="MIT"
+ KEYWORDS="toml parser header library"
+ SHORT="Header-only TOML config file parser and serializer for
C++17"
+cat << EOF
+TOML config file parser and serializer for C++.
+
+Features
+ Header-only (optional!)
+ Supports the latest TOML release (v1.0.0), plus optional support for
+some unreleased TOML features
+ Passes all tests in the toml-test suite
+ Supports serializing to JSON and YAML
+ Proper UTF-8 handling (incl. BOM)
+ C++17 (plus some C++20 features where available, e.g. experimental
+support for char8_t strings)
+ Doesn't require RTTI
+ Works with or without exceptions
+ Tested on Clang (8+), GCC (8+) and MSVC (VS2019)
+ Tested on x64, x86 and ARM
+EOF
diff --git a/libs/tomlplusplus/HISTORY b/libs/tomlplusplus/HISTORY
new file mode 100644
index 0000000..595348a
--- /dev/null
+++ b/libs/tomlplusplus/HISTORY
@@ -0,0 +1,4 @@
+2024-01-12 Pavel Vinogradov <public AT sourcemage.org>
+ * CONFIGURE, DEPENDS, DETAILS, PREPARE: created the spell,
+ version 3.4.0
+
diff --git a/libs/tomlplusplus/PREPARE b/libs/tomlplusplus/PREPARE
new file mode 100755
index 0000000..e38d86f
--- /dev/null
+++ b/libs/tomlplusplus/PREPARE
@@ -0,0 +1,2 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+prepare_select_branch stable scm



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1edcfe7e32b4957497fe1a15d6ce669467f74057), Pavel Vinogradov, 01/12/2024

Archive powered by MHonArc 2.6.24.

Top of Page