summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 12:26:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 12:26:00 +0000
commit407180396b8609f4f59cd18495196777b6b6d207 (patch)
treec32bb0195095e39ad39d164e7ef1fcedcb8466bb
parentd5ff393c255edc98c9d6e646890af201fd40a4f0 (diff)
automatic import of python-kista
-rw-r--r--.gitignore1
-rw-r--r--python-kista.spec123
-rw-r--r--sources1
3 files changed, 125 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9905581 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kista-2.0.4.tar.gz
diff --git a/python-kista.spec b/python-kista.spec
new file mode 100644
index 0000000..38f84a8
--- /dev/null
+++ b/python-kista.spec
@@ -0,0 +1,123 @@
+%global _empty_manifest_terminate_build 0
+Name: python-kista
+Version: 2.0.4
+Release: 1
+Summary: miscellaneous stuff, old norse for bag
+License: MIT
+URL: https://github.com/circleclick-labs/kista
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2f/71/a19afeb7cee9c840e9a3833f49af7cda5c7e9c6bd4abbb659b4449587b16/kista-2.0.4.tar.gz
+BuildArch: noarch
+
+
+%description
+Help on module kista.cli in kista:
+## NAME
+ kista.cli - High level python EVM interface
+## DESCRIPTION
+ Old Norse for 'bag' (since it's a bag of tricks)
+ Usage:
+ kista.py deploy <contract_name> [<args>...]
+ kista.py call <contract_name> <function> [<args>...]
+ kista.py transact <contract_name> <function> [<args>...]
+ kista.py -h | --help
+ kista.py --version
+ Options:
+ -h --help Show this screen.
+ --version Show version.
+## FUNCTIONS
+ main()
+## FILE
+ /Users/val/src/kista/kista/cli.py
+
+%package -n python3-kista
+Summary: miscellaneous stuff, old norse for bag
+Provides: python-kista
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-kista
+Help on module kista.cli in kista:
+## NAME
+ kista.cli - High level python EVM interface
+## DESCRIPTION
+ Old Norse for 'bag' (since it's a bag of tricks)
+ Usage:
+ kista.py deploy <contract_name> [<args>...]
+ kista.py call <contract_name> <function> [<args>...]
+ kista.py transact <contract_name> <function> [<args>...]
+ kista.py -h | --help
+ kista.py --version
+ Options:
+ -h --help Show this screen.
+ --version Show version.
+## FUNCTIONS
+ main()
+## FILE
+ /Users/val/src/kista/kista/cli.py
+
+%package help
+Summary: Development documents and examples for kista
+Provides: python3-kista-doc
+%description help
+Help on module kista.cli in kista:
+## NAME
+ kista.cli - High level python EVM interface
+## DESCRIPTION
+ Old Norse for 'bag' (since it's a bag of tricks)
+ Usage:
+ kista.py deploy <contract_name> [<args>...]
+ kista.py call <contract_name> <function> [<args>...]
+ kista.py transact <contract_name> <function> [<args>...]
+ kista.py -h | --help
+ kista.py --version
+ Options:
+ -h --help Show this screen.
+ --version Show version.
+## FUNCTIONS
+ main()
+## FILE
+ /Users/val/src/kista/kista/cli.py
+
+%prep
+%autosetup -n kista-2.0.4
+
+%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-kista -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c6f8fed
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+01b4b30e958bc2eeb1d74f1914458490 kista-2.0.4.tar.gz