diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:34:26 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:34:26 +0000 |
commit | 6c6f18a98ef8ac5bfb9d65aaf6d1dcf770ff76d6 (patch) | |
tree | cc54190959fd6e82e9944c4b3b397826294aa3e6 | |
parent | 405ce066d85420c90d94998247f8449dc3848b19 (diff) |
automatic import of python-sqlalchemy-manager
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sqlalchemy-manager.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/sqlalchemy-manager-0.0.2.tar.gz diff --git a/python-sqlalchemy-manager.spec b/python-sqlalchemy-manager.spec new file mode 100644 index 0000000..9cc7688 --- /dev/null +++ b/python-sqlalchemy-manager.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sqlalchemy-manager +Version: 0.0.2 +Release: 1 +Summary: Manager for SQLAlchemy +License: UNKNOWN +URL: https://github.com/d1ffuz0r/sqlalchemy-manager +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/34/d06bbc1018d9f387e7fb69d1609b772d27e084f62496c582b767852d6cfd/sqlalchemy-manager-0.0.2.tar.gz +BuildArch: noarch + + +%description +Manager for model, methods added in runtime to query. + +%package -n python3-sqlalchemy-manager +Summary: Manager for SQLAlchemy +Provides: python-sqlalchemy-manager +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sqlalchemy-manager +Manager for model, methods added in runtime to query. + +%package help +Summary: Development documents and examples for sqlalchemy-manager +Provides: python3-sqlalchemy-manager-doc +%description help +Manager for model, methods added in runtime to query. + +%prep +%autosetup -n sqlalchemy-manager-0.0.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-sqlalchemy-manager -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.2-1 +- Package Spec generated @@ -0,0 +1 @@ +fc1b3573866e38c814a67eb1d48d7c71 sqlalchemy-manager-0.0.2.tar.gz |