summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 14:13:49 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 14:13:49 +0000
commitd7d74d593a8948312ac64c4abb9f13bace66fa6f (patch)
treeeb797d7a897ddd82fd0e3da5d39f5bb8106cbe8e
parentdec878b915c306de0e126001248d5eaf7cb6ff61 (diff)
automatic import of python-nest
-rw-r--r--.gitignore1
-rw-r--r--python-nest.spec223
-rw-r--r--sources1
3 files changed, 225 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e511fe9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nest-0.4.1.tar.gz
diff --git a/python-nest.spec b/python-nest.spec
new file mode 100644
index 0000000..7b6b735
--- /dev/null
+++ b/python-nest.spec
@@ -0,0 +1,223 @@
+%global _empty_manifest_terminate_build 0
+Name: python-nest
+Version: 0.4.1
+Release: 1
+Summary: NeST: Network Stack Tester
+License: GNU General Public License v2 (GPLv2)
+URL: https://nest.nitk.ac.in/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/65/42/392b2b007076ee1a98dd005e06bbbf92ba6e508ea81ecdecb44860bf3f19/nest-0.4.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-matplotlib
+Requires: python3-numpy
+Requires: python3-packaging
+Requires: python3-tqdm
+
+%description
+# NeST: Network Stack Tester
+
+[![pipeline status](https://gitlab.com/nitk-nest/nest/badges/master/pipeline.svg)](https://gitlab.com/nitk-nest/nest/-/commits/master)
+
+`NeST` is a python3 package that handles testbed setup, testbed configuration,
+collecting and visualizing data by providing a user friendly API, addressing
+common issues involved in conducting networking experiments.
+
+The [paper](https://dl.acm.org/doi/abs/10.1145/3404868.3406670) introducing
+NeST was accepted at [ANRW'20](https://irtf.org/anrw/2020/).
+
+`NeST` source code repository is maintained at [GitLab](https://gitlab.com/nitk-nest/nest).
+
+**NOTE**: NeST is currently in beta stage.
+
+## Installation
+
+Instructions to install `NeST` can be found in
+[install.rst](https://gitlab.com/nitk-nest/nest/-/blob/master/docs/source/user/install.rst).
+
+## Examples
+
+Several examples, that explain the basic APIs and features of NeST, are
+available in the [examples directory](https://gitlab.com/nitk-nest/nest/-/tree/master/examples).
+
+## Documentation
+
+The documentation of NeST APIs can be read online at:
+[https://nest.nitk.ac.in/docs/](https://nest.nitk.ac.in/docs/)
+
+Instructions for generating/building the API documentation can be found in
+[docs/README.md](https://gitlab.com/nitk-nest/nest/-/blob/master/docs/README.md) folder.
+
+## Unit tests
+
+Tests can be found in `nest/tests` folder.
+Run the below command in the repo's root folder to run the tests.
+
+```shell
+sudo python3 -m unittest -v
+```
+
+**NOTE**: NeST requires **root** access currently to create and manage network namespaces.
+
+## Contributing
+
+To contribute, read [CONTRIBUTING.md](https://gitlab.com/nitk-nest/nest/-/blob/master/CONTRIBUTING.md)
+
+
+
+
+%package -n python3-nest
+Summary: NeST: Network Stack Tester
+Provides: python-nest
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-nest
+# NeST: Network Stack Tester
+
+[![pipeline status](https://gitlab.com/nitk-nest/nest/badges/master/pipeline.svg)](https://gitlab.com/nitk-nest/nest/-/commits/master)
+
+`NeST` is a python3 package that handles testbed setup, testbed configuration,
+collecting and visualizing data by providing a user friendly API, addressing
+common issues involved in conducting networking experiments.
+
+The [paper](https://dl.acm.org/doi/abs/10.1145/3404868.3406670) introducing
+NeST was accepted at [ANRW'20](https://irtf.org/anrw/2020/).
+
+`NeST` source code repository is maintained at [GitLab](https://gitlab.com/nitk-nest/nest).
+
+**NOTE**: NeST is currently in beta stage.
+
+## Installation
+
+Instructions to install `NeST` can be found in
+[install.rst](https://gitlab.com/nitk-nest/nest/-/blob/master/docs/source/user/install.rst).
+
+## Examples
+
+Several examples, that explain the basic APIs and features of NeST, are
+available in the [examples directory](https://gitlab.com/nitk-nest/nest/-/tree/master/examples).
+
+## Documentation
+
+The documentation of NeST APIs can be read online at:
+[https://nest.nitk.ac.in/docs/](https://nest.nitk.ac.in/docs/)
+
+Instructions for generating/building the API documentation can be found in
+[docs/README.md](https://gitlab.com/nitk-nest/nest/-/blob/master/docs/README.md) folder.
+
+## Unit tests
+
+Tests can be found in `nest/tests` folder.
+Run the below command in the repo's root folder to run the tests.
+
+```shell
+sudo python3 -m unittest -v
+```
+
+**NOTE**: NeST requires **root** access currently to create and manage network namespaces.
+
+## Contributing
+
+To contribute, read [CONTRIBUTING.md](https://gitlab.com/nitk-nest/nest/-/blob/master/CONTRIBUTING.md)
+
+
+
+
+%package help
+Summary: Development documents and examples for nest
+Provides: python3-nest-doc
+%description help
+# NeST: Network Stack Tester
+
+[![pipeline status](https://gitlab.com/nitk-nest/nest/badges/master/pipeline.svg)](https://gitlab.com/nitk-nest/nest/-/commits/master)
+
+`NeST` is a python3 package that handles testbed setup, testbed configuration,
+collecting and visualizing data by providing a user friendly API, addressing
+common issues involved in conducting networking experiments.
+
+The [paper](https://dl.acm.org/doi/abs/10.1145/3404868.3406670) introducing
+NeST was accepted at [ANRW'20](https://irtf.org/anrw/2020/).
+
+`NeST` source code repository is maintained at [GitLab](https://gitlab.com/nitk-nest/nest).
+
+**NOTE**: NeST is currently in beta stage.
+
+## Installation
+
+Instructions to install `NeST` can be found in
+[install.rst](https://gitlab.com/nitk-nest/nest/-/blob/master/docs/source/user/install.rst).
+
+## Examples
+
+Several examples, that explain the basic APIs and features of NeST, are
+available in the [examples directory](https://gitlab.com/nitk-nest/nest/-/tree/master/examples).
+
+## Documentation
+
+The documentation of NeST APIs can be read online at:
+[https://nest.nitk.ac.in/docs/](https://nest.nitk.ac.in/docs/)
+
+Instructions for generating/building the API documentation can be found in
+[docs/README.md](https://gitlab.com/nitk-nest/nest/-/blob/master/docs/README.md) folder.
+
+## Unit tests
+
+Tests can be found in `nest/tests` folder.
+Run the below command in the repo's root folder to run the tests.
+
+```shell
+sudo python3 -m unittest -v
+```
+
+**NOTE**: NeST requires **root** access currently to create and manage network namespaces.
+
+## Contributing
+
+To contribute, read [CONTRIBUTING.md](https://gitlab.com/nitk-nest/nest/-/blob/master/CONTRIBUTING.md)
+
+
+
+
+%prep
+%autosetup -n nest-0.4.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-nest -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6377908
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+94eb23485c875a8da615040f7a5c10b4 nest-0.4.1.tar.gz