python-backports:first pisi rel.

This commit is contained in:
blue-devil
2020-02-20 12:12:01 +03:00
parent 9f32148812
commit 48a882d9b0
4 changed files with 69 additions and 0 deletions
@@ -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")