diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-31 04:05:23 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 04:05:23 +0000 |
| commit | dc56b026019d47e7abfb59de616665c545c9424c (patch) | |
| tree | 4647b3c5061bc4dc075aa86867eb966372f5b7b9 | |
| parent | 1b70abfbd299eb8ae0b7e821a809dd90b07da4dd (diff) | |
automatic import of python-arky
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-arky.spec | 106 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 108 insertions, 0 deletions
@@ -0,0 +1 @@ +/Arky-1.3.1.tar.gz diff --git a/python-arky.spec b/python-arky.spec new file mode 100644 index 0000000..f521f34 --- /dev/null +++ b/python-arky.spec @@ -0,0 +1,106 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Arky +Version: 1.3.1 +Release: 1 +Summary: Python API bridging DPOS blockchains +License: Copyright 2016-2017 Toons, Copyright 2017 ARK, MIT licence +URL: https://github.com/ArkEcosystem/arky +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/14/5ca02e9fa196da91eb222ca9172506a90649e732294a8da984f64798ba00/Arky-1.3.1.tar.gz +BuildArch: noarch + +Requires: python3-base58 +Requires: python3-docopt +Requires: python3-ecdsa +Requires: python3-ledgerblue +Requires: python3-pynacl +Requires: python3-pytz +Requires: python3-requests + +%description +Ubuntu / OSX +^^^^^^^^^^^^ +>From development version +``sudo -H pip install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` +If you work with ``python3`` +``sudo -H pip3 install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` +Windows +^^^^^^^ +>From development version +``pip install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` + +%package -n python3-Arky +Summary: Python API bridging DPOS blockchains +Provides: python-Arky +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Arky +Ubuntu / OSX +^^^^^^^^^^^^ +>From development version +``sudo -H pip install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` +If you work with ``python3`` +``sudo -H pip3 install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` +Windows +^^^^^^^ +>From development version +``pip install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` + +%package help +Summary: Development documents and examples for Arky +Provides: python3-Arky-doc +%description help +Ubuntu / OSX +^^^^^^^^^^^^ +>From development version +``sudo -H pip install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` +If you work with ``python3`` +``sudo -H pip3 install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` +Windows +^^^^^^^ +>From development version +``pip install https://github.com/ArkEcosystem/arky/archive/aip11.zip`` + +%prep +%autosetup -n Arky-1.3.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-Arky -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.1-1 +- Package Spec generated @@ -0,0 +1 @@ +371ce4f90bca28c595ad90b0863ae01b Arky-1.3.1.tar.gz |
