summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 13:59:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 13:59:25 +0000
commitd4e8965e59e6e68b3394759098e69114dfbdfa72 (patch)
tree5efc68ce5d085a134a0db67280a59222872a9bdc
parent50d9705a0f2974f85bb5f7896a6a0ba075cf1e61 (diff)
automatic import of python-web3
-rw-r--r--.gitignore1
-rw-r--r--python-web3.spec152
-rw-r--r--sources1
3 files changed, 154 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..78a1996 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/web3-6.1.0.tar.gz
diff --git a/python-web3.spec b/python-web3.spec
new file mode 100644
index 0000000..9860df2
--- /dev/null
+++ b/python-web3.spec
@@ -0,0 +1,152 @@
+%global _empty_manifest_terminate_build 0
+Name: python-web3
+Version: 6.1.0
+Release: 1
+Summary: web3.py
+License: MIT
+URL: https://github.com/ethereum/web3.py
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a2/07/916bb3a83f8971793448ca8bce36000cd68b89fb1b48071ae3ff0aa32817/web3-6.1.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-aiohttp
+Requires: python3-eth-abi
+Requires: python3-eth-account
+Requires: python3-eth-hash[pycryptodome]
+Requires: python3-eth-typing
+Requires: python3-eth-utils
+Requires: python3-hexbytes
+Requires: python3-jsonschema
+Requires: python3-lru-dict
+Requires: python3-protobuf
+Requires: python3-requests
+Requires: python3-websockets
+Requires: python3-pywin32
+Requires: python3-typing-extensions
+Requires: python3-eth-tester[py-evm]
+Requires: python3-py-geth
+Requires: python3-black
+Requires: python3-flake8
+Requires: python3-isort
+Requires: python3-mypy
+Requires: python3-types-setuptools
+Requires: python3-types-requests
+Requires: python3-types-protobuf
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-towncrier
+Requires: python3-ipfshttpclient
+Requires: python3-bumpversion
+Requires: python3-flaky
+Requires: python3-hypothesis
+Requires: python3-pytest
+Requires: python3-pytest-asyncio
+Requires: python3-pytest-mock
+Requires: python3-pytest-watch
+Requires: python3-pytest-xdist
+Requires: python3-setuptools
+Requires: python3-tox
+Requires: python3-tqdm
+Requires: python3-twine
+Requires: python3-pluggy
+Requires: python3-when-changed
+Requires: python3-build
+Requires: python3-importlib-metadata
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-towncrier
+Requires: python3-ipfshttpclient
+Requires: python3-black
+Requires: python3-flake8
+Requires: python3-isort
+Requires: python3-mypy
+Requires: python3-types-setuptools
+Requires: python3-types-requests
+Requires: python3-types-protobuf
+Requires: python3-eth-tester[py-evm]
+Requires: python3-py-geth
+
+%description
+## Quickstart
+[Get started in 5 minutes](https://web3py.readthedocs.io/en/latest/quickstart.html) or
+[take a tour](https://web3py.readthedocs.io/en/latest/overview.html) of the library.
+## Documentation
+For additional guides, examples, and APIs, see the [documentation](https://web3py.readthedocs.io/en/latest/).
+## Want to help?
+Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
+guidelines for [contributing](https://web3py.readthedocs.io/en/latest/contributing.html),
+then check out issues that are labeled
+
+%package -n python3-web3
+Summary: web3.py
+Provides: python-web3
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-web3
+## Quickstart
+[Get started in 5 minutes](https://web3py.readthedocs.io/en/latest/quickstart.html) or
+[take a tour](https://web3py.readthedocs.io/en/latest/overview.html) of the library.
+## Documentation
+For additional guides, examples, and APIs, see the [documentation](https://web3py.readthedocs.io/en/latest/).
+## Want to help?
+Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
+guidelines for [contributing](https://web3py.readthedocs.io/en/latest/contributing.html),
+then check out issues that are labeled
+
+%package help
+Summary: Development documents and examples for web3
+Provides: python3-web3-doc
+%description help
+## Quickstart
+[Get started in 5 minutes](https://web3py.readthedocs.io/en/latest/quickstart.html) or
+[take a tour](https://web3py.readthedocs.io/en/latest/overview.html) of the library.
+## Documentation
+For additional guides, examples, and APIs, see the [documentation](https://web3py.readthedocs.io/en/latest/).
+## Want to help?
+Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
+guidelines for [contributing](https://web3py.readthedocs.io/en/latest/contributing.html),
+then check out issues that are labeled
+
+%prep
+%autosetup -n web3-6.1.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-web3 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 6.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1518491
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+45c3103375b8b31f67ffde1f52364343 web3-6.1.0.tar.gz