pkgsrc/converters/py-chardet/Makefile

28 lines
803 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.29 2022/01/05 15:40:59 wiz Exp $
DISTNAME= chardet-4.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= converters python
2016-06-08 19:43:20 +02:00
MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/}
MAINTAINER= bartosz.kuzma@gmail.com
2017-09-03 10:53:04 +02:00
HOMEPAGE= https://pypi.python.org/pypi/chardet
COMMENT= Character encoding auto-detection in Python
LICENSE= gnu-lgpl-v2.1
2018-08-21 00:36:20 +02:00
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py
PYTHON_VERSIONED_DEPENDENCIES= hypothesis:test
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} chardetect chardetect-${PYVERSSUFFIX} || ${TRUE}
2014-01-02 18:55:40 +01:00
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"