Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Florian Franzmann (3d24a3b8089ee66f46debc96f6a76c69099fb5df)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Florian Franzmann <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Florian Franzmann (3d24a3b8089ee66f46debc96f6a76c69099fb5df)
  • Date: Fri, 29 Oct 2021 22:12:35 +0000

GIT changes to master grimoire by Florian Franzmann <bwlf AT bandrate.org>:

ChangeLog | 4 ++++
python-pypi/python-guardonce/DEPENDS | 1 +
python-pypi/python-guardonce/DETAILS | 21 +++++++++++++++++++++
python-pypi/python-guardonce/HISTORY | 3 +++
4 files changed, 29 insertions(+)

New commits:
commit 3d24a3b8089ee66f46debc96f6a76c69099fb5df
Author: Florian Franzmann <bwlf AT bandrate.org>
Commit: Florian Franzmann <bwlf AT bandrate.org>

python-pypi/python-guardonce: new spell, convert C++ include guards to
pragmas

diff --git a/ChangeLog b/ChangeLog
index 5f15e95..d845bf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-10-30 Florian Franzmann <bwlf AT bandrate.org>
+ * python-pypi/python-guardonce: new spell, a converter from C++
+ include guards to #pragma once
+
2021-10-28 Treeve Jelbert <treeve AT sourcemage.org>
* xorg.gpg: update "Olivier Fourdan <fourdan AT xfce.org>"

diff --git a/python-pypi/python-guardonce/DEPENDS
b/python-pypi/python-guardonce/DEPENDS
new file mode 100755
index 0000000..053d106
--- /dev/null
+++ b/python-pypi/python-guardonce/DEPENDS
@@ -0,0 +1 @@
+depends python3
diff --git a/python-pypi/python-guardonce/DETAILS
b/python-pypi/python-guardonce/DETAILS
new file mode 100755
index 0000000..f4b91d6
--- /dev/null
+++ b/python-pypi/python-guardonce/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=python-guardonce
+ VERSION=2.4.0
+ SOURCE="$SPELL-$VERSION.tar.gz"
+
SOURCE_URL[0]=https://github.com/cgmb/guardonce/archive/refs/tags/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:aa049b79ff7a97f57b941da299dec37ee2651bf797bd4391d0be0cad9e0f815ad62db73e06c7ec5bfa41197005a42f544aedbfca7b1dfa81f33531ee62a7cf71
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/guardonce-$VERSION"
+ WEB_SITE="https://github.com/cgmb/guardonce";
+ LICENSE[0]=MIT
+ ENTERED=20211029
+ SHORT="utilities for converting from C/C++ include guards to
#pragma once and back again"
+cat << EOF
+Include guards suck. They're tiring to type and tedious to update. Worse,
+the task of updating boilerplate leaves room for copy/paste errors, or other
+mistakes. #pragma once is simpler and less error prone. That's why you should
+convert to #pragma once.
+
+Alas, though #pragma once is available on all the most commonly used
compilers,
+it's not available on every compiler. Perhaps one day you'll add support
+for a platform with a barebones compiler with no support for #pragma once
+and you'll have to convert back. That's ok. It's easy!
+EOF
diff --git a/python-pypi/python-guardonce/HISTORY
b/python-pypi/python-guardonce/HISTORY
new file mode 100644
index 0000000..a1aabb4
--- /dev/null
+++ b/python-pypi/python-guardonce/HISTORY
@@ -0,0 +1,3 @@
+2021-10-29 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DEPENDS, DETAILS: spell created
+



  • [SM-Commit] GIT changes to master grimoire by Florian Franzmann (3d24a3b8089ee66f46debc96f6a76c69099fb5df), Florian Franzmann, 10/29/2021

Archive powered by MHonArc 2.6.24.

Top of Page