* [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacsql/
@ 2024-08-10 18:16 Maciej Barć
0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2024-08-10 18:16 UTC (permalink / raw
To: gentoo-commits
commit: 9a0dfa2ee575955f8f03654d1e6e0874a96409b2
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 15:03:21 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 18:16:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a0dfa2e
app-emacs/emacsql: bump to 4.0.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/emacsql/Manifest | 1 +
app-emacs/emacsql/emacsql-4.0.0.ebuild | 87 ++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-emacs/emacsql/Manifest b/app-emacs/emacsql/Manifest
index 79f47d710948..e355feb1fcf3 100644
--- a/app-emacs/emacsql/Manifest
+++ b/app-emacs/emacsql/Manifest
@@ -1 +1,2 @@
DIST emacsql-3.1.1.tar.gz 2392710 BLAKE2B 7281c9630c26363d9e88463a3ead8b241a3fc1a5e87cbf855eb233ef6b295ca6ba4ea4a79b5137b27f9eed33012dfaa183dab7be8e76b240305ee921edebe874 SHA512 0ec3890cfa014a0afef23e2e38bcd844527b0a497bbfe6f89cbbb090811d43996074e642f83f7f49b27659fc51a901645a54aac600e9988dcb40fffe86a06fbf
+DIST emacsql-4.0.0.tar.gz 2398791 BLAKE2B 55a67c5da79e290ba1024a8704113276d6db9d05e539eba79bded01d4092c3565a50c48608cb0932ad0e06d0b1a378e61cceffc8bb910c03da717c6f0a70e62b SHA512 040d8fc9a28505102791ea203d8cb58520ea871b2abc937a128e7d26eba62e89886094874c69806a3e6e5e01cafff5d9caf699438693b03ccd383aa5f94ae949
diff --git a/app-emacs/emacsql/emacsql-4.0.0.ebuild b/app-emacs/emacsql/emacsql-4.0.0.ebuild
new file mode 100644
index 000000000000..d95717bb989e
--- /dev/null
+++ b/app-emacs/emacsql/emacsql-4.0.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=25.1
+
+inherit edo elisp toolchain-funcs
+
+DESCRIPTION="A high-level Emacs Lisp RDBMS front-end"
+HOMEPAGE="https://github.com/magit/emacsql"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/magit/${PN}.git"
+else
+ SRC_URI="
+ https://github.com/magit/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ "
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="Unlicense"
+SLOT="0"
+# TODO(arsen): postgres-pg using app-emacs/pg (unpackaged as of yet)
+IUSE="+sqlite postgres mysql"
+
+DEPEND="
+ sqlite? (
+ dev-db/sqlite:3
+ )
+"
+RDEPEND="
+ ${DEPEND}
+ postgres? (
+ dev-db/postgresql
+ )
+ mysql? (
+ virtual/mysql
+ )
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ default
+
+ # Not packaged.
+ rm emacsql-pg.el || die
+
+ local -A backends=(
+ [sqlite]=sqlite
+ [postgres]=psql
+ [mysql]=mysql
+ )
+
+ for useflag in "${!backends[@]}"; do
+ if ! use "${useflag}"; then
+ rm emacsql-"${backends[${useflag}]}".el || die
+ fi
+ done
+}
+
+src_compile() {
+ if use sqlite; then
+ edo $(tc-getCC) -fPIC -Wall -Wextra \
+ $($(tc-getPKG_CONFIG) --cflags --libs sqlite3) \
+ ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o emacsql-sqlite \
+ sqlite/emacsql.c
+ fi
+ elisp_src_compile
+}
+
+src_install() {
+ elisp_src_install
+
+ if use sqlite; then
+ exeinto "${SITELISP}"/emacsql/sqlite
+ doexe emacsql-sqlite
+ fi
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacsql/
@ 2024-08-26 19:42 Maciej Barć
0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2024-08-26 19:42 UTC (permalink / raw
To: gentoo-commits
commit: 64cff620c75ed2afad6b207c1a49637735f2a78c
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 26 18:50:24 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Aug 26 19:42:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64cff620
app-emacs/emacsql: bump to 4.0.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/emacsql/Manifest | 1 +
app-emacs/emacsql/emacsql-4.0.1.ebuild | 87 ++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-emacs/emacsql/Manifest b/app-emacs/emacsql/Manifest
index e355feb1fcf3..768407f97421 100644
--- a/app-emacs/emacsql/Manifest
+++ b/app-emacs/emacsql/Manifest
@@ -1,2 +1,3 @@
DIST emacsql-3.1.1.tar.gz 2392710 BLAKE2B 7281c9630c26363d9e88463a3ead8b241a3fc1a5e87cbf855eb233ef6b295ca6ba4ea4a79b5137b27f9eed33012dfaa183dab7be8e76b240305ee921edebe874 SHA512 0ec3890cfa014a0afef23e2e38bcd844527b0a497bbfe6f89cbbb090811d43996074e642f83f7f49b27659fc51a901645a54aac600e9988dcb40fffe86a06fbf
DIST emacsql-4.0.0.tar.gz 2398791 BLAKE2B 55a67c5da79e290ba1024a8704113276d6db9d05e539eba79bded01d4092c3565a50c48608cb0932ad0e06d0b1a378e61cceffc8bb910c03da717c6f0a70e62b SHA512 040d8fc9a28505102791ea203d8cb58520ea871b2abc937a128e7d26eba62e89886094874c69806a3e6e5e01cafff5d9caf699438693b03ccd383aa5f94ae949
+DIST emacsql-4.0.1.tar.gz 2398167 BLAKE2B a88470cf561f50e64e4efc1a291cd55b192a4b8c414cf928f81dc8003aefe3b651cd21ea69a5a11de1c07f9e30edeb000a6e95d760eba44f15381a04f5c96b32 SHA512 3b1d6ced510e4bf0cf71da35279ca962584a1d54ab648795249aa77df7ce230e6ccd849dad498a36901de12827d6a633e5015a00b6e96533e77cdfe001c16e7b
diff --git a/app-emacs/emacsql/emacsql-4.0.1.ebuild b/app-emacs/emacsql/emacsql-4.0.1.ebuild
new file mode 100644
index 000000000000..d95717bb989e
--- /dev/null
+++ b/app-emacs/emacsql/emacsql-4.0.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=25.1
+
+inherit edo elisp toolchain-funcs
+
+DESCRIPTION="A high-level Emacs Lisp RDBMS front-end"
+HOMEPAGE="https://github.com/magit/emacsql"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/magit/${PN}.git"
+else
+ SRC_URI="
+ https://github.com/magit/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ "
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="Unlicense"
+SLOT="0"
+# TODO(arsen): postgres-pg using app-emacs/pg (unpackaged as of yet)
+IUSE="+sqlite postgres mysql"
+
+DEPEND="
+ sqlite? (
+ dev-db/sqlite:3
+ )
+"
+RDEPEND="
+ ${DEPEND}
+ postgres? (
+ dev-db/postgresql
+ )
+ mysql? (
+ virtual/mysql
+ )
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ default
+
+ # Not packaged.
+ rm emacsql-pg.el || die
+
+ local -A backends=(
+ [sqlite]=sqlite
+ [postgres]=psql
+ [mysql]=mysql
+ )
+
+ for useflag in "${!backends[@]}"; do
+ if ! use "${useflag}"; then
+ rm emacsql-"${backends[${useflag}]}".el || die
+ fi
+ done
+}
+
+src_compile() {
+ if use sqlite; then
+ edo $(tc-getCC) -fPIC -Wall -Wextra \
+ $($(tc-getPKG_CONFIG) --cflags --libs sqlite3) \
+ ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o emacsql-sqlite \
+ sqlite/emacsql.c
+ fi
+ elisp_src_compile
+}
+
+src_install() {
+ elisp_src_install
+
+ if use sqlite; then
+ exeinto "${SITELISP}"/emacsql/sqlite
+ doexe emacsql-sqlite
+ fi
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacsql/
@ 2024-09-29 13:40 Arsen Arsenović
0 siblings, 0 replies; 5+ messages in thread
From: Arsen Arsenović @ 2024-09-29 13:40 UTC (permalink / raw
To: gentoo-commits
commit: 29b6192a60734e124175327ab1279eda9b6c048e
Author: Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 13:36:28 2024 +0000
Commit: Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 13:38:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b6192a
app-emacs/emacsql: add 4.0.3
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>
app-emacs/emacsql/Manifest | 1 +
app-emacs/emacsql/emacsql-4.0.3.ebuild | 87 ++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-emacs/emacsql/Manifest b/app-emacs/emacsql/Manifest
index 768407f97421..bc02e8a21541 100644
--- a/app-emacs/emacsql/Manifest
+++ b/app-emacs/emacsql/Manifest
@@ -1,3 +1,4 @@
DIST emacsql-3.1.1.tar.gz 2392710 BLAKE2B 7281c9630c26363d9e88463a3ead8b241a3fc1a5e87cbf855eb233ef6b295ca6ba4ea4a79b5137b27f9eed33012dfaa183dab7be8e76b240305ee921edebe874 SHA512 0ec3890cfa014a0afef23e2e38bcd844527b0a497bbfe6f89cbbb090811d43996074e642f83f7f49b27659fc51a901645a54aac600e9988dcb40fffe86a06fbf
DIST emacsql-4.0.0.tar.gz 2398791 BLAKE2B 55a67c5da79e290ba1024a8704113276d6db9d05e539eba79bded01d4092c3565a50c48608cb0932ad0e06d0b1a378e61cceffc8bb910c03da717c6f0a70e62b SHA512 040d8fc9a28505102791ea203d8cb58520ea871b2abc937a128e7d26eba62e89886094874c69806a3e6e5e01cafff5d9caf699438693b03ccd383aa5f94ae949
DIST emacsql-4.0.1.tar.gz 2398167 BLAKE2B a88470cf561f50e64e4efc1a291cd55b192a4b8c414cf928f81dc8003aefe3b651cd21ea69a5a11de1c07f9e30edeb000a6e95d760eba44f15381a04f5c96b32 SHA512 3b1d6ced510e4bf0cf71da35279ca962584a1d54ab648795249aa77df7ce230e6ccd849dad498a36901de12827d6a633e5015a00b6e96533e77cdfe001c16e7b
+DIST emacsql-4.0.3.tar.gz 2398435 BLAKE2B 3c66b922b63a1265660e59cf0319583f98bb6d51347fb6abd76e12d1ff0d9bb92501fb1e35bb4cbe83f8338d6b03e25d3a0536e78998f252ad210d80971e701a SHA512 a8ea07ddae35f993bfd9b19f4d0964ae3128d362e1e377e917a715d5c1dfb0c2dda0fd7ad17664f0e7e70342deeb780f99c5cd66be9b80aff46dd11a91c20984
diff --git a/app-emacs/emacsql/emacsql-4.0.3.ebuild b/app-emacs/emacsql/emacsql-4.0.3.ebuild
new file mode 100644
index 000000000000..d95717bb989e
--- /dev/null
+++ b/app-emacs/emacsql/emacsql-4.0.3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=25.1
+
+inherit edo elisp toolchain-funcs
+
+DESCRIPTION="A high-level Emacs Lisp RDBMS front-end"
+HOMEPAGE="https://github.com/magit/emacsql"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/magit/${PN}.git"
+else
+ SRC_URI="
+ https://github.com/magit/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ "
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="Unlicense"
+SLOT="0"
+# TODO(arsen): postgres-pg using app-emacs/pg (unpackaged as of yet)
+IUSE="+sqlite postgres mysql"
+
+DEPEND="
+ sqlite? (
+ dev-db/sqlite:3
+ )
+"
+RDEPEND="
+ ${DEPEND}
+ postgres? (
+ dev-db/postgresql
+ )
+ mysql? (
+ virtual/mysql
+ )
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ default
+
+ # Not packaged.
+ rm emacsql-pg.el || die
+
+ local -A backends=(
+ [sqlite]=sqlite
+ [postgres]=psql
+ [mysql]=mysql
+ )
+
+ for useflag in "${!backends[@]}"; do
+ if ! use "${useflag}"; then
+ rm emacsql-"${backends[${useflag}]}".el || die
+ fi
+ done
+}
+
+src_compile() {
+ if use sqlite; then
+ edo $(tc-getCC) -fPIC -Wall -Wextra \
+ $($(tc-getPKG_CONFIG) --cflags --libs sqlite3) \
+ ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o emacsql-sqlite \
+ sqlite/emacsql.c
+ fi
+ elisp_src_compile
+}
+
+src_install() {
+ elisp_src_install
+
+ if use sqlite; then
+ exeinto "${SITELISP}"/emacsql/sqlite
+ doexe emacsql-sqlite
+ fi
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacsql/
@ 2024-10-31 23:17 Maciej Barć
0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2024-10-31 23:17 UTC (permalink / raw
To: gentoo-commits
commit: 2bcb4d73a2ba70ba692b93e88b6d4337de923634
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 31 17:50:25 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 23:17:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bcb4d73
app-emacs/emacsql: drop old 4.0.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/emacsql/Manifest | 1 -
app-emacs/emacsql/emacsql-4.0.1.ebuild | 87 ----------------------------------
2 files changed, 88 deletions(-)
diff --git a/app-emacs/emacsql/Manifest b/app-emacs/emacsql/Manifest
index 53272adae899..3b61829da02c 100644
--- a/app-emacs/emacsql/Manifest
+++ b/app-emacs/emacsql/Manifest
@@ -1,3 +1,2 @@
DIST emacsql-4.0.0.tar.gz 2398791 BLAKE2B 55a67c5da79e290ba1024a8704113276d6db9d05e539eba79bded01d4092c3565a50c48608cb0932ad0e06d0b1a378e61cceffc8bb910c03da717c6f0a70e62b SHA512 040d8fc9a28505102791ea203d8cb58520ea871b2abc937a128e7d26eba62e89886094874c69806a3e6e5e01cafff5d9caf699438693b03ccd383aa5f94ae949
-DIST emacsql-4.0.1.tar.gz 2398167 BLAKE2B a88470cf561f50e64e4efc1a291cd55b192a4b8c414cf928f81dc8003aefe3b651cd21ea69a5a11de1c07f9e30edeb000a6e95d760eba44f15381a04f5c96b32 SHA512 3b1d6ced510e4bf0cf71da35279ca962584a1d54ab648795249aa77df7ce230e6ccd849dad498a36901de12827d6a633e5015a00b6e96533e77cdfe001c16e7b
DIST emacsql-4.0.3.tar.gz 2398435 BLAKE2B 3c66b922b63a1265660e59cf0319583f98bb6d51347fb6abd76e12d1ff0d9bb92501fb1e35bb4cbe83f8338d6b03e25d3a0536e78998f252ad210d80971e701a SHA512 a8ea07ddae35f993bfd9b19f4d0964ae3128d362e1e377e917a715d5c1dfb0c2dda0fd7ad17664f0e7e70342deeb780f99c5cd66be9b80aff46dd11a91c20984
diff --git a/app-emacs/emacsql/emacsql-4.0.1.ebuild b/app-emacs/emacsql/emacsql-4.0.1.ebuild
deleted file mode 100644
index d95717bb989e..000000000000
--- a/app-emacs/emacsql/emacsql-4.0.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NEED_EMACS=25.1
-
-inherit edo elisp toolchain-funcs
-
-DESCRIPTION="A high-level Emacs Lisp RDBMS front-end"
-HOMEPAGE="https://github.com/magit/emacsql"
-
-if [[ "${PV}" == *9999* ]]; then
- inherit git-r3
-
- EGIT_REPO_URI="https://github.com/magit/${PN}.git"
-else
- SRC_URI="
- https://github.com/magit/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz
- "
-
- KEYWORDS="~amd64"
-fi
-
-LICENSE="Unlicense"
-SLOT="0"
-# TODO(arsen): postgres-pg using app-emacs/pg (unpackaged as of yet)
-IUSE="+sqlite postgres mysql"
-
-DEPEND="
- sqlite? (
- dev-db/sqlite:3
- )
-"
-RDEPEND="
- ${DEPEND}
- postgres? (
- dev-db/postgresql
- )
- mysql? (
- virtual/mysql
- )
-"
-BDEPEND="
- virtual/pkgconfig
-"
-
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
- default
-
- # Not packaged.
- rm emacsql-pg.el || die
-
- local -A backends=(
- [sqlite]=sqlite
- [postgres]=psql
- [mysql]=mysql
- )
-
- for useflag in "${!backends[@]}"; do
- if ! use "${useflag}"; then
- rm emacsql-"${backends[${useflag}]}".el || die
- fi
- done
-}
-
-src_compile() {
- if use sqlite; then
- edo $(tc-getCC) -fPIC -Wall -Wextra \
- $($(tc-getPKG_CONFIG) --cflags --libs sqlite3) \
- ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o emacsql-sqlite \
- sqlite/emacsql.c
- fi
- elisp_src_compile
-}
-
-src_install() {
- elisp_src_install
-
- if use sqlite; then
- exeinto "${SITELISP}"/emacsql/sqlite
- doexe emacsql-sqlite
- fi
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacsql/
@ 2024-10-31 23:17 Maciej Barć
0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2024-10-31 23:17 UTC (permalink / raw
To: gentoo-commits
commit: 74d495e2f72767188975863d54ae2c9fd64a5aa8
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 31 17:51:08 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 23:17:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d495e2
app-emacs/emacsql: drop old 4.0.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/emacsql/Manifest | 1 -
app-emacs/emacsql/emacsql-4.0.0.ebuild | 87 ----------------------------------
2 files changed, 88 deletions(-)
diff --git a/app-emacs/emacsql/Manifest b/app-emacs/emacsql/Manifest
index 3b61829da02c..5d33a97b9834 100644
--- a/app-emacs/emacsql/Manifest
+++ b/app-emacs/emacsql/Manifest
@@ -1,2 +1 @@
-DIST emacsql-4.0.0.tar.gz 2398791 BLAKE2B 55a67c5da79e290ba1024a8704113276d6db9d05e539eba79bded01d4092c3565a50c48608cb0932ad0e06d0b1a378e61cceffc8bb910c03da717c6f0a70e62b SHA512 040d8fc9a28505102791ea203d8cb58520ea871b2abc937a128e7d26eba62e89886094874c69806a3e6e5e01cafff5d9caf699438693b03ccd383aa5f94ae949
DIST emacsql-4.0.3.tar.gz 2398435 BLAKE2B 3c66b922b63a1265660e59cf0319583f98bb6d51347fb6abd76e12d1ff0d9bb92501fb1e35bb4cbe83f8338d6b03e25d3a0536e78998f252ad210d80971e701a SHA512 a8ea07ddae35f993bfd9b19f4d0964ae3128d362e1e377e917a715d5c1dfb0c2dda0fd7ad17664f0e7e70342deeb780f99c5cd66be9b80aff46dd11a91c20984
diff --git a/app-emacs/emacsql/emacsql-4.0.0.ebuild b/app-emacs/emacsql/emacsql-4.0.0.ebuild
deleted file mode 100644
index d95717bb989e..000000000000
--- a/app-emacs/emacsql/emacsql-4.0.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NEED_EMACS=25.1
-
-inherit edo elisp toolchain-funcs
-
-DESCRIPTION="A high-level Emacs Lisp RDBMS front-end"
-HOMEPAGE="https://github.com/magit/emacsql"
-
-if [[ "${PV}" == *9999* ]]; then
- inherit git-r3
-
- EGIT_REPO_URI="https://github.com/magit/${PN}.git"
-else
- SRC_URI="
- https://github.com/magit/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz
- "
-
- KEYWORDS="~amd64"
-fi
-
-LICENSE="Unlicense"
-SLOT="0"
-# TODO(arsen): postgres-pg using app-emacs/pg (unpackaged as of yet)
-IUSE="+sqlite postgres mysql"
-
-DEPEND="
- sqlite? (
- dev-db/sqlite:3
- )
-"
-RDEPEND="
- ${DEPEND}
- postgres? (
- dev-db/postgresql
- )
- mysql? (
- virtual/mysql
- )
-"
-BDEPEND="
- virtual/pkgconfig
-"
-
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
- default
-
- # Not packaged.
- rm emacsql-pg.el || die
-
- local -A backends=(
- [sqlite]=sqlite
- [postgres]=psql
- [mysql]=mysql
- )
-
- for useflag in "${!backends[@]}"; do
- if ! use "${useflag}"; then
- rm emacsql-"${backends[${useflag}]}".el || die
- fi
- done
-}
-
-src_compile() {
- if use sqlite; then
- edo $(tc-getCC) -fPIC -Wall -Wextra \
- $($(tc-getPKG_CONFIG) --cflags --libs sqlite3) \
- ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o emacsql-sqlite \
- sqlite/emacsql.c
- fi
- elisp_src_compile
-}
-
-src_install() {
- elisp_src_install
-
- if use sqlite; then
- exeinto "${SITELISP}"/emacsql/sqlite
- doexe emacsql-sqlite
- fi
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-10-31 23:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-29 13:40 [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacsql/ Arsen Arsenović
-- strict thread matches above, loose matches on Subject: below --
2024-10-31 23:17 Maciej Barć
2024-10-31 23:17 Maciej Barć
2024-08-26 19:42 Maciej Barć
2024-08-10 18:16 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox