py-binaryornot: Update to version 0.4.0
authorGuillaume Delpierre <gde@llew.me>
Wed, 30 Sep 2015 14:04:56 +0000 (16:04 +0200)
committerGuillaume Delpierre <gde@llew.me>
Wed, 30 Sep 2015 14:18:21 +0000 (16:18 +0200)
Changes to 0.3.0

Enhanced detection for some binary streams and UTF texts. (#10, 11) Thanks @pombredanne.
Set up Appveyor for continuous testing on Windows. Thanks @pydanny.
Update link to Perl source implementation. (#9) Thanks @asmeurer @pombredanne @audreyr.
Handle UnicodeDecodeError in check. (#12) Thanks @DRMacIver.
Add very simple Hypothesis based tests. (#13) Thanks @DRMacIver.
Use setup to determine requirements and remove redundant requirements.txt. (#14) Thanks @hackebrot.
Add documentation status badge to README.rst. (#15) Thanks @hackebrot.
Run tox in travis.yml. Add pypy and Python 3.4 to tox enviroments. (#16) Thanks @hackebrot @pydanny.
Handle LookupError when detecting encoding. (#17) Thanks @DRMacIver.

py-binaryornot/Makefile
py-binaryornot/PLIST
py-binaryornot/distinfo

index c4039dd73234eac0fbe0898618e53ff5c46e6367..ba3394c8c7f6a8158540f8d9e10d7321de08c2e7 100644 (file)
@@ -1,18 +1,27 @@
-# $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"
index 375a048cc7f59f12d828bd475618277118728f58..bd56d76120f4da27f83042b07fa59566e2f00119 100644 (file)
@@ -1,15 +1,17 @@
-@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
index 7b95d87b9c7b6648a349bf2a3a69acaa8a944dd7..40dadd983bf179b9dcab416ff7abbe9259135201 100644 (file)
@@ -1,5 +1,5 @@
-$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