From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127154 invoked by alias); 13 May 2018 18:40:21 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 127138 invoked by uid 89); 13 May 2018 18:40:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=echo, 2,3 X-HELO: rgout01.bt.lon5.cpcloud.co.uk Received: from rgout0104.bt.lon5.cpcloud.co.uk (HELO rgout01.bt.lon5.cpcloud.co.uk) (65.20.0.124) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 13 May 2018 18:40:19 +0000 X-OWM-Source-IP: 86.160.189.108 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-RazorGate-Vade-Classification: clean X-RazorGate-Vade-Verdict: clean 0 X-VadeSecure-score: verdict=clean score=0/300, class=clean X-SNCR-VADESECURE: CLEAN X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedthedrvdefgddufeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffosedttdertdertddtnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucfkphepkeeirdduiedtrddukeelrddutdeknecurfgrrhgrmhephhgvlhhopehlohgtrghlhhhoshhtrdhlohgtrghlughomhgrihhnpdhinhgvthepkeeirdduiedtrddukeelrddutdekpdhmrghilhhfrhhomhepoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqedprhgtphhtthhopeeotgihghifihhnqdgrphhpshestgihghifihhnrdgtohhmqedprhgtphhtthhopeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuvehluhhsthgvrhfuihiivgeptd Received: from localhost.localdomain (86.160.189.108) by rgout01.bt.lon5.cpcloud.co.uk (9.0.019.26-1) (authenticated as jonturney@btinternet.com) id 5AF326CD006CD634; Sun, 13 May 2018 19:40:17 +0100 From: Jon Turney To: cygwin-apps@cygwin.com Cc: Jon Turney Subject: [PATCH cygport] Fix handling of python{2,3} atoms in DEPEND Date: Sun, 13 May 2018 18:40:00 -0000 Message-Id: <20180513184007.127160-1-jon.turney@dronecode.org.uk> X-SW-Source: 2018-05/txt/msg00003.txt.bz2 python{2,3} atoms are not deparenthesized correctly, as that function assumes the atom type consists of lowercase alphabetic characters only. Probably also need to allow uppercase alphabetic characters as well, to allow R atoms to work... Signed-off-by: Jon Turney --- lib/check_funcs.cygpart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/check_funcs.cygpart b/lib/check_funcs.cygpart index 961f263..1a0b41e 100644 --- a/lib/check_funcs.cygpart +++ b/lib/check_funcs.cygpart @@ -579,7 +579,7 @@ __check_depends() { return 0; fi - __deparenthesize() { echo "$@" | sed -e 's|[a-z]*(\([^)]*\))|\1|' ; } + __deparenthesize() { echo "$@" | sed -e 's|[a-zA-Z0-9]*(\([^)]*\))|\1|' ; } for atom in ${DEPEND} do -- 2.17.0