fix: clean up Makefile.PL metadata and dead defines#144
Conversation
PR Review — fix: clean up Makefile.PL metadata and dead definesClean, well-motivated build config cleanup. The EUMM version bump to 6.64 is correct for TEST_REQUIRES (available since 2013, well within the project's practical support range). META spec 2.0 structured format is properly applied — license as arrayref, bugtracker/repository as nested hashes. Dead compiler defines (-DPERL5, -DOPENSSL_NO_KRB5) are safely removed since they're unreferenced in source. The build_requires removal from META_MERGE is correct since TEST_REQUIRES now handles that metadata. Merge-ready. 🟢 Suggestions1. Consider removing empty DEFINE entirely ( Checklist
SummaryClean, well-motivated build config cleanup. The EUMM version bump to 6.64 is correct for TEST_REQUIRES (available since 2013, well within the project's practical support range). META spec 2.0 structured format is properly applied — license as arrayref, bugtracker/repository as nested hashes. Dead compiler defines (-DPERL5, -DOPENSSL_NO_KRB5) are safely removed since they're unreferenced in source. The build_requires removal from META_MERGE is correct since TEST_REQUIRES now handles that metadata. Merge-ready. Automated review by Kōan |
PR Review — fix: clean up Makefile.PL metadata and dead definesClean, correct build config cleanup. TEST_REQUIRES properly classifies Test::More as a test-only dependency, dead compiler defines from 2003 are safely removed (confirmed unreferenced in source), and META spec 2.0 structured format is correctly applied. The EUMM version bump to 6.64 is the minimum needed for TEST_REQUIRES and is widely available. No blocking issues. Merge-ready. 🟢 Suggestions1. EUMM 6.64 minimum may break very old toolchains (`Makefile.PL`, L5)Bumping from 6.48 to 6.64 is correct for TEST_REQUIRES support, but worth noting in the changelog. EUMM 6.64 shipped with Perl 5.19.6 (Dec 2013) and is available on CPAN for older perls. Since the project already targets 5.006 minimum, any user on an ancient Perl without EUMM 6.64 will now get a configure-time failure instead of a silent misclassification of Test::More. This is the right trade-off, just flagging for awareness. 2. Empty DEFINE string is a no-op (`Makefile.PL`, L30)With both dead defines removed, Checklist
SummaryClean, correct build config cleanup. TEST_REQUIRES properly classifies Test::More as a test-only dependency, dead compiler defines from 2003 are safely removed (confirmed unreferenced in source), and META spec 2.0 structured format is correctly applied. The EUMM version bump to 6.64 is the minimum needed for TEST_REQUIRES and is widely available. No blocking issues. Merge-ready. Automated review by Kōan |
|
@toddr-bot rebase from main |
- Move Test::More from PREREQ_PM to TEST_REQUIRES (it's a test-only dep, not a runtime dep). Bump EUMM to 6.64 for TEST_REQUIRES support. - Remove dead -DPERL5 and -DOPENSSL_NO_KRB5 defines. Neither symbol is referenced in the source; they were workarounds for gcc-3.2 and Red Hat 9 (both circa 2003). - Update META_MERGE to CPAN META spec 2.0 format with structured repository/bugtracker entries for better MetaCPAN integration. - Remove stale build_requires (now handled by TEST_REQUIRES). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Removed no-op `'DEFINE' => ''` line from `Makefile.PL` per reviewer suggestion — with both dead defines (`-DPERL5`, `-DOPENSSL_NO_KRB5`) already removed, the empty string is unnecessary and removing the key entirely is cleaner.
Rebase: fix: clean up Makefile.PL metadata and dead definesBranch Diff: 1 file changed, 14 insertions(+), 11 deletions(-) Review feedback was analyzed and applied. Changes
Actions
CICI will be checked asynchronously. Automated by Kōan |
1abfadf to
b4fe820
Compare
PR Review — fix: clean up Makefile.PL metadata and dead definesClean build config cleanup. TEST_REQUIRES with EUMM 6.64 is correct, META spec 2.0 structured format is properly applied, dead defines safely removed. The rebase already incorporated the reviewer suggestion to remove the empty DEFINE key entirely. No blocking issues. Checklist
SummaryClean build config cleanup. TEST_REQUIRES with EUMM 6.64 is correct, META spec 2.0 structured format is properly applied, dead defines safely removed. The rebase already incorporated the reviewer suggestion to remove the empty DEFINE key entirely. No blocking issues. Automated review by Kōan |
PR Review — fix: clean up Makefile.PL metadata and dead definesClean, correct build config cleanup. EUMM 6.64 bump is the right minimum for TEST_REQUIRES. Test::More properly reclassified as test dependency. Dead compiler defines safely removed (unreferenced in source). META spec 2.0 structured format correctly applied — license as arrayref, bugtracker/repository as nested hashes. The stale build_requires removal is correct since TEST_REQUIRES now generates the equivalent metadata. No blocking issues. Checklist
SummaryClean, correct build config cleanup. EUMM 6.64 bump is the right minimum for TEST_REQUIRES. Test::More properly reclassified as test dependency. Dead compiler defines safely removed (unreferenced in source). META spec 2.0 structured format correctly applied — license as arrayref, bugtracker/repository as nested hashes. The stale build_requires removal is correct since TEST_REQUIRES now generates the equivalent metadata. No blocking issues. Automated review by Kōan |
PR Review — fix: clean up Makefile.PL metadata and dead definesClean build config cleanup. EUMM bump to 6.64 is correct for TEST_REQUIRES. META spec 2.0 structured format is properly applied. Dead defines safely removed. No blocking issues. Checklist
SummaryClean build config cleanup. EUMM bump to 6.64 is correct for TEST_REQUIRES. META spec 2.0 structured format is properly applied. Dead defines safely removed. No blocking issues. Automated review by Kōan |
PR Review — fix: clean up Makefile.PL metadata and dead definesClean build config cleanup. EUMM 6.64 bump is correct for TEST_REQUIRES, META spec 2.0 structured format is properly applied, dead defines are safely removed. The rebase incorporated reviewer feedback to remove the no-op empty DEFINE line. No blocking issues. Checklist
SummaryClean build config cleanup. EUMM 6.64 bump is correct for TEST_REQUIRES, META spec 2.0 structured format is properly applied, dead defines are safely removed. The rebase incorporated reviewer feedback to remove the no-op empty DEFINE line. No blocking issues. Automated review by Kōan |
What
Clean up build configuration: proper test dependency classification, dead code removal, modern metadata format.
Why
Test::Morewas listed as a runtime dependency (PREREQ_PM) but is only needed for testing. This causes CPAN to track it as a runtime dep in META files.-DPERL5and-DOPENSSL_NO_KRB5compiler defines are referenced nowhere in the source — they were workarounds for gcc 3.2 (Perl 5.8) and Red Hat 9, both from 2003.How
Test::Moremoved toTEST_REQUIRES(EUMM 6.64+, available since 2013)-DPERL5 -DOPENSSL_NO_KRB5removed fromDEFINEresourcesupdated to nested hash format per META spec 2.0build_requiresblock removed (superseded byTEST_REQUIRES)Testing
Full test suite: 507 tests pass. Build succeeds with empty DEFINE.
🤖 Generated with Claude Code
Quality Report
Changes: 1 file changed, 15 insertions(+), 11 deletions(-)
Code scan: clean
Tests: passed (OK)
Branch hygiene: clean
Generated by Kōan post-mission quality pipeline