[150521] trunk/dports/python
sean at macports.org
sean at macports.org
Wed Jul 20 13:38:42 PDT 2016
Revision: 150521
https://trac.macports.org/changeset/150521
Author: sean at macports.org
Date: 2016-07-20 13:38:42 -0700 (Wed, 20 Jul 2016)
Log Message:
-----------
py-cchardet: add version of chardet that binds to c
Added Paths:
-----------
trunk/dports/python/py-cchardet/
trunk/dports/python/py-cchardet/Portfile
Added: trunk/dports/python/py-cchardet/Portfile
===================================================================
--- trunk/dports/python/py-cchardet/Portfile (rev 0)
+++ trunk/dports/python/py-cchardet/Portfile 2016-07-20 20:38:42 UTC (rev 150521)
@@ -0,0 +1,36 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+set realname cchardet
+
+name py-${realname}
+version 1.0.0
+categories-append devel textproc
+license MIT
+platforms darwin
+supported_archs noarch
+maintainers nomaintainer
+description cChardet is high speed universal character encoding detector.
+long_description ${description}
+
+homepage https://pypi.python.org/pypi/${realname}/
+master_sites pypi:[string index ${realname} 0]/${realname}
+distname ${realname}-${version}
+
+checksums rmd160 008854344e638db961b2eedc08d427c4ba722b5c \
+ sha256 98e6dc7ca225abfa7e559a6450404aeb2f5bea0713afd6dd492c1a51cec57e63
+
+python.versions 27 34 35
+
+if {${name} ne ${subport}} {
+ depends_build-append \
+ port:py${python.version}-setuptools
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.regex [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}]
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160720/0685fb97/attachment.html>
More information about the macports-changes
mailing list