delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/29/14:37:30

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 <Stromeko AT nexgo DOT 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 DOT 20120926T132447-881 AT post DOT gmane DOT org> <50673513 DOT 9090307 AT x-ray DOT at>
Mime-Version: 1.0
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019