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")
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-wheel</Name>
<Homepage>https://github.com/pypa/wheel</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.python</PartOf>
<License>MIT</License>
<IsA>library</IsA>
<Summary>The official binary distribution format for Python.</Summary>
<Description>This library is the reference implementation of the Python wheel packaging standard, as defined in PEP 427.</Description>
<Archive sha1sum="0a1fec90e692f05b00e82cf78559408e7e15c1de" type="targz">https://github.com/pypa/wheel/archive/0.35.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>python-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python-wheel</Name>
<Summary>The official binary distribution format for Python.</Summary>
<RuntimeDependencies>
<Dependency>python-setuptools</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python2*</Path>
<Path fileType="executable">/usr/bin/wheel-py2</Path>
<Path fileType="doc">/usr/share/doc/python-wheel</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-08-30</Date>
<Version>0.35.1</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-wheel</Name>
<Summary xml:lang="tr">Python için resmi ikilik dosya dağıtım biçimi</Summary>
<Description xml:lang="tr">python3-wheel, PEP427'de tanımlanan Python için "wheel" paketleme standardı uygulamasıdır.</Description>
</Source>
</PISI>