summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 06:04:15 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 06:04:15 +0000
commit1937df97a3d561081256fda50869a98bf8334b88 (patch)
treeb2c805ab66142b74f9dbb6ab8607e6324b6810b8
parente9ca79a1c31a0f1e4bf2714601b028b5efa987bf (diff)
automatic import of python-pybraryopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pybrary.spec121
-rw-r--r--sources1
3 files changed, 123 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a891c38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pybrary-0.2322.0.tar.gz
diff --git a/python-pybrary.spec b/python-pybrary.spec
new file mode 100644
index 0000000..7cea4f5
--- /dev/null
+++ b/python-pybrary.spec
@@ -0,0 +1,121 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pybrary
+Version: 0.2322.0
+Release: 1
+Summary: Python Library
+License: MIT
+URL: https://pypi.org/project/pybrary/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/67/00/57f627d9ac8251f7fc54eddf04e7408572ed50062917c1dbe3d716a06872/pybrary-0.2322.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-cryptography
+
+%description
+# pybrary
+
+Python Library
+
+## Abstract
+
+Python tools
+
+## Usage
+
+ import pybrary
+
+
+## Installation
+
+ $ pip install pybrary
+
+
+%package -n python3-pybrary
+Summary: Python Library
+Provides: python-pybrary
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pybrary
+# pybrary
+
+Python Library
+
+## Abstract
+
+Python tools
+
+## Usage
+
+ import pybrary
+
+
+## Installation
+
+ $ pip install pybrary
+
+
+%package help
+Summary: Development documents and examples for pybrary
+Provides: python3-pybrary-doc
+%description help
+# pybrary
+
+Python Library
+
+## Abstract
+
+Python tools
+
+## Usage
+
+ import pybrary
+
+
+## Installation
+
+ $ pip install pybrary
+
+
+%prep
+%autosetup -n pybrary-0.2322.0
+
+%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-pybrary -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2322.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..76c0db3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ffb7041a95667b776eb5f7293640d2fd pybrary-0.2322.0.tar.gz