diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 10:20:11 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 10:20:11 +0000 |
commit | d38da58a664405c099ea9680443299fa04261727 (patch) | |
tree | 7055d1305f1cb9cec2bf1b27ebfb3dffadfed816 | |
parent | 5782e243907c42575335ed9e87871ae4379544a8 (diff) |
automatic import of python3-eralchemyopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-eralchemy.spec | 79 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/ERAlchemy-1.2.10.tar.gz diff --git a/python-eralchemy.spec b/python-eralchemy.spec new file mode 100644 index 0000000..90c5b1f --- /dev/null +++ b/python-eralchemy.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ERAlchemy +Version: 1.2.10 +Release: 1 +Summary: Simple entity relation (ER) diagrams generation +License: Apache License 2.0 +URL: https://github.com/Alexis-benoist/eralchemy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/87/40/07b58c29406ad9cc8747e567e3e37dd74c0a8756130ad8fd3a4d71c796e3/ERAlchemy-1.2.10.tar.gz +BuildArch: noarch + +Requires: python3-SQLAlchemy +Requires: python3-pygraphviz + +%description +|Join the chat at https://gitter.im/Alexis-benoist/eralchemy| +ERAlchemy generates Entity Relation (ER) diagram (like the one below) +from databases or from SQLAlchemy models. + +%package -n python3-ERAlchemy +Summary: Simple entity relation (ER) diagrams generation +Provides: python-ERAlchemy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-ERAlchemy +|Join the chat at https://gitter.im/Alexis-benoist/eralchemy| +ERAlchemy generates Entity Relation (ER) diagram (like the one below) +from databases or from SQLAlchemy models. + +%package help +Summary: Development documents and examples for ERAlchemy +Provides: python3-ERAlchemy-doc +%description help +|Join the chat at https://gitter.im/Alexis-benoist/eralchemy| +ERAlchemy generates Entity Relation (ER) diagram (like the one below) +from databases or from SQLAlchemy models. + +%prep +%autosetup -n ERAlchemy-1.2.10 + +%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-ERAlchemy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Feb 24 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.10-1 +- Package Spec generated @@ -0,0 +1 @@ +3777350d0025730d17bbcfbe9c1c24f6 ERAlchemy-1.2.10.tar.gz |