python-wheel: first pisi rel dep of protobuf

This commit is contained in:
blue-devil
2020-08-30 00:31:49 +02:00
parent 5988988991
commit 685a608daa
3 changed files with 70 additions and 0 deletions
@@ -0,0 +1,17 @@
#!/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 pisitools
from pisi.actionsapi import pythonmodules
def build():
pythonmodules.compile()
def install():
pythonmodules.install()
# rename binary "wheel"
pisitools.rename("/usr/bin/wheel", "wheel-py2")