X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 891723861013
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=dinwoodie.org
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=adam@dinwoodie.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=dinwoodie.org; s=google;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=fmkNRKbJqX6PMn1pA2e9lNjDYN3BFZnZUrOBWsaZxJY=;
 b=Z4yRM173po00BtyoajwsVDQ2IxsfMeHiY4m+p7tb/PB1aoI0drQ9l+bO+xLmvefo1j
 bh5rQhDCQ9VC9ECv44bJHIZe79MCpzrLPc5zFjyclF6kc4q8xmOHudn2DzsmQgpA5OoW
 GrhhRO3OuXrWXU8OsDyyy7RXtNK5VBOz4q3dE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=fmkNRKbJqX6PMn1pA2e9lNjDYN3BFZnZUrOBWsaZxJY=;
 b=WuZ+Y9ffOmBstOmYxKXs1dsdBVDAYYfwMx6zCQ6Yk6N0UMOa3vQfWJVfev5CRrG9h3
 2HRH5FCNzegUGQcDnD9WypHTw8zy7MAUYbmVPMocbiO+hIDWEHQoDx7n/T5P4hgjPgyx
 z4PNlLWld8hpnCXtmIrTAdY87Ybl44NiK9aJq6C0NZVkO//7q+O21PVEDL7jf2Dw+fbK
 DU5sYLMASPENzNInvoFWsXiqZicQ2ODw/mVuIWdllkC2RFLpDT3reCWEtyj4e//WFU53
 lWZ+mg6xj7KXBzu7ZO3hxZz92pE1lldXFQsOgxKwUzh5yrtox+JXlACvHaUOqWKBuQOu
 nwnw==
X-Gm-Message-State: AOAM532PR2rNP80FqiUa2iA0kmdAJTjAe3q1SBUFrqTnCO9dur8m8zT/
 CviKnxkp+xn9Y8cgQC+vB8qdIB/P0fp/sRJaubkZLFrbTYFPMQ==
X-Google-Smtp-Source: ABdhPJwfKrWvw5YEt1TORLjFICG3LAZvjTPky14zZSyJUewaezOT12prNlUXKRu5jlDTWl5clIK3ilfBO5lF8ofNrbU=
X-Received: by 2002:ae9:c30e:: with SMTP id n14mr20592207qkg.291.1614707471958; 
 Tue, 02 Mar 2021 09:51:11 -0800 (PST)
MIME-Version: 1.0
References: <CAJ1FpuM-wbPw4U-cwVz2Tf5ufjazjP0gr70GmDK9y2dbQi2XQg@mail.gmail.com>
In-Reply-To: <CAJ1FpuM-wbPw4U-cwVz2Tf5ufjazjP0gr70GmDK9y2dbQi2XQg@mail.gmail.com>
From: Adam Dinwoodie <adam@dinwoodie.org>
Date: Tue, 2 Mar 2021 17:50:39 +0000
Message-ID: <CA+kUOakPZy1hVeAjXJ_oVdefcHHo-7TRLtJWg=vH19GqM61yGQ@mail.gmail.com>
Subject: Re: Uninstall python 2.7 fails - alternative dependencies
To: cygwin <cygwin@cygwin.com>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
 SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On Tue, 2 Mar 2021 at 17:33, Doug Henderson via Cygwin wrote:
> To assist in supporting this kind of requirement, is there a way to
> create a package whose requirements are resolved by either of several
> other packages?
>
> For instance, could we have a package e.g. python-alternatives, that
> when required is satisfied by either python2 or python3. This
> mechanism might be useful for dealing with any set of packages that
> work with the alternatives system.

Yes, this function already exists in the form of the "provides" line
in setup.hint files, discussed at
https://cygwin.com/packaging-hint-files.html, although I don't believe
the function is widely used.

Per that page: If you think that another package has an incorrect
dependency list, send email to cygwin-apps noting that fact.

Adam
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
