From 48a882d9b0070ac7882a67ff0fb104d401ac696a Mon Sep 17 00:00:00 2001 From: blue-devil Date: Thu, 20 Feb 2020 12:12:01 +0300 Subject: [PATCH] python-backports:first pisi rel. --- .../python/python-backports/actions.py | 15 +++++++ .../python/python-backports/files/__init__.py | 2 + .../python/python-backports/pspec.xml | 44 +++++++++++++++++++ .../python/python-backports/translations.xml | 8 ++++ 4 files changed, 69 insertions(+) create mode 100644 programming/language/python/python-backports/actions.py create mode 100644 programming/language/python/python-backports/files/__init__.py create mode 100644 programming/language/python/python-backports/pspec.xml create mode 100755 programming/language/python/python-backports/translations.xml diff --git a/programming/language/python/python-backports/actions.py b/programming/language/python/python-backports/actions.py new file mode 100644 index 0000000000..9b0069a368 --- /dev/null +++ b/programming/language/python/python-backports/actions.py @@ -0,0 +1,15 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools + +def build(): + shelltools.system("python -m compileall .") + +def install(): + pisitools.insinto("/usr/lib/python2.7/site-packages/backports/", "__init__.py") + pisitools.insinto("/usr/lib/python2.7/site-packages/backports/", "__init__.pyc") \ No newline at end of file diff --git a/programming/language/python/python-backports/files/__init__.py b/programming/language/python/python-backports/files/__init__.py new file mode 100644 index 0000000000..0bfb5a62b4 --- /dev/null +++ b/programming/language/python/python-backports/files/__init__.py @@ -0,0 +1,2 @@ +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) \ No newline at end of file diff --git a/programming/language/python/python-backports/pspec.xml b/programming/language/python/python-backports/pspec.xml new file mode 100644 index 0000000000..7347c194ae --- /dev/null +++ b/programming/language/python/python-backports/pspec.xml @@ -0,0 +1,44 @@ + + + + + python-backports + http://bitbucket.org/brandon/backports + + Blue Devil + bluedevil@sctzine.com + + programming.language.python + MIT + library + Namespace for backported Python features. + python-backports provides namespace for backported Python features. + https://bitbucket.org/brandon/backports/get/tip.tar.gz + + python-setuptools + python-devel + + + __init__.py + + + + + python-backports + Namespace for backported Python features + + /usr/share/doc/python-backports + /usr/lib/python2* + + + + + + 2020-02-17 + 1.0 + First pisi release. + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/language/python/python-backports/translations.xml b/programming/language/python/python-backports/translations.xml new file mode 100755 index 0000000000..f197c18e7c --- /dev/null +++ b/programming/language/python/python-backports/translations.xml @@ -0,0 +1,8 @@ + + + + python-backports + Geriye dönüklüğü olan python modülleri için alan adı. + python-backport, geriye dönüklüğü olan python modülleri için alan adı sağlar. + + \ No newline at end of file