pkgsrc/textproc/py-Unidecode/Makefile
adam 8793ca404f py-Unidecode: updated to 1.2.0
unidecode 1.2.0
* Add 'errors' argument that specifies how characters with unknown
  replacements are handled. Default is 'ignore' to replicate the
  behavior of older versions.
* Many characters that were previously replaced with '[?]' are now
  correctly marked as unknown and will behave as specified in the
  new errors='...' argument.
* Added some missing ligatures and quotation marks in U+1F6xx and
  U+27xx ranges.
* Add PEP 561-style type information (thanks to Pascal Corpet)
* Support for Python 2 and 3.5 to be removed in next release.
2021-02-05 19:28:06 +00:00

20 lines
541 B
Makefile

# $NetBSD: Makefile,v 1.12 2021/02/05 19:28:06 adam Exp $
DISTNAME= Unidecode-1.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=U/Unidecode/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/avian2/unidecode
COMMENT= ASCII transliterations of Unicode text
LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} unidecode unidecode-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"