summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-starknet-devnet.spec163
-rw-r--r--sources1
3 files changed, 165 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e2e8e23 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/starknet_devnet-0.5.3.tar.gz
diff --git a/python-starknet-devnet.spec b/python-starknet-devnet.spec
new file mode 100644
index 0000000..24001b4
--- /dev/null
+++ b/python-starknet-devnet.spec
@@ -0,0 +1,163 @@
+%global _empty_manifest_terminate_build 0
+Name: python-starknet-devnet
+Version: 0.5.3
+Release: 1
+Summary: A local testnet for Starknet
+License: MIT
+URL: https://github.com/0xSpaceShard/starknet-devnet
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7c/50/454efc04fab966429d3763fb54abd2d3eb86ca83b015412aca514e4e2e6b/starknet_devnet-0.5.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-flask-cors
+Requires: python3-cairo-lang
+Requires: python3-Werkzeug
+Requires: python3-Flask[async]
+Requires: python3-cloudpickle
+Requires: python3-crypto-cpp-py
+Requires: python3-marshmallow
+Requires: python3-typing-extensions
+Requires: python3-gunicorn
+Requires: python3-marshmallow-dataclass
+Requires: python3-jsonschema
+Requires: python3-web3
+Requires: python3-poseidon-py
+
+%description
+<!-- logo / title -->
+<p align="center" style="margin-bottom: 0px !important">
+ <img width="200" src="https://user-images.githubusercontent.com/2848732/193076972-da6fa36e-11f7-4cb3-aa29-673224f8576d.png" alt="Devnet" align="center">
+</p>
+<h1 align="center" style="margin-top: 0px !important">Starknet Devnet</h1>
+
+A Flask wrapper of Starknet state. Similar in purpose to Ganache.
+
+Aims to mimic Starknet's Alpha testnet, but with simplified functionality.
+
+## 🌐 Docs
+
+On the following links you can find the documentation of:
+
+- [the latest official release](https://0xspaceshard.github.io/starknet-devnet/)
+- [the latest master commit (not officially released)](https://github.com/0xSpaceShard/starknet-devnet/tree/master/page/docs)
+
+## ✏️ Contributing
+
+We ❤️ and encourage all contributions!
+
+[Click here](https://0xspaceshard.github.io/starknet-devnet/docs/guide/development) for the development guide.
+
+## 🙌 Special Thanks
+
+Special thanks to all the [contributors](https://github.com/0xSpaceShard/starknet-devnet/graphs/contributors)!
+
+
+%package -n python3-starknet-devnet
+Summary: A local testnet for Starknet
+Provides: python-starknet-devnet
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-starknet-devnet
+<!-- logo / title -->
+<p align="center" style="margin-bottom: 0px !important">
+ <img width="200" src="https://user-images.githubusercontent.com/2848732/193076972-da6fa36e-11f7-4cb3-aa29-673224f8576d.png" alt="Devnet" align="center">
+</p>
+<h1 align="center" style="margin-top: 0px !important">Starknet Devnet</h1>
+
+A Flask wrapper of Starknet state. Similar in purpose to Ganache.
+
+Aims to mimic Starknet's Alpha testnet, but with simplified functionality.
+
+## 🌐 Docs
+
+On the following links you can find the documentation of:
+
+- [the latest official release](https://0xspaceshard.github.io/starknet-devnet/)
+- [the latest master commit (not officially released)](https://github.com/0xSpaceShard/starknet-devnet/tree/master/page/docs)
+
+## ✏️ Contributing
+
+We ❤️ and encourage all contributions!
+
+[Click here](https://0xspaceshard.github.io/starknet-devnet/docs/guide/development) for the development guide.
+
+## 🙌 Special Thanks
+
+Special thanks to all the [contributors](https://github.com/0xSpaceShard/starknet-devnet/graphs/contributors)!
+
+
+%package help
+Summary: Development documents and examples for starknet-devnet
+Provides: python3-starknet-devnet-doc
+%description help
+<!-- logo / title -->
+<p align="center" style="margin-bottom: 0px !important">
+ <img width="200" src="https://user-images.githubusercontent.com/2848732/193076972-da6fa36e-11f7-4cb3-aa29-673224f8576d.png" alt="Devnet" align="center">
+</p>
+<h1 align="center" style="margin-top: 0px !important">Starknet Devnet</h1>
+
+A Flask wrapper of Starknet state. Similar in purpose to Ganache.
+
+Aims to mimic Starknet's Alpha testnet, but with simplified functionality.
+
+## 🌐 Docs
+
+On the following links you can find the documentation of:
+
+- [the latest official release](https://0xspaceshard.github.io/starknet-devnet/)
+- [the latest master commit (not officially released)](https://github.com/0xSpaceShard/starknet-devnet/tree/master/page/docs)
+
+## ✏️ Contributing
+
+We ❤️ and encourage all contributions!
+
+[Click here](https://0xspaceshard.github.io/starknet-devnet/docs/guide/development) for the development guide.
+
+## 🙌 Special Thanks
+
+Special thanks to all the [contributors](https://github.com/0xSpaceShard/starknet-devnet/graphs/contributors)!
+
+
+%prep
+%autosetup -n starknet_devnet-0.5.3
+
+%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-starknet-devnet -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ec019c5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f58b88fb2da2d05a41d9ded59479667a starknet_devnet-0.5.3.tar.gz