summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 05:42:29 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 05:42:29 +0000
commit8d55eff607f00ed39d92eb7eac19cb22b907a62a (patch)
tree99c99becfa78d072a65259296ec16d15fdc6df2d
parente4cb0cd738ef01df010036c815453a2567db63c6 (diff)
automatic import of python-automapopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-automap.spec89
-rw-r--r--sources1
3 files changed, 91 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9c2170d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
+[![latest version](https://img.shields.io/github/release-pre/brandtbucher/automap.svg?style=for-the-badge&label=latest)![latest release date](https://img.shields.io/github/release-date-pre/brandtbucher/automap.svg?style=for-the-badge&label=released)](https://github.com/brandtbucher/automap/releases)[![build status](https://img.shields.io/github/workflow/status/brandtbucher/automap/CI/master.svg?style=for-the-badge)](https://github.com/brandtbucher/automap/actions)[![issues](https://img.shields.io/github/issues-raw/brandtbucher/automap.svg?label=issues&style=for-the-badge)](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
+[![latest version](https://img.shields.io/github/release-pre/brandtbucher/automap.svg?style=for-the-badge&label=latest)![latest release date](https://img.shields.io/github/release-date-pre/brandtbucher/automap.svg?style=for-the-badge&label=released)](https://github.com/brandtbucher/automap/releases)[![build status](https://img.shields.io/github/workflow/status/brandtbucher/automap/CI/master.svg?style=for-the-badge)](https://github.com/brandtbucher/automap/actions)[![issues](https://img.shields.io/github/issues-raw/brandtbucher/automap.svg?label=issues&style=for-the-badge)](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
+[![latest version](https://img.shields.io/github/release-pre/brandtbucher/automap.svg?style=for-the-badge&label=latest)![latest release date](https://img.shields.io/github/release-date-pre/brandtbucher/automap.svg?style=for-the-badge&label=released)](https://github.com/brandtbucher/automap/releases)[![build status](https://img.shields.io/github/workflow/status/brandtbucher/automap/CI/master.svg?style=for-the-badge)](https://github.com/brandtbucher/automap/actions)[![issues](https://img.shields.io/github/issues-raw/brandtbucher/automap.svg?label=issues&style=for-the-badge)](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
diff --git a/sources b/sources
new file mode 100644
index 0000000..edf370e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+afb15de873adef90ad68495b87a4bbbd automap-0.6.2.tar.gz