Port details |
- py-l18n Internationalization for pytz timezones and territories
- 2021.3 devel
=0 2021.3Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2020-04-26 11:55:58
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: MIT
- Description:
- As you may have noticed, l18n is a contraction of i18n and l10n, namely
'internationalisation' and 'localization'. It basically provides lazy
translations for names used for localization purposes (e.g. places and
timezones).
I started writing l18n when I was looking for translations for the pytz library.
Indeed, on a multi-lingual site where users can select the timezone they are in,
it's much better if they can select in their language, as in some cases, the
differences with the english name can be significant, hence the place to look
for it when it's sorted in alphabetical order.
And as I am lazy, I thought of a way to - almost - automatically fetch the
translations from the CLDR (Unicode's Common Locale Data Repository) database.
Integrating function to link timezone to country codes, there was no reason not
to try and provide translations also for the latter. In the near future, I - or
contributors - may also add currencies or measurement units fetched from the
CLDR database ...
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}l18n>0:devel/py-l18n@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-l18n/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-l18n
- pkg install py39-l18n
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-l18n listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-l18n
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1643971064
SHA256 (l18n-2021.3.tar.gz) = 1956e890d673d17135cc20913253c154f6bc1c00266c22b7d503cc1a5a42d848
SIZE (l18n-2021.3.tar.gz) = 50712
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pytz>=2020.1,1 : devel/py-pytz@py39
- py39-six>=0 : devel/py-six@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-wagtail
Configuration Options:
- No options to configure
- Options name:
- devel_py-l18n
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2021.3 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
2021.3 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2021.3 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2021.3 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2021.3 28 Feb 2022 12:46:14
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-l18n: Update to 2021.3
- Fix typo in b400db1f3274a5d4fccc0079d515999f7272c702
Changes: https://github.com/tkhyn/l18n/blob/develop/CHANGES.rst |
2020.6.1 01 Nov 2021 21:28:45
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-l18n: Fix build with Python 3.10 |
2020.6.1 01 Nov 2021 13:59:10
    |
Dmitry Marakasov (amdmi3)  |
devel/py-l18n: limit supported python versions
File "setup.py", line 74, in <module>
cmd_module = getattr(__import__('setuptools.command', fromlist=[cmd]),
AttributeError: module 'setuptools.command' has no attribute 'bdist_wininst'
Approved by: portmgr blanket |
2020.6.1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2020.6.1 10 Jan 2021 23:11:54
  |
sunpoet  |
Update version requirement of RUN_DEPENDS |
2020.6.1 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
2020.6.1 15 Nov 2020 18:02:18
  |
sunpoet  |
Update to 2020.6.1
- Update version requirement of RUN_DEPENDS
Changes: https://github.com/tkhyn/l18n/blob/develop/CHANGES.rst |
2018.5 26 Apr 2020 11:53:42
  |
sunpoet  |
Add py-l18n 2018.5
As you may have noticed, l18n is a contraction of i18n and l10n, namely
'internationalisation' and 'localization'. It basically provides lazy
translations for names used for localization purposes (e.g. places and
timezones).
I started writing l18n when I was looking for translations for the pytz library.
Indeed, on a multi-lingual site where users can select the timezone they are in,
it's much better if they can select in their language, as in some cases, the
differences with the english name can be significant, hence the place to look
for it when it's sorted in alphabetical order.
And as I am lazy, I thought of a way to - almost - automatically fetch the
translations from the CLDR (Unicode's Common Locale Data Repository) database.
Integrating function to link timezone to country codes, there was no reason not
to try and provide translations also for the latter. In the near future, I - or
contributors - may also add currencies or measurement units fetched from the
CLDR database ...
WWW: https://github.com/tkhyn/l18n |