diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:14:16 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:14:16 +0000 |
commit | 786346c31c77897f046924ea973b50f7a1d6ae05 (patch) | |
tree | 36bb7f33cfabdc598a459c224fb4f5fa5e8bdb01 | |
parent | 9f07ca6020233220e68f0da50554d68f449ffc60 (diff) |
automatic import of python-aiosqlembic
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aiosqlembic.spec | 92 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/aiosqlembic-0.3.12.tar.gz diff --git a/python-aiosqlembic.spec b/python-aiosqlembic.spec new file mode 100644 index 0000000..1942cd9 --- /dev/null +++ b/python-aiosqlembic.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aiosqlembic +Version: 0.3.12 +Release: 1 +Summary: Migrations powered by aiosql +License: Unlicense +URL: https://gitlab.com/euri10/aiosqlembic +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/20/11/4e58bbc06e6d169828f9be745199428e625ead88bd72247062ee0467ded1/aiosqlembic-0.3.12.tar.gz +BuildArch: noarch + +Requires: python3-pydantic +Requires: python3-asyncpg +Requires: python3-jinja2 +Requires: python3-aiosql +Requires: python3-colorama + +%description + + + +Aiosqlembic aims at running database migrations powered by the awesome [aiosql](https://github.com/nackjicholson/aiosql) +It's inspired by goose for those coming from go +It is in development and likely to break + +%package -n python3-aiosqlembic +Summary: Migrations powered by aiosql +Provides: python-aiosqlembic +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aiosqlembic + + + +Aiosqlembic aims at running database migrations powered by the awesome [aiosql](https://github.com/nackjicholson/aiosql) +It's inspired by goose for those coming from go +It is in development and likely to break + +%package help +Summary: Development documents and examples for aiosqlembic +Provides: python3-aiosqlembic-doc +%description help + + + +Aiosqlembic aims at running database migrations powered by the awesome [aiosql](https://github.com/nackjicholson/aiosql) +It's inspired by goose for those coming from go +It is in development and likely to break + +%prep +%autosetup -n aiosqlembic-0.3.12 + +%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-aiosqlembic -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.12-1 +- Package Spec generated @@ -0,0 +1 @@ +6381b662d9c83ff9a1cb87aaaa2136be aiosqlembic-0.3.12.tar.gz |