summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 08:12:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 08:12:17 +0000
commit0ed0515ec2d5eaae70bfc62c3b71fc3bb35c0a8b (patch)
tree57d38fdadf938f1f870fb524aea2d628f72c38da
parentaae61cb213afae5ae95197798ddc28f890c1c2d4 (diff)
automatic import of python-asv
-rw-r--r--.gitignore1
-rw-r--r--python-asv.spec123
-rw-r--r--sources1
3 files changed, 125 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..31cc80d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/asv-0.5.1.tar.gz
diff --git a/python-asv.spec b/python-asv.spec
new file mode 100644
index 0000000..86f0a9f
--- /dev/null
+++ b/python-asv.spec
@@ -0,0 +1,123 @@
+%global _empty_manifest_terminate_build 0
+Name: python-asv
+Version: 0.5.1
+Release: 1
+Summary: Airspeed Velocity: A simple Python history benchmarking tool
+License: BSD
+URL: https://github.com/airspeed-velocity/asv
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5b/e4/f4af30aa6e75c12832f3d61cd07610510e2e47aaa1547513f4a51dd335b1/asv-0.5.1.tar.gz
+BuildArch: noarch
+
+
+%description
+**airspeed velocity** (``asv``) is a tool for benchmarking Python
+packages over their lifetime.
+It is primarily designed to benchmark a single project over its
+lifetime using a given suite of benchmarks. The results are displayed
+in an interactive web frontend that requires only a basic static
+webserver to host.
+See an `example airspeed velocity site <https://pv.github.io/numpy-bench/>`__.
+See the `full documentation <https://asv.readthedocs.io/>`__
+for more information.
+The latest release can be installed from PyPI using::
+ pip install asv
+Are you using ``asv``? Consider adding a badge to your project's
+README like this:
+By using the following markdown::
+ [![asv](http://img.shields.io/badge/benchmarked%20by-asv-blue.svg?style=flat)](http://your-url-here/)
+License: `BSD three-clause license
+<http://opensource.org/licenses/BSD-3-Clause>`__.
+Authors: Michael Droettboom, Pauli Virtanen
+
+%package -n python3-asv
+Summary: Airspeed Velocity: A simple Python history benchmarking tool
+Provides: python-asv
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-asv
+**airspeed velocity** (``asv``) is a tool for benchmarking Python
+packages over their lifetime.
+It is primarily designed to benchmark a single project over its
+lifetime using a given suite of benchmarks. The results are displayed
+in an interactive web frontend that requires only a basic static
+webserver to host.
+See an `example airspeed velocity site <https://pv.github.io/numpy-bench/>`__.
+See the `full documentation <https://asv.readthedocs.io/>`__
+for more information.
+The latest release can be installed from PyPI using::
+ pip install asv
+Are you using ``asv``? Consider adding a badge to your project's
+README like this:
+By using the following markdown::
+ [![asv](http://img.shields.io/badge/benchmarked%20by-asv-blue.svg?style=flat)](http://your-url-here/)
+License: `BSD three-clause license
+<http://opensource.org/licenses/BSD-3-Clause>`__.
+Authors: Michael Droettboom, Pauli Virtanen
+
+%package help
+Summary: Development documents and examples for asv
+Provides: python3-asv-doc
+%description help
+**airspeed velocity** (``asv``) is a tool for benchmarking Python
+packages over their lifetime.
+It is primarily designed to benchmark a single project over its
+lifetime using a given suite of benchmarks. The results are displayed
+in an interactive web frontend that requires only a basic static
+webserver to host.
+See an `example airspeed velocity site <https://pv.github.io/numpy-bench/>`__.
+See the `full documentation <https://asv.readthedocs.io/>`__
+for more information.
+The latest release can be installed from PyPI using::
+ pip install asv
+Are you using ``asv``? Consider adding a badge to your project's
+README like this:
+By using the following markdown::
+ [![asv](http://img.shields.io/badge/benchmarked%20by-asv-blue.svg?style=flat)](http://your-url-here/)
+License: `BSD three-clause license
+<http://opensource.org/licenses/BSD-3-Clause>`__.
+Authors: Michael Droettboom, Pauli Virtanen
+
+%prep
+%autosetup -n asv-0.5.1
+
+%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-asv -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2b3fcb3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+421cfaaa27aaa6bf4f9184e514d1e2e9 asv-0.5.1.tar.gz