Bug 242616 - [NEW PORT] www/py-flask-babelex: Adds i18n/l10n support to Flask applications
Summary: [NEW PORT] www/py-flask-babelex: Adds i18n/l10n support to Flask applications
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: Kubilay Kocak
Keywords: feature
Depends on:
Blocks: 242617
  Show dependency treegraph
Reported: 2019-12-13 01:18 UTC by Goran Mekić
Modified: 2020-01-11 12:32 UTC (History)
1 user (show)

See Also:

py-flask-babelex.shar (2.16 KB, text/plain)
2019-12-13 01:18 UTC, Goran Mekić
no flags Details
py-flask-babelex.diff (3.84 KB, patch)
2019-12-18 13:10 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Mekić 2019-12-13 01:18:12 UTC
Created attachment 209905 [details]
Comment 1 Goran Mekić 2019-12-18 13:10:49 UTC
Created attachment 210032 [details]
Comment 2 Goran Mekić 2019-12-18 13:13:37 UTC
  * Fix test of locales (not only FreeBSD issue: https://github.com/mrjoes/flask-babelex/issues/17 - I will send PR upstream)


  * portlint: OK (looks fine.)
  * testport: OK (poudriere: 12.0, amd64 tested)
  * maketest: OK (17 passed, 2 warnings tests PASS)
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2020-01-11 11:23:18 UTC
Review items (already fixed locally):

 - COMMENT should match setup.py:description (modulo portlint compliance)
 - setup.py:*_requires declares version requirements, match these as closely as possible, given our *_DEPENDS syntax:


 - Port Makefile calls pytest but doesn't TEST_DEPEND on pytest
 - Doesn't appear project requires pytest (calls `python tests.py` [1])
 - Add comments to patches wherever possible, ideally including upstream issue/PR/commit urls where applicable

[1] Makefile: @cd tests; python tests.py
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2020-01-11 12:29:45 UTC

 - lowercase(PORTNAME), adjusting DISTNAME accordingly to correctly fetch
Comment 5 commit-hook freebsd_committer 2020-01-11 12:30:52 UTC
A commit references this bug:

Author: koobs
Date: Sat Jan 11 12:30:18 UTC 2020
New revision: 522682
URL: https://svnweb.freebsd.org/changeset/ports/522682

  [NEW] www/py-flask-babelex: Support i18n/l10n in Flask applications

  This is fork of official Flask-Babel extension with following features:

    - Possible to use multiple language catalogs in one Flask application;
    - Localization domains: your extension can package localization file(s)
      and use them if necessary;
    - Does not reload localizations for each request.

  WWW: https://github.com/mrjoes/flask-babelex

  PR:		242616
  Submitted by:	Goran Meki? <mek tilda center>

Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2020-01-11 12:32:16 UTC
Committed with changes, thank you Goran!

Since lowercase'ing PORTNAME here, bug 242617 needs updating (lowercasing respective *_DEPENDS)