python3 tomli.pep517.build

This commit is contained in:
Rmys
2022-07-02 15:25:37 +03:00
committed by ayhanyalcinsoy
parent c6279a848b
commit 292eb3f05f
13 changed files with 367 additions and 2 deletions
@@ -0,0 +1,19 @@
#!/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
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
shelltools.system("python3 -m build -wn")
def install():
shelltools.system("PIP_CONFIG_FILE=/dev/null pip3 install --isolated --root=%s --ignore-installed --no-deps dist/*.whl" % get.installDIR())
pisitools.dodoc("LICENSE", "README*")
@@ -0,0 +1,52 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-tomli</Name>
<Homepage>https://pypi.org/project/tomli/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>app</IsA>
<Summary>A lil' TOML parser</Summary>
<Description>A lil' TOML parser</Description>
<Archive sha1sum="234c9caf7ba15e7892a0ae3ed1f0381d9fb5e61c" type="targz">https://github.com/hukkin/tomli/archive/refs/tags/2.0.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>pip3</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-flit-core</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>python3-tomli.patch</Patch>
<Patch level="1">python3-tomli.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>python3-tomli</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-06-25</Date>
<Version>2.0.1</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-tomli</Name>
<Summary xml:lang="tr">A lil' TOML parser</Summary>
<Description xml:lang="tr">A lil' TOML parser</Description>
</Source>
</PISI>