summaryrefslogtreecommitdiff
path: root/python-pyfileconf.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:55:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:55:25 +0000
commit74955c8055bbc0a092fa0614754b59e2a0ad3758 (patch)
tree2f6edb1a47371b31c5c9e04cf97be6219091f299 /python-pyfileconf.spec
parente50bba1cbd075848d41f936396d0c7687b4ff2ed (diff)
automatic import of python-pyfileconf
Diffstat (limited to 'python-pyfileconf.spec')
-rw-r--r--python-pyfileconf.spec188
1 files changed, 188 insertions, 0 deletions
diff --git a/python-pyfileconf.spec b/python-pyfileconf.spec
new file mode 100644
index 0000000..ccba84b
--- /dev/null
+++ b/python-pyfileconf.spec
@@ -0,0 +1,188 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pyfileconf
+Version: 0.15.2
+Release: 1
+Summary: Generate Python configuration files from functions and classes and run them from the command line or Python
+License: MIT
+URL: https://github.com/nickderobertis/py-file-conf
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3d/c4/e679c6bfee92c2f2844cb8932e067e25773950fab9c6e7f622ee89992580/pyfileconf-0.15.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-astor
+Requires: python3-mixins
+Requires: python3-pandas
+Requires: python3-pd-utils
+Requires: python3-datacode
+Requires: python3-IPython
+Requires: python3-black
+Requires: python3-pluggy
+
+%description
+
+[![](https://codecov.io/gh/nickderobertis/py-file-conf/branch/master/graph/badge.svg)](https://codecov.io/gh/nickderobertis/py-file-conf)
+
+# py-file-conf
+
+## Overview
+
+Generate Python configuration files from functions and classes and run them from the command line or Python
+
+## Getting Started
+
+Install `pyfileconf`:
+
+```
+pip install pyfileconf
+```
+
+A simple example:
+
+```python
+import pyfileconf
+
+# Do something with pyfileconf
+```
+
+## Links
+
+See the
+[documentation here.](
+https://nickderobertis.github.io/py-file-conf/
+)
+
+## Author
+
+Created by Nick DeRobertis. MIT License.
+
+
+
+%package -n python3-pyfileconf
+Summary: Generate Python configuration files from functions and classes and run them from the command line or Python
+Provides: python-pyfileconf
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pyfileconf
+
+[![](https://codecov.io/gh/nickderobertis/py-file-conf/branch/master/graph/badge.svg)](https://codecov.io/gh/nickderobertis/py-file-conf)
+
+# py-file-conf
+
+## Overview
+
+Generate Python configuration files from functions and classes and run them from the command line or Python
+
+## Getting Started
+
+Install `pyfileconf`:
+
+```
+pip install pyfileconf
+```
+
+A simple example:
+
+```python
+import pyfileconf
+
+# Do something with pyfileconf
+```
+
+## Links
+
+See the
+[documentation here.](
+https://nickderobertis.github.io/py-file-conf/
+)
+
+## Author
+
+Created by Nick DeRobertis. MIT License.
+
+
+
+%package help
+Summary: Development documents and examples for pyfileconf
+Provides: python3-pyfileconf-doc
+%description help
+
+[![](https://codecov.io/gh/nickderobertis/py-file-conf/branch/master/graph/badge.svg)](https://codecov.io/gh/nickderobertis/py-file-conf)
+
+# py-file-conf
+
+## Overview
+
+Generate Python configuration files from functions and classes and run them from the command line or Python
+
+## Getting Started
+
+Install `pyfileconf`:
+
+```
+pip install pyfileconf
+```
+
+A simple example:
+
+```python
+import pyfileconf
+
+# Do something with pyfileconf
+```
+
+## Links
+
+See the
+[documentation here.](
+https://nickderobertis.github.io/py-file-conf/
+)
+
+## Author
+
+Created by Nick DeRobertis. MIT License.
+
+
+
+%prep
+%autosetup -n pyfileconf-0.15.2
+
+%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-pyfileconf -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.15.2-1
+- Package Spec generated