[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sqlite3 47391311a9 12/62: edited sqlite3-api.el to adhere
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sqlite3 47391311a9 12/62: edited sqlite3-api.el to adhere to melpa guidelines |
Date: |
Tue, 14 Mar 2023 11:01:45 -0400 (EDT) |
branch: elpa/sqlite3
commit 47391311a98d4ea955bed28af9bfca7e3006aac5
Author: Y. N. Lo <gordonynlo@yahoo.com>
Commit: Y. N. Lo <gordonynlo@yahoo.com>
edited sqlite3-api.el to adhere to melpa guidelines
---
Makefile | 2 +-
sqlite3-api-constants.el | 15 ++++++++++++++-
sqlite3-api.el | 15 ++++++++++++++-
regression.el => test/regression.el | 0
tools/gen-consts.py | 2 +-
tools/run.sh | 13 +++++++++++++
6 files changed, 43 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index c77e01e206..da34195e1f 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ consts:
module: $(MODULE).so
mkdir $(MODULE_BASENAME)
echo "(define-package \"$(MODULE)\" \"$(MODULE_VERSION)\" \"SQLite3 API
dynamic module\")" > $(MODULE_PKG_EL)
- cp $(MODULE).so $(MODULE_BASENAME)
+ cp $(MODULE).so sqlite3-api-constants.el $(MODULE_BASENAME)
tar cvf $(MODULE_TAR) $(MODULE_BASENAME)
echo $(MODULE_TAR) > MODULE
diff --git a/sqlite3-api-constants.el b/sqlite3-api-constants.el
index 10f9bb931b..0e2d6176a6 100644
--- a/sqlite3-api-constants.el
+++ b/sqlite3-api-constants.el
@@ -1,3 +1,15 @@
+;;; sqlite3-api-constants.el --- Constants for SQLite3 API
+;;; Commentary:
+;; This package provides sqlite-* constants for sqlite3-api.
+;; The file is auto-generated. Do not edit.
+
+;; Author: Peking Duck <github.com/pekingduck>
+;; Version: 0.0.1
+;; Package-Version: 20170901
+;; Package-Requires: ((emacs "25.1"))
+;; Keywords: data, extensions
+;; URL: https://github.com/pekingduck/emacs-sqlite3-api
+
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@@ -377,4 +389,5 @@
(defconst sqlite-scanstat-name 3)
(defconst sqlite-scanstat-explain 4)
(defconst sqlite-scanstat-selectid 5)
-(provide 'sqlite3-api-constants)
\ No newline at end of file
+(provide 'sqlite3-api-constants)
+;;; sqlite3-api-constants.el ends here
diff --git a/sqlite3-api.el b/sqlite3-api.el
index fdc67201ad..833d794f8c 100644
--- a/sqlite3-api.el
+++ b/sqlite3-api.el
@@ -1,3 +1,14 @@
+;;; sqlite3-api.el --- SQLite3 API
+;;; Commentary:
+;; This package defines errors for sqlite3-api-module.
+;;
+;; Author: Peking Duck <github.com/pekingduck>
+;; Version: 0.0.1
+;; Package-Version: 20170901
+;; Package-Requires: ((emacs "25.1"))
+;; Keywords: data, extensions
+;; URL: https://github.com/pekingduck/emacs-sqlite3-api
+
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@@ -12,7 +23,7 @@
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;; sqlite-* constants
-(require 'sqlite3-api-constants)
+(require 'sqlite3-api-constants nil t)
;; Dynamic module
(require 'sqlite3-api-module nil t)
@@ -52,6 +63,7 @@
(point-min)
(1- (point-max)))))
(package-install-file tar)
+ (require 'sqlite3-api-module)
(message "%s successfully installed" (file-name-base tar)))
(error
(message "Installation aborted: %S" err)))
@@ -59,3 +71,4 @@
(cd cur-dir))))
(provide 'sqlite3-api)
+;;; sqlite3-api.el ends here
diff --git a/regression.el b/test/regression.el
similarity index 100%
rename from regression.el
rename to test/regression.el
diff --git a/tools/gen-consts.py b/tools/gen-consts.py
index f2d21606e4..22cf46cdfd 100755
--- a/tools/gen-consts.py
+++ b/tools/gen-consts.py
@@ -21,5 +21,5 @@ for line in sys.stdin.readlines():
print(' printf("(defconst {1} \\"%s\\")\\n", {0});'.format(fields[1],
name))
else:
print(' printf("(defconst {1} %d)\\n", {0});'.format(fields[1], name))
-print(' printf("(provide \'sqlite3-api-constants)");')
+print(' printf("(provide \'sqlite3-api-constants)\\n");')
print("}")
diff --git a/tools/run.sh b/tools/run.sh
index 2c0a918483..b591893cff 100755
--- a/tools/run.sh
+++ b/tools/run.sh
@@ -2,6 +2,18 @@
DEST=../sqlite3-api-constants.el
cat <<EOF > $DEST
+;;; sqlite3-api-constants.el --- Constants for SQLite3 API
+;;; Commentary:
+;; This package provides sqlite-* constants for sqlite3-api.
+;; The file is auto-generated. Do not edit.
+
+;; Author: Peking Duck <github.com/pekingduck>
+;; Version: 0.0.1
+;; Package-Version: 20170901
+;; Package-Requires: ((emacs "25.1"))
+;; Keywords: data, extensions
+;; URL: https://github.com/pekingduck/emacs-sqlite3-api
+
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@@ -23,3 +35,4 @@ rm -f $EXE ${EXE}.c
grep "^#define SQLITE" /usr/include/sqlite3.h | ./gen-consts.py > ${EXE}.c
gcc -o $EXE ${EXE}.c -lsqlite3
${EXE} >> $DEST
+echo ";;; sqlite3-api-constants.el ends here" >> $DEST
- [nongnu] elpa/sqlite3 9e6dbe5d37 15/62: fixed typo, (continued)
- [nongnu] elpa/sqlite3 9e6dbe5d37 15/62: fixed typo, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 0131cc617d 19/62: python3 -> python, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 7abb3c6f70 28/62: fixed callback example; added Homebrew linkage, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 71d35506ec 07/62: minor adjustment to Makefile, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 a2d5e39133 43/62: Removed unused codes from consts.c, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 b72c2c40d9 44/62: Better handling of SQLite codes in consts.c, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 a51467b031 04/62: added test for Emacs 25.1, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 1f1f7ab2db 09/62: added package creation section, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 1b7b1fc03f 10/62: fixed module installation bug, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 a69ff5a456 11/62: github installation function added, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 47391311a9 12/62: edited sqlite3-api.el to adhere to melpa guidelines,
ELPA Syncer <=
- [nongnu] elpa/sqlite3 723787e6d9 21/62: added 'make install', ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 77e719fb88 24/62: better comments, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 0dfe8e07df 30/62: 26.1 test added, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 b8fc4e2fae 35/62: TOC, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 15697800f8 37/62: Fixed changelog, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 9a2dbb9dc2 38/62: fixed typo, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 f2c30e8b86 16/62: removed 'Package Version', ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 bdb5832e27 17/62: removed 'Package Version' from sqlite3-api-constants.el, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 639ffb711e 20/62: all .el files removed., ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 96e1cdfaa8 34/62: Rewrote README in org, ELPA Syncer, 2023/03/14