From the changelog: * Fix tests failing on PyPy 7.1.1 * Add more Latin letter variants in U+1F1xx page. * Make it possible to use the Unidecode command-line utility via "python -m unidecode" (thanks to Jon Dufresne) * General clean up of code and documentation (thanks to Jon Dufresne) Moved package to PERMIT_PACKAGE and removed now-extraneous setting of LC_CTYPE (lang/python module does that now by default). OK sthen@
28 lines
508 B
Makefile
28 lines
508 B
Makefile
# $OpenBSD: Makefile,v 1.14 2019/07/04 20:53:31 kmos Exp $
|
|
|
|
COMMENT = US-ASCII transliterations of Unicode text
|
|
|
|
MODPY_EGG_VERSION = 1.1.1
|
|
DISTNAME = Unidecode-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME:L}
|
|
|
|
CATEGORIES = textproc devel
|
|
|
|
HOMEPAGE = https://pypi.python.org/pypi/Unidecode
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
post-install:
|
|
mv ${PREFIX}/bin/unidecode{,${MODPY_BIN_SUFFIX}}
|
|
|
|
.include <bsd.port.mk>
|