From 37a348250bfe300e841761ac1bbef4b3d62cde29 Mon Sep 17 00:00:00 2001 From: alihanozturk Date: Fri, 4 Dec 2015 18:09:22 +0200 Subject: [PATCH] python-virtualenv:first release --- .../python/python-virtualenv/actions.py | 19 ++++++++ .../python/python-virtualenv/pspec.xml | 43 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 programming/language/python/python-virtualenv/actions.py create mode 100644 programming/language/python/python-virtualenv/pspec.xml diff --git a/programming/language/python/python-virtualenv/actions.py b/programming/language/python/python-virtualenv/actions.py new file mode 100644 index 0000000000..e50d031303 --- /dev/null +++ b/programming/language/python/python-virtualenv/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools + +def build(): + shelltools.export("PYTHON", "/usr/bin/python2.7") + shelltools.system("sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' virtualenv.py") + pythonmodules.compile(pyVer="2.7") + +def install(): + shelltools.export("PYTHON", "/usr/bin/python2.7") + pythonmodules.install(pyVer="2.7") + + pisitools.dodoc("LICENSE*", "AUTHORS*", "README*") \ No newline at end of file diff --git a/programming/language/python/python-virtualenv/pspec.xml b/programming/language/python/python-virtualenv/pspec.xml new file mode 100644 index 0000000000..db8d0c8de5 --- /dev/null +++ b/programming/language/python/python-virtualenv/pspec.xml @@ -0,0 +1,43 @@ + + + + + python-virtualenv + https://virtualenv.pypa.io/ + + Alihan Öztürk + alihan@pisilinux.org + + MIT + library + Virtual Python Environment builder + Virtual Python Environment builder + https://pypi.python.org/packages/source/v/virtualenv/virtualenv-13.1.2.tar.gz + + python-devel + + + + + python-virtualenv + + python + + Virtual Python Environment builder + + /usr/bin + /usr/share/doc + /usr/lib/python2.7 + + + + + + 2015-12-04 + 13.1.2 + First Release + Alihan Öztürk + alihan@pisilinux.org + + + \ No newline at end of file