python3-setuptools-rust new package

This commit is contained in:
Rmys
2023-03-31 16:11:42 +03:00
parent c768a03950
commit 4e3fac15ae
7 changed files with 594 additions and 122 deletions
@@ -0,0 +1,16 @@
#!/usr/bin/env 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 pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
# pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")
@@ -0,0 +1,51 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-setuptools-rust</Name>
<Homepage>https://github.com/PyO3/setuptools-rust</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>app</IsA>
<Summary>Compile and distribute Python extensions written in rust as easily as if they were written in C.</Summary>
<Icon>python3-setuptools-rust</Icon>
<Description>Compile and distribute Python extensions written in rust as easily as if they were written in C.</Description>
<Archive sha1sum="43dd8568648e2c6e6e848ae1bb8d9aea203c34e3" type="targz">https://github.com/PyO3/setuptools-rust/archive/refs/tags/v1.5.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>rust</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>python3-setuptools-rust.patch</Patch>
<Patch level="1">python3-setuptools-rust.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>python3-setuptools-rust</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-03-31</Date>
<Version>1.5.2</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-setuptools-rust</Name>
<Summary xml:lang="tr">Compile and distribute Python extensions written in rust as easily as if they were written in C.</Summary>
<Description xml:lang="tr">Compile and distribute Python extensions written in rust as easily as if they were written in C.</Description>
</Source>
</PISI>