X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: [RFE][PATCH] cygport: allow for subdirectory specification via CPAN_AUTHOR Date: Sat, 29 Sep 2012 20:36:49 +0200 Lines: 33 Message-ID: <871uhkad6m.fsf@Rainer.invalid> References: <50673513 DOT 9090307 AT x-ray DOT at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reini Urban writes: > Just for easier understanding: > How would that look like for e.g. > A/AM/AMBS/Inline/Inline-Files-0.68.tar.gz > > NAME=Inline-Files > inherit perl > CPAN_AUTHOR=AMBS/Inline Yes, exactly. > Looks a bit weird. Well, that's the author's choice…. Looks much less wierd to me than this in any case: SRC_URI=${SRC_URI%/*}/Inline/${SRC_URI##*/} > Don't we have a better field for this cpan quirks? > Like a new CPAN_DIR which defaults to CPAN_AUTHOR? I didn't want to introduce new variables, but yes, that'd be another option. But CPAN_AUTHOR is really not used for anything else than constructing the download URL AFAIK. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple