python3-importlib_metadata.

This commit is contained in:
4fury-c3440d8
2022-11-14 04:21:40 +03:00
parent 8782b472ff
commit b128b1c8fb
3 changed files with 23 additions and 11 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, shelltools, get
from pisi.actionsapi import pythonmodules
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","2.0.0") shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION", "5.0.0")
def build(): def build():
pythonmodules.compile(pyVer="3") pythonmodules.run("-m build --no-isolation --skip-dependency-check --wheel", pyVer = '3')
def install(): def install():
pythonmodules.install(pyVer="3") pythonmodules.run("-m installer -d %s dist/importlib_metadata-5.0.0-py3-none-any.whl" % get.installDIR(), pyVer = '3')
@@ -1,5 +1,5 @@
<?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_metadata</Name> <Name>python3-importlib_metadata</Name>
@@ -9,15 +9,21 @@
<Email>bluedevil@sctzine.com</Email> <Email>bluedevil@sctzine.com</Email>
</Packager> </Packager>
<PartOf>programming.language.python3</PartOf> <PartOf>programming.language.python3</PartOf>
<License>MIT</License> <License>Apache-2.0</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>importlib_metadata is a library to access the metadata for a Python package.</Summary> <Summary>importlib_metadata is a library to access the metadata for a Python package.</Summary>
<Description>importlib_metadata is a library to access the metadata for a Python package.</Description> <Description>importlib_metadata is a library to access the metadata for a Python package.</Description>
<Archive sha1sum="f6ab411433c6cec84e086038add65d8be92df1a8" type="targz">https://gitlab.com/python-devs/importlib_metadata/-/archive/v2.0.0/importlib_metadata-v2.0.0.tar.gz</Archive> <Archive sha1sum="38794db2afb90ed0be04bd8b5996a5b5fd45acc2" type="targz">
https://files.pythonhosted.org/packages/source/i/importlib_metadata/importlib_metadata-5.0.0.tar.gz
</Archive>
<BuildDependencies> <BuildDependencies>
<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>
<Dependency versionFrom="2.0.0">python3-importlib_metadata</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -29,12 +35,19 @@
<Dependency>python3-zipp</Dependency> <Dependency>python3-zipp</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib/python3*</Path> <Path fileType="data">/usr/lib/python3.9</Path>
<Path fileType="doc">/usr/share/doc/python3-importlib_metadata</Path> <!-- <Path fileType="doc">/usr/share/doc/python3-importlib_metadata</Path> -->
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="7">
<Date>2022-11-13</Date>
<Version>5.0.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="6"> <Update release="6">
<Date>2021-10-22</Date> <Date>2021-10-22</Date>
<Version>2.0.0</Version> <Version>2.0.0</Version>