blob: 9121e630681df67d7537e8b0c0f8d5b033370039 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: Makefile,v 1.20 2017/06/08 19:06:51 adam Exp $
DISTNAME= chardet-3.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= converters python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/}
MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= http://pypi.python.org/pypi/chardet
COMMENT= Character encoding auto-detection in Python
LICENSE= gnu-lgpl-v2.1
# TEST_DEPENDS; however, no tests found
# https://github.com/chardet/chardet/issues/120
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
BUILD_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
BUILD_DEPENDS+= ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/chardetect ${DESTDIR}${PREFIX}/bin/chardetect-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|