-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add perl module Text::Fuzzy #25932
base: main
Are you sure you want to change the base?
Add perl module Text::Fuzzy #25932
Conversation
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/perl-text-fuzzy/0.29:
For recipes/perl-text-fuzzy/0.29:
Documentation on acceptable licenses can be found here. |
@conda-forge/help-perl I wanted to contribute this package but when I build it locally with |
Note: this was originally submitted to bioconda but is probably more appropriate for conda-forge bioconda/bioconda-recipes#46913 |
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/perl-text-fuzzy:
For recipes/perl-text-fuzzy:
Documentation on acceptable licenses can be found here. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/perl-text-fuzzy:
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/perl-text-fuzzy:
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/perl-text-fuzzy:
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/perl-text-fuzzy:
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
I am not clear on how to limit the build to just Linux |
@conda-forge/help-perl I am almost ready for review but I have no idea how to just limit the test to Linux. Thank you for any help. Additionally, when I build this locally with
I am not sure if this is an actual issue since it seems to build in the CI environment. |
I see some guidance in #25110 but I don't think it completely addresses my issues. |
Hi Lee, To limit the build to just Linux, you need to add
I've developed an alternative Perl recipe generator as part of the bioconda->conda-forge migration. In case it helps for comparison of requirements, etc, here is the recipe it generated for Text::Fuzzy which builds successfully under Linux and Windows (without {% set version = "0.29" %}
{% set sha256 = "3df5cfd2ca1a4c5ca7ff7bab3cc8d53ad2064e134cbf11004f3cf8c4b9055bff" %}
# regex to use for Windows build hack
{% set win_patch = "s|C:\\\\strawberry\\\\c|$ENV{LIBRARY_PREFIX}\\\\mingw-w64|g" %}
package:
name: perl-text-fuzzy
version: {{ version }}
source:
url: https://cpan.metacpan.org/authors/id/B/BK/BKB/Text-Fuzzy-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 0
# needed for linker to find some m2w64 libs
merge_build_host: True # [win]
script:
- >-
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 MAKE=make
&& (for /r . %%f in (*Makefile) do perl -i -pe "{{ win_patch }}" %%f) # [win]
&& make
&& make test
&& make install VERBINST=1
requirements:
build:
- {{ compiler('c') }} # [unix]
- m2w64-gcc # [win]
- make
host:
- perl >= 5.32
run:
- perl >= 5.32
test:
imports:
- Text::Fuzzy
source_files:
- t
commands:
- prove
about:
home: https://metacpan.org/pod/Text::Fuzzy
summary: Partial string matching using edit distances
license: Artistic-1.0-Perl OR GPL-1.0-or-later
extra:
recipe-maintainers:
- jvolkening
- conda-forge/perl-packagers |
Oh wow there is so much here that I didn't know. Thank you so much for your help. Follow up questions:
It seems to have built locally on my Linux computer and so I'm going to try it on CI! |
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/perl-text-fuzzy:
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/perl-text-fuzzy:
|
@jvolkening it seems to pass CI! How do I follow through with your change to make yourself a maintainer? It says you have to comment? And then how do I trigger a merge? |
Yes, looks like you took care of this.
I've never made use of that file -- you shouldn't need it here I don't think.
You can leave the version unspecified -- that's normally what I do but here for some reason the build test was pulling in an earlier Perl today which didn't work. In the 5.32 conda release the Windows build switched to using Strawberry Perl, and so the recipes are different to accommodate this -- the recipe I shared wouldn't build on earlier Windows conda releases. Actually, I have a PR in to the Perl feedstock to switch to a native Windows build, so if that ever gets merged things should be simpler.
Yes, I would swap mine with yours. You can leave mine in if you want, but I hope to be added to perl-packagers and then it won't matter.
How you did it looks good. |
I am okay with being included as a maintainer on this recipe. You will need to get someone from perl-packagers to comment as well. You will need someone with merge permissions for the final review and merge. Be prepared for a slow process here -- I have some outstanding PRs from back in January and February that are still waiting for final reviews. There just aren't that many people who are conda-forge admins and are willing to spend time on the Perl-related stuff. I just did a review of the current commit, but I don't have the ability to merge. "mfansler" and "xileF1337" have been helpful on my recipes recently. "mbargull" has done a fair amount of work on Perl recipes in the past few years. I would suggesting pinging them along with "perl-packagers" to ask for a review. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Thank you for all your help! It looks like it is passing linting. I didn't make any other major changes, and so I expect the rest of the tests to continue passing. I'll see what I can do about putting this recipe on my private channel and also how I might even make that private channel while I wait. |
@mfansler @xileF1337 @mbargull @conda-forge/help-perl I would like to merge this pull request. All checks have passed. Thank you for any assistance! |
I have learned how to make my own channel and so I uploaded to |
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).