pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-binaryornot: Update to version 0.4.0



Module Name:	pkgsrc-wip
Committed By:	Guillaume Delpierre <gde%llew.me@localhost>
Pushed By:	gdelpierre
Date:		Wed Sep 30 16:04:56 2015 +0200
Changeset:	95d015f2f1a471b72d7278a7db387b2a809b6fb9

Modified Files:
	py-binaryornot/Makefile
	py-binaryornot/PLIST
	py-binaryornot/distinfo

Log Message:
py-binaryornot: Update to version 0.4.0

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=95d015f2f1a471b72d7278a7db387b2a809b6fb9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-binaryornot/Makefile | 29 +++++++++++++++++++----------
 py-binaryornot/PLIST    | 14 ++++++++------
 py-binaryornot/distinfo |  8 ++++----
 3 files changed, 31 insertions(+), 20 deletions(-)

diffs:
diff --git a/py-binaryornot/Makefile b/py-binaryornot/Makefile
index c4039dd..ba3394c 100644
--- a/py-binaryornot/Makefile
+++ b/py-binaryornot/Makefile
@@ -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@localhost
-HOMEPAGE=	https://github.com/audreyr/binaryornot/
-COMMENT=	Guess whether a file is binary or text
-LICENSE=	modified-bsd
+MAINTAINER=			gde%llew.me@localhost
+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"
diff --git a/py-binaryornot/PLIST b/py-binaryornot/PLIST
index 375a048..bd56d76 100644
--- a/py-binaryornot/PLIST
+++ b/py-binaryornot/PLIST
@@ -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
diff --git a/py-binaryornot/distinfo b/py-binaryornot/distinfo
index 7b95d87..40dadd9 100644
--- a/py-binaryornot/distinfo
+++ b/py-binaryornot/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index