From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: Package.el and specifying alternative dependencies Date: Sat, 04 Mar 2017 16:57:12 -0500 Message-ID: <87lgskogcn.fsf@holos> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488664676 7332 195.159.176.226 (4 Mar 2017 21:57:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Mar 2017 21:57:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Emacs developers To: Tim Cross Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 04 22:57:51 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckHgV-0001XK-Kr for ged-emacs-devel@m.gmane.org; Sat, 04 Mar 2017 22:57:51 +0100 Original-Received: from localhost ([::1]:36693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckHgb-0004Gg-St for ged-emacs-devel@m.gmane.org; Sat, 04 Mar 2017 16:57:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckHfz-0004Gb-QD for emacs-devel@gnu.org; Sat, 04 Mar 2017 16:57:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckHfw-00045n-PS for emacs-devel@gnu.org; Sat, 04 Mar 2017 16:57:19 -0500 Original-Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]:35762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckHfw-00045N-Je for emacs-devel@gnu.org; Sat, 04 Mar 2017 16:57:16 -0500 Original-Received: by mail-qk0-x22b.google.com with SMTP id v125so45630931qkh.2 for ; Sat, 04 Mar 2017 13:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=h5++DX/cvcIq77G7D4zTVxBKo9BiygTVGQFQBufosG0=; b=EOGZ9KDlGWJaAmNfSPp1a/5AekRxjjGuwKr5jYPCwrwLrwf4VI2NVy7qTGTUftktOo iDyb3sdhuHn6ZDubTA5rROWi3a1n4Rha1lDbfRJEHEEU1TsvSg0NYusKCa2JKTnSmx44 hd8OnRJTNq8IvSpR1xN/rwxbOBDPS6AxfR6RpnjSdmU+LQ2g/NCYmV/SBtxjtscaUv+w Qz7IHsjUP6DDyAlat4rj+ZJD8hbafVwySsR2UKJmkgc3E5lcE4FCe3/sV7KEODlfHezc ZeEPX0goQQrm08PQfI8xEEG7UE8SztiGd5bzm+3WKrl1vleDWRzxR+50t91FeB6pNRfO fkjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=h5++DX/cvcIq77G7D4zTVxBKo9BiygTVGQFQBufosG0=; b=AZUbQIHNOkziPR9Jla0WbeUfqc5+1juxvf2a1i/nQIFcDQ5+xb7NtjrNnKEjErNWf+ 73uCX4Of12g0NdZBEgehREpg366XCUWYSB3OkEgsCyxPzO3eY31QQ6NsU1OM6g7dqhVn Srxi0o1wD/gZOGOECnLg2zp0ujZeJdhLhKqlzhvpLEbmrq5T8ivLeVjN57RjmHtihv4K M57+ZKNQuAZSwqx+uxL94hzG9wQVQn183Sk1nVdweNyQe4HjWjyRBnqpbH7ReF0tphju tu/R0/XOuIVzpc2wzMHm+sqAZnEAf5GPAo/HWIDzjsn4mLwRYE7skoYcNqv077kQVjvv fYXQ== X-Gm-Message-State: AMke39kkYtVDvPpYq2H7q2/FI6u6v7+H6oNUwJ0whK1nrYI+HUPZwHUYBBxKqIPoL6diMln+ X-Received: by 10.200.46.91 with SMTP id s27mr10111585qta.278.1488664634275; Sat, 04 Mar 2017 13:57:14 -0800 (PST) Original-Received: from holos.localdomain (pool-173-67-40-97.bltmmd.fios.verizon.net. [173.67.40.97]) by smtp.gmail.com with ESMTPSA id q40sm4322423qtq.21.2017.03.04.13.57.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Mar 2017 13:57:13 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 86E6866374; Sat, 4 Mar 2017 16:57:12 -0500 (EST) In-Reply-To: (Tim Cross's message of "Fri, 3 Mar 2017 11:41:23 +1100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212752 Archived-At: Tim Cross writes: > Is there a way to specify alternative dependencies in a package? > > Situation: installing a package is resulting in an additional package being installed > even though the dependencies for the package have already been satisfied by another > package. This results in two packages being installed which provide overlapping > functionality. > > Example. I have installed org-plus-contrib. I then install elfeed-org, which has a > dependency on org. This results in the org package being installed, but org is > already installed as part of the org-plus-contrib package. > > I'm trying to work out if this is a problem with how dependencies are defined in the > elfeed-org package or is it a problem with how org-plus-conrib is specifying what > dependency it satisfies? Need to know in order to determine where this issue needs to > be logged. IIUC, package.el figures out dependencies by package name, not by the features it provides. So, I think the answer to your question is no.