Bug 262060 - textproc/py-jsx-lexer: Update to 1.0.0
Summary: textproc/py-jsx-lexer: Update to 1.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kai Knoblich
URL: https://github.com/fcurella/jsx-lexer...
Keywords:
Depends on:
Blocks: 262061
  Show dependency treegraph
 
Reported: 2022-02-20 10:58 UTC by Kai Knoblich
Modified: 2022-02-27 11:27 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (koobs)
kai: merge-quarterly-


Attachments
py-jsx-lexer-1.0.0.patch (1.62 KB, patch)
2022-02-20 10:58 UTC, Kai Knoblich
kai: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2022-02-20 10:58:26 UTC
Created attachment 231953 [details]
py-jsx-lexer-1.0.0.patch

Hi Kubilay,

attached is the patch that updates textproc/py-jsx-lexer to 1.0.0, modernizes the testsuite and switches back to PyPI.

QA:
~~~
- poudriere -> OK (12.2-RELEASE amd64, py37, py38, py39, py310, py311)

Results via "make test" (all Python flavors):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Ran 9 tests in 0.176s
>
> OK
Comment 1 Kai Knoblich freebsd_committer freebsd_triage 2022-02-27 11:16:30 UTC
Comment on attachment 231953 [details]
py-jsx-lexer-1.0.0.patch

^Triage: Setting maintainer-approval flag to '+' as it's implicitly given by maintainers' MAINTAINER_POLICY.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-02-27 11:18:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f13a230d076b27337a8c9e6d3ca0a1e335b470c0

commit f13a230d076b27337a8c9e6d3ca0a1e335b470c0
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-02-27 11:05:26 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-02-27 11:05:26 +0000

    textproc/py-jsx-lexer: Update to 1.0.0

    * Switch back to PyPI as sdists are there available again.

    * Modernize "do-test" target while I'm here.

    Changelog:

    https://github.com/fcurella/jsx-lexer/compare/v0.0.7...v1.0.0

    PR:             262060
    Approved by:    koobs (maintainer, implicit: MAINTAINER_POLICY)
    MFH:            No (not compatible with py-pygments in 2022Q1)

 textproc/py-jsx-lexer/Makefile | 14 ++++++--------
 textproc/py-jsx-lexer/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 11 deletions(-)
Comment 3 Kai Knoblich freebsd_committer freebsd_triage 2022-02-27 11:24:59 UTC
^Triage: Set MFH flag to '-' as the test suite fails with the release of textproc/py-pygments in 2022Q1:

> FAIL: test_get_tokens (tests.test_lexer.JsxLexerTestCase)
Comment 4 Kai Knoblich freebsd_committer freebsd_triage 2022-02-27 11:27:08 UTC
Committed, thank you for the notes regarding the testsuite in bug #262061, comment #1!