Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 20:32:52 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331994 - in head/textproc: . py-charade
Message-ID:  <201310292032.r9TKWqsP024121@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Tue Oct 29 20:32:51 2013
New Revision: 331994
URL: http://svnweb.freebsd.org/changeset/ports/331994

Log:
  textproc/py-charade: Universal encoding detector for python 2 and 3
  
  Detects:
   - ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants)
   - Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN
     (Traditional and Simplified Chinese)
   - EUC-JP, SHIFT_JIS, ISO-2022-JP (Japanese)
   - EUC-KR, ISO-2022-KR (Korean)
   - KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic)
   - ISO-8859-2, windows-1250 (Hungarian)
   - ISO-8859-5, windows-1251 (Bulgarian)
   - windows-1252 (English)
   - ISO-8859-7, windows-1253 (Greek)
   - ISO-8859-8, windows-1255 (Visual and Logical Hebrew)
   - TIS-620 (Thai)
  
  WWW: https://github.com/sigmavirus24/charade/

Added:
  head/textproc/py-charade/
  head/textproc/py-charade/Makefile   (contents, props changed)
  head/textproc/py-charade/distinfo   (contents, props changed)
  head/textproc/py-charade/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Tue Oct 29 20:30:23 2013	(r331993)
+++ head/textproc/Makefile	Tue Oct 29 20:32:51 2013	(r331994)
@@ -1147,6 +1147,7 @@
     SUBDIR += py-MarkupSafe
     SUBDIR += py-Tempita
     SUBDIR += py-asv
+    SUBDIR += py-charade
     SUBDIR += py-chardet
     SUBDIR += py-creole
     SUBDIR += py-docutils

Added: head/textproc/py-charade/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-charade/Makefile	Tue Oct 29 20:32:51 2013	(r331994)
@@ -0,0 +1,25 @@
+# Created by: William Grzybowski <wg@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	charade
+PORTVERSION=	1.0.3
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	wg@FreeBSD.org
+COMMENT=	Universal encoding detector for python 2 and 3
+
+LICENSE=	LGPL3
+
+USE_PYTHON=	yes
+USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_AUTOPLIST=	yes
+
+NO_STAGE=	yes
+
+post-patch:
+	@${REINPLACE_CMD} 's/="LGPL",/="LGPL", zip_safe=False,/' \
+		${WRKSRC}/setup.py
+
+.include <bsd.port.mk>

Added: head/textproc/py-charade/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-charade/distinfo	Tue Oct 29 20:32:51 2013	(r331994)
@@ -0,0 +1,2 @@
+SHA256 (charade-1.0.3.tar.gz) = a607146d151005904f3fd8335e3dc89af214453f0d3a29580e1eb0e67e6c3d7f
+SIZE (charade-1.0.3.tar.gz) = 168537

Added: head/textproc/py-charade/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-charade/pkg-descr	Tue Oct 29 20:32:51 2013	(r331994)
@@ -0,0 +1,17 @@
+Charade: The Universal character encoding detector
+
+Detects:
+ - ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants)
+ - Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN
+   (Traditional and Simplified Chinese)
+ - EUC-JP, SHIFT_JIS, ISO-2022-JP (Japanese)
+ - EUC-KR, ISO-2022-KR (Korean)
+ - KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic)
+ - ISO-8859-2, windows-1250 (Hungarian)
+ - ISO-8859-5, windows-1251 (Bulgarian)
+ - windows-1252 (English)
+ - ISO-8859-7, windows-1253 (Greek)
+ - ISO-8859-8, windows-1255 (Visual and Logical Hebrew)
+ - TIS-620 (Thai)
+
+WWW: https://github.com/sigmavirus24/charade/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310292032.r9TKWqsP024121>