Fix self-conflict between different python versions of this package.

Bump PKGREVISION.
This commit is contained in:
wiz 2016-02-05 12:40:56 +00:00
parent 3d99b9b473
commit f15f52be2f
3 changed files with 11 additions and 4 deletions

View file

@ -0,0 +1 @@
bin/chardetect @PREFIX@/bin/chardetect-@PYVERSSUFFIX@

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.12 2014/10/12 14:52:36 wiz Exp $
# $NetBSD: Makefile,v 1.13 2016/02/05 12:40:56 wiz Exp $
DISTNAME= chardet-2.3.0
PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= converters python
MASTER_SITES= http://pypi.python.org/packages/source/c/chardet/
@ -10,7 +11,12 @@ HOMEPAGE= http://pypi.python.org/pypi/chardet
COMMENT= Character encoding auto-detection in Python
LICENSE= gnu-lgpl-v2.1
REPLACE_PYTHON= chardet/chardetect.py
REPLACE_PYTHON= chardet/chardetect.py
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/chardetect ${DESTDIR}${PREFIX}/bin/chardetect-${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"

View file

@ -1,5 +1,5 @@
@comment $NetBSD: PLIST,v 1.7 2014/01/02 17:55:40 wiz Exp $
bin/chardetect
@comment $NetBSD: PLIST,v 1.8 2016/02/05 12:40:56 wiz Exp $
bin/chardetect-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt