From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Ag Ibragimov <agzam.ibragimov@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: sqlite library
Date: Sat, 10 Dec 2022 10:27:28 -0500 [thread overview]
Message-ID: <jwvy1rfp9kk.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m2ilikxfic.fsf@gmail.com> (Ag Ibragimov's message of "Fri, 09 Dec 2022 18:35:07 -0600")
> Can you someone advise me what should I use, what should I put in
> `Package-Requires:`; maybe the best would be to point to a simple
> package with a similar problem?
See https://elpa.gnu.org/packages/triples.html
It does not announce any dependency in its `Package-Requires:` (other
than Emacs≥25 and `seq`). Instead it checks at runtime whether/which
kind of sqlite support is available:
(unless (pcase-exhaustive triples-sqlite-interface
('builtin
(and (fboundp 'sqlite-available-p) (sqlite-available-p)))
('emacsql (require 'emacsql nil t)))
(error "The triples package requires either Emacs 29 or the emacsql package to be installed."))
`Package-Requires:` is just a tool to help users install the package;
it doesn't have to be "exact".
Stefan
prev parent reply other threads:[~2022-12-10 15:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-10 0:35 sqlite library Ag Ibragimov
2022-12-10 7:42 ` Eli Zaretskii
2022-12-10 15:14 ` Daniel Kraus
2022-12-10 15:27 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvy1rfp9kk.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=agzam.ibragimov@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.