summaryrefslogtreecommitdiff
path: root/repo/python-webcolors
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-webcolors')
-rw-r--r--repo/python-webcolors/python-webcolors.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/python-webcolors/python-webcolors.xibuild b/repo/python-webcolors/python-webcolors.xibuild
new file mode 100644
index 0000000..f19886a
--- /dev/null
+++ b/repo/python-webcolors/python-webcolors.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python-pygments"
+
+PKG_VER=1.12
+SOURCE=https://files.pythonhosted.org/packages/source/w/webcolors/webcolors-$PKG_VER.tar.gz
+MAKEDEPS="python"
+DESC="A library for working with color names and color values formats defined by HTML and CSS."
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}