Re: Help with creating fink package

Scott Hannahs via Fink-users <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On May 26, 2022, at 11:09 PM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 5/26/22 9:24 PM, Scott Hannahs via Fink-users wrote:
>> I am trying to put together a boto3 package.  I was trying to make it as boiler plate as possible.
>> It is a python package so it is both-py37 etc.   In making the package is there a % variable that is just the base name of the package?  %n %N %{ni} and %{Ni}  don’t cut it, they give boto3-py38 or boto3-py and not just the “boto3” that I am looking for.  It seems that there should be such a variable?  Or am I just dreaming.
> 
> There's is no %foo for what you want. You could make the `Type:` field be something like `Type: python (-py3.7 -py3.8)` and then %{Ni} will give you "boto3" but that'll cause problems in other parts. Also, you can't have an unvarianted SplitOff package name in a varianted package because then multiple python versions in the same .info would own the unvarianted package.
> 
> Are you planning on having various python variants for boto3, or will it only ever be a single python version? What is the eventual goal of the unvarianted "boto3" package?

It will be a package with python variants as is both.  I was just wondering if there was a way to get the base “boto3” download directory/filename without hardwiring the name in again.  Not a big deal, it just seemed like something that would exist.  I don’t need it as an unvariated *package* but as a string substitution for the Source: directive.  I have it working as it is.

-Scott



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.