summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 09:51:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 09:51:44 +0000
commitbdc63e8c8e2c6857cb2b3b61db741e3602b46cf1 (patch)
treedc364c97c2820889d205d79fe1ffde9136f59f36
parentd592f8c71075ba786b097518972d5ae82528e677 (diff)
automatic import of python-vector-2dopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-vector-2d.spec126
-rw-r--r--sources1
3 files changed, 128 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..87eb372 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/vector_2d-1.5.2.tar.gz
diff --git a/python-vector-2d.spec b/python-vector-2d.spec
new file mode 100644
index 0000000..95dc290
--- /dev/null
+++ b/python-vector-2d.spec
@@ -0,0 +1,126 @@
+%global _empty_manifest_terminate_build 0
+Name: python-vector-2d
+Version: 1.5.2
+Release: 1
+Summary: A module witch implements a two-dimensional vector, both in cartesian and polar coordinates.
+License: MIT
+URL: https://github.com/betados/vector_2d
+Source0: https://mirrors.aliyun.com/pypi/web/packages/93/26/3483944ba31065b4aafa2be815b8107e6b2c1f0c9a8a4d4c71a816b79890/vector_2d-1.5.2.tar.gz
+BuildArch: noarch
+
+
+%description
+# VECTOR
+A module witch implements a two-dimensional vector, both in cartesian and polar coordinates.
+
+[![Downloads](http://pepy.tech/badge/vector-2d)](http://pepy.tech/project/vector-2d)
+
+## Installation
+
+ ```bash
+ pip install vector-2d
+ ```
+
+## Usage
+``` python
+from vector_2d import Vector
+from vector_2d import VectorPolar
+```
+
+
+
+
+%package -n python3-vector-2d
+Summary: A module witch implements a two-dimensional vector, both in cartesian and polar coordinates.
+Provides: python-vector-2d
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-vector-2d
+# VECTOR
+A module witch implements a two-dimensional vector, both in cartesian and polar coordinates.
+
+[![Downloads](http://pepy.tech/badge/vector-2d)](http://pepy.tech/project/vector-2d)
+
+## Installation
+
+ ```bash
+ pip install vector-2d
+ ```
+
+## Usage
+``` python
+from vector_2d import Vector
+from vector_2d import VectorPolar
+```
+
+
+
+
+%package help
+Summary: Development documents and examples for vector-2d
+Provides: python3-vector-2d-doc
+%description help
+# VECTOR
+A module witch implements a two-dimensional vector, both in cartesian and polar coordinates.
+
+[![Downloads](http://pepy.tech/badge/vector-2d)](http://pepy.tech/project/vector-2d)
+
+## Installation
+
+ ```bash
+ pip install vector-2d
+ ```
+
+## Usage
+``` python
+from vector_2d import Vector
+from vector_2d import VectorPolar
+```
+
+
+
+
+%prep
+%autosetup -n vector_2d-1.5.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-vector-2d -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d1e53b3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+da1c4e426f6d9193b6b0a421151d5ff9 vector_2d-1.5.2.tar.gz