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 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # 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 as py3, shelltools, get
from pisi.actionsapi import pythonmodules
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","3.0.0") shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION", "5.10.0")
def build(): def build():
pythonmodules.compile(pyVer="3") py3.run("-m build", pyVer = '3')
def install(): 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" ?> <?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> <PISI>
<Source> <Source>
<Name>python3-importlib_resources</Name> <Name>python3-importlib_resources</Name>
<Homepage>https://gitlab.com/python-devs/importlib_resources</Homepage> <Homepage>https://importlib-resources.readthedocs.io/</Homepage>
<Packager> <Packager>
<Name>Blue Devil</Name> <Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email> <Email>bluedevil@sctzine.com</Email>
@@ -12,11 +12,15 @@
<License>Apache</License> <License>Apache</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Design and implementation for a planned importlib.resources</Summary> <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> <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> <Archive sha1sum="a8c7a6a976fffb9841c548230cb633eda3111c4f" type="targz">
https://files.pythonhosted.org/packages/source/i/importlib_resources/importlib_resources-5.10.0.tar.gz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>pip3</Dependency>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-wheel</Dependency>
<Dependency>python3-installer</Dependency>
<Dependency>python3-setuptools</Dependency> <Dependency>python3-setuptools</Dependency>
<Dependency>python3-setuptools-scm</Dependency> <Dependency>python3-setuptools-scm</Dependency>
</BuildDependencies> </BuildDependencies>
@@ -27,14 +31,21 @@
<Summary>Design and implementation for a planned importlib.resources</Summary> <Summary>Design and implementation for a planned importlib.resources</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>python3</Dependency> <Dependency>python3</Dependency>
<Dependency>python3-zipp</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib/python3*</Path> <Path fileType="library">/usr/lib/python3.9</Path>
<Path fileType="doc">/usr/share/doc/python3-importlib_resources</Path>
</Files> </Files>
</Package> </Package>
<History> <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"> <Update release="5">
<Date>2021-10-28</Date> <Date>2021-10-28</Date>
<Version>3.0.0</Version> <Version>3.0.0</Version>