diff options
author | nils <nils@pkgsrc.org> | 2016-05-16 14:20:56 +0000 |
---|---|---|
committer | nils <nils@pkgsrc.org> | 2016-05-16 14:20:56 +0000 |
commit | 97d86f2132981caf820128ee15598d126634dcde (patch) | |
tree | c992d8f777163c9450b7671406ab12914dcff79d | |
parent | b5cb25b45ab373f87d0e584ea7fac2bef8a99db6 (diff) | |
download | pkgsrc-97d86f2132981caf820128ee15598d126634dcde.tar.gz |
Initial import of py-binaryornot, version 0.4.0,
into the NetBSD Packages Collection.
Ultra-lightweight pure Python package to guess
whether a file is binary or text, using a heuristic
similar to Perl's pp_fttext and its analysis by @eliben.
-rw-r--r-- | devel/py-binaryornot/DESCR | 3 | ||||
-rw-r--r-- | devel/py-binaryornot/Makefile | 23 | ||||
-rw-r--r-- | devel/py-binaryornot/PLIST | 16 | ||||
-rw-r--r-- | devel/py-binaryornot/distinfo | 6 |
4 files changed, 48 insertions, 0 deletions
diff --git a/devel/py-binaryornot/DESCR b/devel/py-binaryornot/DESCR new file mode 100644 index 00000000000..f268819e003 --- /dev/null +++ b/devel/py-binaryornot/DESCR @@ -0,0 +1,3 @@ +Ultra-lightweight pure Python package to guess +whether a file is binary or text, using a heuristic +similar to Perl's pp_fttext and its analysis by @eliben. diff --git a/devel/py-binaryornot/Makefile b/devel/py-binaryornot/Makefile new file mode 100644 index 00000000000..4b140e6a976 --- /dev/null +++ b/devel/py-binaryornot/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2016/05/16 14:20:56 nils Exp $ + +DISTNAME= binaryornot-0.4.0 +GITHUB_PROJECT= binaryornot +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_GITHUB:=audreyr/} +EXTRACT_SUFX= .zip + +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} + +DEPENDS+= ${PYPKGPREFIX}-chardet>=2.0.0:../../converters/py-chardet + +WRKSRC= ${WRKDIR}/${DISTNAME} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-binaryornot/PLIST b/devel/py-binaryornot/PLIST new file mode 100644 index 00000000000..90953210f1d --- /dev/null +++ b/devel/py-binaryornot/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1 2016/05/16 14:20:56 nils Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.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 diff --git a/devel/py-binaryornot/distinfo b/devel/py-binaryornot/distinfo new file mode 100644 index 00000000000..389a770df9d --- /dev/null +++ b/devel/py-binaryornot/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/05/16 14:20:56 nils Exp $ + +SHA1 (binaryornot-0.4.0.zip) = a3259bf1815e66d2bfcddd144b799d9016a01bbc +RMD160 (binaryornot-0.4.0.zip) = 8c9c7673d30af5a6dcd79c7eec92e301020ee11b +SHA512 (binaryornot-0.4.0.zip) = d31fbe190cc041acaf02c2343672141d0b1a71a074171ad3601997ff2eaddfc6d4495660c0b48324d4d88f0c509f8657794e9f3ca806b206193037dfb0ebc1c2 +Size (binaryornot-0.4.0.zip) = 380964 bytes |