diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 11:38:01 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 11:38:01 +0000 |
commit | aef914185421b5ddbf9f9feb7eb69ba54fbd4675 (patch) | |
tree | b65819c1fd42df636cd199d78912bc57153d437d | |
parent | b06f4a094152b41252a4585dfd64875ecbaf6e69 (diff) |
automatic import of python-dsp-toolsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-dsp-tools.spec | 94 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 49 insertions, 48 deletions
@@ -1 +1,2 @@ /dsp_tools-2.2.2.tar.gz +/dsp_tools-2.3.2.tar.gz diff --git a/python-dsp-tools.spec b/python-dsp-tools.spec index 710a905..7af3915 100644 --- a/python-dsp-tools.spec +++ b/python-dsp-tools.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-dsp-tools -Version: 2.2.2 +Version: 2.3.2 Release: 1 Summary: DSP-TOOLS is a Python package with a command line interface that helps you interact with a DaSCH service platform (DSP) server. License: GPL-3.0-only URL: https://www.dasch.swiss/ -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2b/9b/26844ba5504db8e80a86f29cc1982467c76b432854b0b0597b3e67fc4c01/dsp_tools-2.2.2.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/f6/2d/39550eff6977e738e4d18f5466ea32e1b5d0d3e62f778a41f24843766533/dsp_tools-2.3.2.tar.gz BuildArch: noarch Requires: python3-jsonpath-ng @@ -15,9 +15,9 @@ Requires: python3-requests Requires: python3-jsonschema Requires: python3-openpyxl Requires: python3-networkx -Requires: python3-pandas -Requires: python3-xlrd +Requires: python3-pandas[excel] Requires: python3-regex +Requires: python3-docker %description [](https://badge.fury.io/py/dsp-tools) @@ -71,18 +71,18 @@ DSP-TOOLS provides the following functionalities: and writes the mapping from internal IDs to IRIs into a local file. - [`dsp-tools excel2json`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2json) creates an entire JSON project file from a folder with Excel files in it. - - [`dsp-tools excel2lists`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2lists) - creates the "lists" section of a JSON project file from one or several Excel files. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. - - [`dsp-tools excel2resources`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2resources) - creates the "resources" section of a JSON project file from an Excel file. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. - - [`dsp-tools excel2properties`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2properties) - creates the "properties" section of a JSON project file from an Excel file. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2lists`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2lists) + creates the "lists" section of a JSON project file from one or several Excel files. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2resources`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2resources) + creates the "resources" section of a JSON project file from an Excel file. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2properties`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2properties) + creates the "properties" section of a JSON project file from an Excel file. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. - [`dsp-tools excel2xml`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2xml) transforms a data source to XML if it is already structured according to the DSP specifications. @@ -159,18 +159,18 @@ DSP-TOOLS provides the following functionalities: and writes the mapping from internal IDs to IRIs into a local file. - [`dsp-tools excel2json`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2json) creates an entire JSON project file from a folder with Excel files in it. - - [`dsp-tools excel2lists`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2lists) - creates the "lists" section of a JSON project file from one or several Excel files. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. - - [`dsp-tools excel2resources`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2resources) - creates the "resources" section of a JSON project file from an Excel file. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. - - [`dsp-tools excel2properties`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2properties) - creates the "properties" section of a JSON project file from an Excel file. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2lists`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2lists) + creates the "lists" section of a JSON project file from one or several Excel files. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2resources`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2resources) + creates the "resources" section of a JSON project file from an Excel file. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2properties`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2properties) + creates the "properties" section of a JSON project file from an Excel file. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. - [`dsp-tools excel2xml`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2xml) transforms a data source to XML if it is already structured according to the DSP specifications. @@ -244,18 +244,18 @@ DSP-TOOLS provides the following functionalities: and writes the mapping from internal IDs to IRIs into a local file. - [`dsp-tools excel2json`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2json) creates an entire JSON project file from a folder with Excel files in it. - - [`dsp-tools excel2lists`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2lists) - creates the "lists" section of a JSON project file from one or several Excel files. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. - - [`dsp-tools excel2resources`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2resources) - creates the "resources" section of a JSON project file from an Excel file. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. - - [`dsp-tools excel2properties`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2properties) - creates the "properties" section of a JSON project file from an Excel file. - The resulting section can be integrated into a JSON project file - and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2lists`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2lists) + creates the "lists" section of a JSON project file from one or several Excel files. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2resources`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2resources) + creates the "resources" section of a JSON project file from an Excel file. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. + - [`dsp-tools excel2properties`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2properties) + creates the "properties" section of a JSON project file from an Excel file. + The resulting section can be integrated into a JSON project file + and then be uploaded to a DSP server with `dsp-tools create`. - [`dsp-tools excel2xml`](https://docs.dasch.swiss/latest/DSP-TOOLS/cli-commands/#excel2xml) transforms a data source to XML if it is already structured according to the DSP specifications. @@ -275,7 +275,7 @@ DSP-TOOLS provides the following functionalities: %prep -%autosetup -n dsp-tools-2.2.2 +%autosetup -n dsp_tools-2.3.2 %build %py3_build @@ -289,20 +289,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -315,5 +315,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.2-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.2-1 - Package Spec generated @@ -1 +1 @@ -b599d3d9e9d33ecd0947f6494179e39a dsp_tools-2.2.2.tar.gz +39f9dee03ef94ff94d8a4dccbf3268e0 dsp_tools-2.3.2.tar.gz |