[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / translate-toolkit

File: [cvs.NetBSD.org] / pkgsrc / textproc / translate-toolkit / Makefile (download)

Revision 1.3, Fri Jul 10 07:05:21 2020 UTC (2 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
Changes since 1.2: +18 -11 lines

translate-toolkit: updated to 3.0.0

Translate Toolkit 3.0.0

Formats and Converters
----------------------
- PO
    - Bring line wrapping closer to gettext

- XLIFF
    - Support non numeric ids on plurals in poxliff

- JSON
    - Added support for ARB files
    - Added support for go-i18n files

- Properties
    - Added support for GWT personality
    - Fix round trip of empty values without delimiter

- HTML
    - A makeover of the HTML parsing to fix several issues

- PHP
    - Add support for Laravel plurals
    - Improve round trip of some statements

- Windows RC
    - Rewritten parser using pyparsing

- l20n
    - Dropped support for deprecated format

General
-------
- Dropped support for Python 2.7.
- Python 3.5 or newer is now required.
- Minor docs improvements.
- Several cleanups in code.
- Removed deprecated interfaces:
    - multistring no longer accepts encoding
    - search.segment is removed
    - pofile.extractpoline is removed
    - simplify_to_common no longer accepts languages parameter
    - getsource/setsource/gettarget/settarget methods removed from storages
- Updated requirements, lxml is no longer optional.
- Added and updated tests.
- Optional deps can be specified using pip extras.

# $NetBSD: Makefile,v 1.3 2020/07/10 07:05:21 adam Exp $

DISTNAME=	translate-toolkit-3.0.0
CATEGORIES=	textproc python
MASTER_SITES=	${MASTER_SITE_PYPI:=t/translate-toolkit/}

MAINTAINER=	rillig@NetBSD.org
HOMEPAGE=	https://github.com/translate/translate
COMMENT=	Tools for working with translation files
LICENSE=	gnu-gpl-v2

DEPENDS+=	${PYPKGPREFIX}-lxml>=4.3.2:../../textproc/py-lxml

USE_LANGUAGES=	# none
USE_TOOLS+=	bash:run

REPLACE_BASH+=	tools/mozilla/build_firefox.sh
REPLACE_BASH+=	tools/junitmsgfmt
REPLACE_BASH+=	tools/posplit
REPLACE_BASH+=	tools/pomigrate2
REPLACE_BASH+=	tools/pocompendium
REPLACE_BASH+=	tools/pocommentclean
REPLACE_BASH+=	tools/poreencode
REPLACE_BASH+=	tools/popuretext

PYTHON_VERSIONS_INCOMPATIBLE=	27

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"