summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 11:44:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 11:44:47 +0000
commit43ba2aca81e02272ea4cfdb385a0b7d2e6fd6e17 (patch)
treed696bb4d89cb140aa02e33552ecc880a7ff403e6
parent54da547b5c168a1080e27fd41d8a81ea821500d5 (diff)
automatic import of python-helpdev
-rw-r--r--.gitignore1
-rw-r--r--python-helpdev.spec206
-rw-r--r--sources1
3 files changed, 208 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7b33b5b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/helpdev-0.7.1.tar.gz
diff --git a/python-helpdev.spec b/python-helpdev.spec
new file mode 100644
index 0000000..c4b46c8
--- /dev/null
+++ b/python-helpdev.spec
@@ -0,0 +1,206 @@
+%global _empty_manifest_terminate_build 0
+Name: python-helpdev
+Version: 0.7.1
+Release: 1
+Summary: HelpDev - Extracts information about the Python environment easily.
+License: MIT
+URL: https://gitlab.com/dpizetta/helpdev
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/16/8d/1909747368fef0cda0af1c570be578deff1f4fc3512c1e308c8fff73f359/helpdev-0.7.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-importlib-metadata
+Requires: python3-psutil
+
+%description
+Helping users and developers to get information about the environment to
+report bugs or even test your system without spending a day on it. It can
+get information about hardware, OS, paths, Python distribution and packages,
+including Qt-things. Operates in Linux, Windows and Mac. Working on
+Python 2.7+ and Python 3.4+.
+If you want to get information at runtime of your application, you need
+to call using the same environment (and process) in which your application
+is running. This module can be imported and integrated into your application,
+providing a report about the current environment.
+Some information can be depedent or independent of your Python environment,
+and some others can be dependent your running application. So, there are some
+acronymn used to refer to them:
+- PEI: Python environment independent;
+- PED: Python environment DEPENDENT;
+- PEAD: Python environment and application DEPENDENT.
+**Caution:**
+- This script is not supposed to get personal information using the option
+ ``--all``, but you must check the information before using the output.
+- Using the option ``--all-for-sure`` it is added information about paths and
+ variables that can show personal information. So, be sure when using this
+ option when publishing in the web.
+- I'm not responsible for bad use or problems with the information given by
+ this script, but if pointed in the Issues, I can help fixing it.
+Installing, updating and uninstalling
+#####################################
+To install and/or update, do ::
+ $ pip install -U helpdev
+To remove ::
+ $ pip uninstall helpdev
+Running
+#######
+You just need to run in the terminal the line(s) below.
+To get a minimalist output ::
+ $ helpdev
+To filter a set of packages to get info, which lists all that starts with
+sphinx, qtpy and pyqt5 ::
+ $ helpdev --packages="sphinx.*,qtpy,PYQT5"
+To get a complete output without personal information ::
+ $ helpdev --all
+To get a complete output WITH PERSONAL INFORMATION ::
+ $ helpdev --all-for-sure
+To get some help information ::
+ $ helpdev --help
+Examples from v0.6
+##################
+
+%package -n python3-helpdev
+Summary: HelpDev - Extracts information about the Python environment easily.
+Provides: python-helpdev
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-helpdev
+Helping users and developers to get information about the environment to
+report bugs or even test your system without spending a day on it. It can
+get information about hardware, OS, paths, Python distribution and packages,
+including Qt-things. Operates in Linux, Windows and Mac. Working on
+Python 2.7+ and Python 3.4+.
+If you want to get information at runtime of your application, you need
+to call using the same environment (and process) in which your application
+is running. This module can be imported and integrated into your application,
+providing a report about the current environment.
+Some information can be depedent or independent of your Python environment,
+and some others can be dependent your running application. So, there are some
+acronymn used to refer to them:
+- PEI: Python environment independent;
+- PED: Python environment DEPENDENT;
+- PEAD: Python environment and application DEPENDENT.
+**Caution:**
+- This script is not supposed to get personal information using the option
+ ``--all``, but you must check the information before using the output.
+- Using the option ``--all-for-sure`` it is added information about paths and
+ variables that can show personal information. So, be sure when using this
+ option when publishing in the web.
+- I'm not responsible for bad use or problems with the information given by
+ this script, but if pointed in the Issues, I can help fixing it.
+Installing, updating and uninstalling
+#####################################
+To install and/or update, do ::
+ $ pip install -U helpdev
+To remove ::
+ $ pip uninstall helpdev
+Running
+#######
+You just need to run in the terminal the line(s) below.
+To get a minimalist output ::
+ $ helpdev
+To filter a set of packages to get info, which lists all that starts with
+sphinx, qtpy and pyqt5 ::
+ $ helpdev --packages="sphinx.*,qtpy,PYQT5"
+To get a complete output without personal information ::
+ $ helpdev --all
+To get a complete output WITH PERSONAL INFORMATION ::
+ $ helpdev --all-for-sure
+To get some help information ::
+ $ helpdev --help
+Examples from v0.6
+##################
+
+%package help
+Summary: Development documents and examples for helpdev
+Provides: python3-helpdev-doc
+%description help
+Helping users and developers to get information about the environment to
+report bugs or even test your system without spending a day on it. It can
+get information about hardware, OS, paths, Python distribution and packages,
+including Qt-things. Operates in Linux, Windows and Mac. Working on
+Python 2.7+ and Python 3.4+.
+If you want to get information at runtime of your application, you need
+to call using the same environment (and process) in which your application
+is running. This module can be imported and integrated into your application,
+providing a report about the current environment.
+Some information can be depedent or independent of your Python environment,
+and some others can be dependent your running application. So, there are some
+acronymn used to refer to them:
+- PEI: Python environment independent;
+- PED: Python environment DEPENDENT;
+- PEAD: Python environment and application DEPENDENT.
+**Caution:**
+- This script is not supposed to get personal information using the option
+ ``--all``, but you must check the information before using the output.
+- Using the option ``--all-for-sure`` it is added information about paths and
+ variables that can show personal information. So, be sure when using this
+ option when publishing in the web.
+- I'm not responsible for bad use or problems with the information given by
+ this script, but if pointed in the Issues, I can help fixing it.
+Installing, updating and uninstalling
+#####################################
+To install and/or update, do ::
+ $ pip install -U helpdev
+To remove ::
+ $ pip uninstall helpdev
+Running
+#######
+You just need to run in the terminal the line(s) below.
+To get a minimalist output ::
+ $ helpdev
+To filter a set of packages to get info, which lists all that starts with
+sphinx, qtpy and pyqt5 ::
+ $ helpdev --packages="sphinx.*,qtpy,PYQT5"
+To get a complete output without personal information ::
+ $ helpdev --all
+To get a complete output WITH PERSONAL INFORMATION ::
+ $ helpdev --all-for-sure
+To get some help information ::
+ $ helpdev --help
+Examples from v0.6
+##################
+
+%prep
+%autosetup -n helpdev-0.7.1
+
+%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-helpdev -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3bb0d8f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b38a5ba80d849edae3c3e65aa71b4b2e helpdev-0.7.1.tar.gz