X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Achim Gratz <Stromeko@nexgo.de>
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: <loom.20120926T132447-881@post.gmane.org>	<50673513.9090307@x-ray.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

