summaryrefslogtreecommitdiff
path: root/repo/python-charset-normalizer/python-charset-normalizer.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-charset-normalizer/python-charset-normalizer.xibuild')
-rw-r--r--repo/python-charset-normalizer/python-charset-normalizer.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/python-charset-normalizer/python-charset-normalizer.xibuild b/repo/python-charset-normalizer/python-charset-normalizer.xibuild
new file mode 100644
index 0000000..94cc7ea
--- /dev/null
+++ b/repo/python-charset-normalizer/python-charset-normalizer.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python-unicodedata2"
+
+PKG_VER=2.1.0
+SOURCE=https://files.pythonhosted.org/packages/source/c/charset-normalizer/charset-normalizer-$PKG_VER.tar.gz
+MAKEDEPS="python"
+DESC="The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}