2022-01-05 16:40:56 +01:00
|
|
|
# $NetBSD: Makefile,v 1.29 2022/01/05 15:40:59 wiz Exp $
|
2008-10-08 11:38:46 +02:00
|
|
|
|
2021-01-04 12:53:14 +01:00
|
|
|
DISTNAME= chardet-4.0.0
|
2012-10-20 15:14:48 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2022-01-05 16:40:56 +01:00
|
|
|
PKGREVISION= 2
|
2008-10-08 11:38:46 +02:00
|
|
|
CATEGORIES= converters python
|
2016-06-08 19:43:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/}
|
2008-10-08 11:38:46 +02:00
|
|
|
|
2009-03-21 22:38:09 +01:00
|
|
|
MAINTAINER= bartosz.kuzma@gmail.com
|
2017-09-03 10:53:04 +02:00
|
|
|
HOMEPAGE= https://pypi.python.org/pypi/chardet
|
2008-10-08 11:38:46 +02:00
|
|
|
COMMENT= Character encoding auto-detection in Python
|
2009-07-11 07:52:17 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2008-10-08 11:38:46 +02:00
|
|
|
|
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
|
2016-02-05 13:40:56 +01:00
|
|
|
|
2020-10-06 12:51:21 +02:00
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= hypothesis:test
|
|
|
|
|
2022-01-05 16:40:56 +01:00
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
|
2016-02-05 13:40:56 +01:00
|
|
|
post-install:
|
2020-05-16 10:43:24 +02:00
|
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
|
|
${MV} chardetect chardetect-${PYVERSSUFFIX} || ${TRUE}
|
2014-01-02 18:55:40 +01:00
|
|
|
|
2012-10-20 15:14:48 +02:00
|
|
|
.include "../../lang/python/egg.mk"
|
2020-10-06 12:51:21 +02:00
|
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
2008-10-08 11:38:46 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|