DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51IEcd0x3499379
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51IEcd0x3499379
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=o4raoILU
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA1EB385840F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1739889518;
	bh=RuJWPtF7wgQ8vgPi89g48aXpN7NUmFPUYF75eCVeP0g=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=o4raoILUQa4hUAskTHDUaEN1EB4HMf6faZZG3/mMxgmbyOvcRgwv6dTbHre56QHNJ
	 lzqPXOxOodhHHLVlIPZUdX+S6Og3DwnjZTrQ/lgLBtlNB/rVXpt65huSgFz1RNFAu6
	 igiHjVVbE4Cd8jNzu0BthD8bl6ofsYZKSTAfDsQI=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 90A033858C42
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 90A033858C42
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739889480; cv=none;
 b=OZuf+7oD47ISTvL/aElSyEzQN+EmkHn0FDpAMJUNUXs8B6QfjmfkcppaMP09npSzDQUwOnS6DZEE2uK25tG7f6+tx7+asnCBcqn9LjpxIaDw2mTHw51kUXy3qc/Z7GknsPthIOA9aX0mussLdx0apaFnnPOcT9TUSw1D3kdwfAs=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1739889480; c=relaxed/simple;
 bh=+QRhzERdwsgD+UpvugNp92MNBxg8DBaDb5tcbZR0Kf4=;
 h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
 b=j3t4qdK50UI6SVZ29e2YWWTQS+ZOKGU6cL8O2VM44tXs1tYk8Z1vabOpKanmOcX+Z45BK1ZDusd4Q+ETQgLXlExtkjTMXLM4JCCzFFj3fCR1LYNJ3IDky9GejVOpeJSBIalixV9ds8+WvEAMOM36sz/RLeacPYI8Y0mbYVwRxxc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90A033858C42
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739889479; x=1740494279;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=cpISA2Vy4oOA+8Pt4Azh4bTM8KWd+eZ7KhCoXlviDZ4=;
 b=Nin6y52slLKqP/NihURjISlTURhNiCk/IG+CqLRIlcqYwQQKPAklUJPZFLaNXU4I3w
 abZHsyDkrNPox0VVXsvWAvjjqPtaIKFdSk1JxiOyEqJU4xxL9RHlQfA+YGPDa2ovOe/i
 QFsMEaNmV0yWIgn4XB7ybYNOeZeGVKY/jHv2O6LoE5GimUWRbnNnHj4yjGHXo2cW+ezL
 lFMdF752vyZeB9K5Uh3oORdiqiKGpc17NLq+IsI5b+NEydnVD6mhqhF1Iib+4TDozaQ3
 jAxC7eWt5lB8CLaNHlK2LAGpt4TVfo7YEG9qLZ6B5umR0z9bLWGuP7cUdyabKGR5HxrI
 GPHA==
X-Gm-Message-State: AOJu0YwDnnj/2IASPifbcjn1xtdiuCKZ5VIWBTbL8xNc65sg5CkWDoMB
 /oPzBPHYdeYfmhP+8v9ywQOKb0YCE1MpCDp0ItXBcUx1YQP1vhDpftexTQ==
X-Gm-Gg: ASbGncvflcCvnQNv9+O2FE+NIo9HmlMJXawzHsOhDDFDkWDMw9Dv0kQwjZB7AjMxqO7
 CrN9WK2rZqftMceAAGSjz8S+bUnvGZRcGZ0D6IT/GUZ3v6WdcArfJZCedv9uR2Mz/zeVzAd4vyY
 4o8FQQUQkY20s9DVkhDBK1hRiwzFkuT1bHq0ysLka6ti6rcBxs6hYpf88uyppo97L/+G/9rh8jZ
 UuI4+rRN6BUT2RLhTuLivCUmK85Kc3XHwp8lxbqeo6LlojGGst8+O+y2ZFkuYusgL38MYN4aMbn
 1BRgR0hOAd+uBD/8jfw7ddK7N1jUwbLSpt2xQy687HnkoqHKHITg6I62xLiwqd3BwjYir8MMVA=
 =
X-Google-Smtp-Source: AGHT+IGLGYs0uW5MMYgSRLKq2baw9bGpElZmVe/eEkdSrgQOSSZfMiAUPmh/ahY6CbSo1kiDUzwP+g==
X-Received: by 2002:a05:600c:4f46:b0:436:e3ea:4447 with SMTP id
 5b1f17b1804b1-4396e779e07mr132970525e9.30.1739889475651; 
 Tue, 18 Feb 2025 06:37:55 -0800 (PST)
Message-ID: <196e5ccd-7cde-4c44-bd13-0ef5f853a51b@gmail.com>
Date: Tue, 18 Feb 2025 15:37:54 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Package 'unitS' requires python39 & requests
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <2c32c02d-a7f0-4aef-a147-584cfd0691f5@kircheis.it>
 <e679d6ca-99c0-4705-9a5e-791c6b4b67a1@gmx.com>
 <0f4216d9-8592-4d89-8581-ae93b6e70d0a@gmail.com>
 <48d3065c-6550-4714-946a-eeb9507b9842@SystematicSW.ab.ca>
 <d28e1d00-c6b1-418d-a300-16b29c4791dc@gmx.com>
 <94ff3181-9b6f-4e45-bee5-bb826ad8d4aa@SystematicSW.ab.ca>
 <ea3bf969-0e78-432a-94d7-784a0ca3d1d9@gmx.com>
Content-Language: en-GB
In-Reply-To: <ea3bf969-0e78-432a-94d7-784a0ca3d1d9@gmx.com>
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
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>
From: Marco Atzeri via Cygwin <cygwin@cygwin.com>
Reply-To: Marco Atzeri <marco.atzeri@gmail.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

On 18/02/2025 11:48, Sam Edge via Cygwin wrote:
> On 18/02/2025 00:17, Brian Inglis via Cygwin wrote:
>> On 2025-02-17 16:34, Sam Edge via Cygwin wrote:
>>> On 17/02/2025 23:21, Brian Inglis via Cygwin wrote:
>>>> On 2025-02-17 07:48, Marco Atzeri via Cygwin wrote:
>>>>> On 17/02/2025 15:31, Sam Edge via Cygwin wrote:
>>>>>> On 17/02/2025 11:29, Federico Kircheis via Cygwin wrote:
>>>>>>
>>>>>> I mentioned this a while ago but the 'units' package also has a 
>>>>>> dependency on 'python39' and 'python39-requests'. This is purely 
>>>>>> because of the currency updater script (/usr/bin/unit_cur) I believe.

> 
> Splitting the updater script out and have it depend upon units, python3 
> & requests sounds like a sensible approach although I don't know how 
> much extra fiddling that would require when releasing upstream changes 
> next time around. (Sorry, I've not found the time to grok cygport yet. 
> So many tools, so little time! ;-))
> 

splitting is a minor operation in this case as
there is only one file that is pulling python

$ file /usr/bin/units_cur
/usr/bin/units_cur: Python script, Unicode text, UTF-8 text executable

so if this file is moved to a new binary package (e.g units-tool)
that package will require units and python, while the remaining package
will require the usual stuff

  $ cyg-dependency.sh /usr/bin/units.exe
/usr/bin/cygwin1.dll  =>  cygwin-3.5.7-1
/usr/bin/cygreadline7.dll  =>  libreadline7-8.2-2
KERNEL32.dll  =>   Windows System

Regards
Marco



-- 
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
