python3-importlib_resources.

This commit is contained in:
4fury-c3440d8
2022-11-14 05:08:49 +03:00
parent 83efbaa513
commit f803e0565f
2 changed files with 23 additions and 13 deletions
@@ -2,15 +2,14 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pythonmodules as py3, shelltools, get
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","3.0.0")
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION", "5.10.0")
def build():
pythonmodules.compile(pyVer="3")
py3.run("-m build", pyVer = '3')
def install():
pythonmodules.install(pyVer="3")
py3.run("-m installer -d %s dist/importlib_resources-5.10.0-py3-none-any.whl" % get.installDIR(), pyVer = '3')
@@ -1,9 +1,9 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-importlib_resources</Name>
<Homepage>https://gitlab.com/python-devs/importlib_resources</Homepage>
<Homepage>https://importlib-resources.readthedocs.io/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
@@ -12,11 +12,15 @@
<License>Apache</License>
<IsA>library</IsA>
<Summary>Design and implementation for a planned importlib.resources</Summary>
<Description>The key goal of this module is to replace parts of pkg_resources with a solution in Python's stdlib that relies on well-defined APIs. This makes reading resources included in packages easier, with more stable and consistent semantics.</Description>
<Archive sha1sum="01d216bf62bbcb3d165e747d263d69732514272b" type="targz">https://gitlab.com/python-devs/importlib_resources/-/archive/v3.0.0/importlib_resources-v3.0.0.tar.gz</Archive>
<Description>The key goal of this module is to replace parts of pkg_resources with a solution in Python's stdlib that relies on well-defined APIs. This makes reading resources included in packages easier, with more stable and consistent semantics.</Description>
<Archive sha1sum="a8c7a6a976fffb9841c548230cb633eda3111c4f" type="targz">
https://files.pythonhosted.org/packages/source/i/importlib_resources/importlib_resources-5.10.0.tar.gz
</Archive>
<BuildDependencies>
<Dependency>pip3</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-wheel</Dependency>
<Dependency>python3-installer</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-setuptools-scm</Dependency>
</BuildDependencies>
@@ -27,14 +31,21 @@
<Summary>Design and implementation for a planned importlib.resources</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
<Dependency>python3-zipp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-importlib_resources</Path>
<Path fileType="library">/usr/lib/python3.9</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2022-11-14</Date>
<Version>5.10.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="5">
<Date>2021-10-28</Date>
<Version>3.0.0</Version>