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 -*-
#
# 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, shelltools, get
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","2.0.0")
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION", "5.0.0")
def build():
pythonmodules.compile(pyVer="3")
pythonmodules.run("-m build --no-isolation --skip-dependency-check --wheel", pyVer = '3')
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" ?>
<!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_metadata</Name>
@@ -9,15 +9,21 @@
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>MIT</License>
<License>Apache-2.0</License>
<IsA>library</IsA>
<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>
<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>
<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>
<Dependency versionFrom="2.0.0">python3-importlib_metadata</Dependency>
</BuildDependencies>
</Source>
@@ -29,12 +35,19 @@
<Dependency>python3-zipp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-importlib_metadata</Path>
<Path fileType="data">/usr/lib/python3.9</Path>
<!-- <Path fileType="doc">/usr/share/doc/python3-importlib_metadata</Path> -->
</Files>
</Package>
<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">
<Date>2021-10-22</Date>
<Version>2.0.0</Version>