diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:42:29 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:42:29 +0000 |
commit | 8d55eff607f00ed39d92eb7eac19cb22b907a62a (patch) | |
tree | 99c99becfa78d072a65259296ec16d15fdc6df2d | |
parent | e4cb0cd738ef01df010036c815453a2567db63c6 (diff) |
automatic import of python-automapopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-automap.spec | 89 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 91 insertions, 0 deletions
@@ -0,0 +1 @@ +/automap-0.6.2.tar.gz diff --git a/python-automap.spec b/python-automap.spec new file mode 100644 index 0000000..f265a68 --- /dev/null +++ b/python-automap.spec @@ -0,0 +1,89 @@ +%global _empty_manifest_terminate_build 0 +Name: python-automap +Version: 0.6.2 +Release: 1 +Summary: High-performance autoincremented integer-valued mappings. +License: MIT +URL: https://github.com/brandtbucher/automap +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ad/d8/98ea5caf8fbcfb59cd41aa2047b6c90a0d4a81c19e17044b0417c25d4114/automap-0.6.2.tar.gz + + +%description +[](https://github.com/brandtbucher/automap/releases)[](https://github.com/brandtbucher/automap/actions)[](https://github.com/brandtbucher/automap/issues) +<br> +</div> +`automap` is a Python package containing high-performance autoincremented +integer-valued mappings. +To install, just run `pip install automap`. + +%package -n python3-automap +Summary: High-performance autoincremented integer-valued mappings. +Provides: python-automap +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-automap +[](https://github.com/brandtbucher/automap/releases)[](https://github.com/brandtbucher/automap/actions)[](https://github.com/brandtbucher/automap/issues) +<br> +</div> +`automap` is a Python package containing high-performance autoincremented +integer-valued mappings. +To install, just run `pip install automap`. + +%package help +Summary: Development documents and examples for automap +Provides: python3-automap-doc +%description help +[](https://github.com/brandtbucher/automap/releases)[](https://github.com/brandtbucher/automap/actions)[](https://github.com/brandtbucher/automap/issues) +<br> +</div> +`automap` is a Python package containing high-performance autoincremented +integer-valued mappings. +To install, just run `pip install automap`. + +%prep +%autosetup -n automap-0.6.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-automap -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.2-1 +- Package Spec generated @@ -0,0 +1 @@ +afb15de873adef90ad68495b87a4bbbd automap-0.6.2.tar.gz |