summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:44:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:44:25 +0000
commite927ab897037ab486de19a41d69341c404e65c86 (patch)
treeb8cd461142cd094a8fcbd62852aef36b82588a5a
parente5fbaea8030032910c5a2cf1d048ff22495824a8 (diff)
automatic import of python-elmclient
-rw-r--r--.gitignore1
-rw-r--r--python-elmclient.spec103
-rw-r--r--sources1
3 files changed, 105 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..be161ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/elmclient-0.19.0.tar.gz
diff --git a/python-elmclient.spec b/python-elmclient.spec
new file mode 100644
index 0000000..30ddb61
--- /dev/null
+++ b/python-elmclient.spec
@@ -0,0 +1,103 @@
+%global _empty_manifest_terminate_build 0
+Name: python-elmclient
+Version: 0.19.0
+Release: 1
+Summary: Python client for ELM with examples of OSLC Query, ReqIF import/export, Reportable REST, and more
+License: MIT
+URL: https://github.com/IBM/ELM-Python-Client
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b4/6c/e6da302a97ddc07551220ccde3adf00c35244e4b7fcf0f1d5edefb2c3b10/elmclient-0.19.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-CacheControl
+Requires: python3-anytree
+Requires: python3-colorama
+Requires: python3-cryptography
+Requires: python3-lark-parser
+Requires: python3-lockfile
+Requires: python3-lxml
+Requires: python3-openpyxl
+Requires: python3-dateutil
+Requires: python3-pytz
+Requires: python3-requests
+Requires: python3-requests-toolbelt
+Requires: python3-tqdm
+Requires: python3-urllib3
+Requires: python3-bump2version
+Requires: python3-twine
+
+%description
+0.19.0 4-May-2023
+* Deprecated RM load_folders() - use find_folder() instead.
+* Added RM create_folder() - this doesn't require doing a forced reload of all folders, because it inserts the new folder into the internal info about folders
+* Added example dn_simple_createfolderpath.py - allows exercising the create_folders() function
+* Added rm-only implementation of create/deliver changeset NOTE these aren't fully finished, specifically hte delivery result may not be obvious(!)
+* Added example dn_simple_typesystemimport_cs.py which shows creating/delivering a changeset around typesystem import
+
+%package -n python3-elmclient
+Summary: Python client for ELM with examples of OSLC Query, ReqIF import/export, Reportable REST, and more
+Provides: python-elmclient
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-elmclient
+0.19.0 4-May-2023
+* Deprecated RM load_folders() - use find_folder() instead.
+* Added RM create_folder() - this doesn't require doing a forced reload of all folders, because it inserts the new folder into the internal info about folders
+* Added example dn_simple_createfolderpath.py - allows exercising the create_folders() function
+* Added rm-only implementation of create/deliver changeset NOTE these aren't fully finished, specifically hte delivery result may not be obvious(!)
+* Added example dn_simple_typesystemimport_cs.py which shows creating/delivering a changeset around typesystem import
+
+%package help
+Summary: Development documents and examples for elmclient
+Provides: python3-elmclient-doc
+%description help
+0.19.0 4-May-2023
+* Deprecated RM load_folders() - use find_folder() instead.
+* Added RM create_folder() - this doesn't require doing a forced reload of all folders, because it inserts the new folder into the internal info about folders
+* Added example dn_simple_createfolderpath.py - allows exercising the create_folders() function
+* Added rm-only implementation of create/deliver changeset NOTE these aren't fully finished, specifically hte delivery result may not be obvious(!)
+* Added example dn_simple_typesystemimport_cs.py which shows creating/delivering a changeset around typesystem import
+
+%prep
+%autosetup -n elmclient-0.19.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+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
+fi
+if [ -d usr/lib64 ]; then
+ 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
+fi
+if [ -d usr/sbin ]; then
+ 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
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-elmclient -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.19.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a2074ca
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+401fcdbb6d3143d16b3c26e9bc5f7bfa elmclient-0.19.0.tar.gz