-# $NetBSD: Makefile,v 1.1 2015/06/16 08:29:23 ahp-nils Exp $
+# $NetBSD$
-DISTNAME= binaryornot-0.3.0
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel
-MASTER_SITES= -https://github.com/audreyr/binaryornot/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
-EXTRACT_SUFX= .zip
+DISTNAME= binaryornot-0.4.0
+GITHUB_PROJECT= binaryornot
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=audreyr/}
+EXTRACT_SUFX= .zip
-MAINTAINER= nils@NetBSD.org
-HOMEPAGE= https://github.com/audreyr/binaryornot/
-COMMENT= Guess whether a file is binary or text
-LICENSE= modified-bsd
+MAINTAINER= gde@llew.me
+HOMEPAGE= ${MASTER_SITE_GITHUB:=audreyr/binaryornot/}
+COMMENT= Guess whether a file is binary or text
+LICENSE= modified-bsd
USE_LANGUAGES= #none
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+BUILD_DEPENDS+= ${PYPKGPREFIX}-chardet>=2.0.0:../../wip/py-chardet
+
+USE_LANGUAGES= #none
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+PYTHON_VERSIONS_ACCEPTED= 34 33 27 26
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
-@comment $NetBSD: PLIST,v 1.1 2015/06/16 08:29:23 ahp-nils Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+@comment $NetBSD$
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/binaryornot/__init__.py
-${PYSITELIB}/binaryornot/__init__.pyc
-${PYSITELIB}/binaryornot/__init__.pyo
${PYSITELIB}/binaryornot/check.py
${PYSITELIB}/binaryornot/check.pyc
${PYSITELIB}/binaryornot/check.pyo
${PYSITELIB}/binaryornot/helpers.py
${PYSITELIB}/binaryornot/helpers.pyc
${PYSITELIB}/binaryornot/helpers.pyo
+${PYSITELIB}/binaryornot/__init__.py
+${PYSITELIB}/binaryornot/__init__.pyc
+${PYSITELIB}/binaryornot/__init__.pyo
-$NetBSD: distinfo,v 1.1 2015/06/16 08:29:23 ahp-nils Exp $
+$NetBSD$
-SHA1 (binaryornot-0.3.0.zip) = 38810b7c243624844d8ac2cd5a7315006aa7ff2b
-RMD160 (binaryornot-0.3.0.zip) = bb611a6868950b8a0dee303b9eb4e03d42cf1cda
-Size (binaryornot-0.3.0.zip) = 222481 bytes
+SHA1 (binaryornot-0.4.0.zip) = a3259bf1815e66d2bfcddd144b799d9016a01bbc
+RMD160 (binaryornot-0.4.0.zip) = 8c9c7673d30af5a6dcd79c7eec92e301020ee11b
+Size (binaryornot-0.4.0.zip) = 380964 bytes