summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 13:45:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 13:45:04 +0000
commit10ee8be534f37f528aea3b5b8d8d4b0b16828f3d (patch)
treedc5d0e72b4fa027803828f7dc466d09e77a835df
parent4de0d229a19ac74a1d98354c8dfd24be1a0d506e (diff)
automatic import of python-magic-wormhole
-rw-r--r--.gitignore1
-rw-r--r--python-magic-wormhole.spec217
-rw-r--r--sources1
3 files changed, 219 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c99714d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/magic-wormhole-0.12.0.tar.gz
diff --git a/python-magic-wormhole.spec b/python-magic-wormhole.spec
new file mode 100644
index 0000000..45771fb
--- /dev/null
+++ b/python-magic-wormhole.spec
@@ -0,0 +1,217 @@
+%global _empty_manifest_terminate_build 0
+Name: python-magic-wormhole
+Version: 0.12.0
+Release: 1
+Summary: Securely transfer data between computers
+License: MIT
+URL: https://github.com/warner/magic-wormhole
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d4/62/5e4a86f7c4b111e016577f1b304063ebe604f430db15465ac58b13993608/magic-wormhole-0.12.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-spake2
+Requires: python3-pynacl
+Requires: python3-six
+Requires: python3-attrs
+Requires: python3-twisted[tls]
+Requires: python3-autobahn[twisted]
+Requires: python3-automat
+Requires: python3-hkdf
+Requires: python3-tqdm
+Requires: python3-click
+Requires: python3-humanize
+Requires: python3-txtorcon
+Requires: python3-pywin32
+Requires: python3-mock
+Requires: python3-tox
+Requires: python3-pyflakes
+Requires: python3-magic-wormhole-transit-relay
+Requires: python3-magic-wormhole-mailbox-server
+Requires: python3-noiseprotocol
+
+%description
+# Magic Wormhole
+[![PyPI](http://img.shields.io/pypi/v/magic-wormhole.svg)](https://pypi.python.org/pypi/magic-wormhole)
+[![Build Status](https://travis-ci.org/warner/magic-wormhole.svg?branch=master)](https://travis-ci.org/warner/magic-wormhole)
+[![Windows Build Status](https://ci.appveyor.com/api/projects/status/mfnn5rsyfnrq576a/branch/master?svg=true)](https://ci.appveyor.com/project/warner/magic-wormhole)
+[![codecov.io](https://codecov.io/github/warner/magic-wormhole/coverage.svg?branch=master)](https://codecov.io/github/warner/magic-wormhole?branch=master)
+[![Docs](https://readthedocs.org/projects/magic-wormhole/badge/?version=latest)](https://magic-wormhole.readthedocs.io)
+
+Get things from one computer to another, safely.
+
+This package provides a library and a command-line tool named `wormhole`,
+which makes it possible to get arbitrary-sized files and directories
+(or short pieces of text) from one computer to another. The two endpoints are
+identified by using identical "wormhole codes": in general, the sending
+machine generates and displays the code, which must then be typed into the
+receiving machine.
+
+The codes are short and human-pronounceable, using a phonetically-distinct
+wordlist. The receiving side offers tab-completion on the codewords, so
+usually only a few characters must be typed. Wormhole codes are single-use
+and do not need to be memorized.
+
+* PyCon 2016 presentation: [Slides](http://www.lothar.com/~warner/MagicWormhole-PyCon2016.pdf), [Video](https://youtu.be/oFrTqQw0_3c)
+
+For complete documentation, please see https://magic-wormhole.readthedocs.io
+or the docs/ subdirectory.
+
+## License, Compatibility
+
+Magic-Wormhole is released under the MIT license, see the `LICENSE` file for details.
+
+This library is compatible with Python 3.5 and higher (tested against 3.5,
+3.6, 3.7, and 3.8). It also still works with Python 2.7.
+
+## Packaging, Installation
+
+Magic Wormhole packages are included in many operating systems.
+
+[![Packaging status](https://repology.org/badge/vertical-allrepos/magic-wormhole.svg)](https://repology.org/project/magic-wormhole/versions)
+
+To install it without an OS package, follow the [Installation docs](https://magic-wormhole.readthedocs.io/en/latest/welcome.html#installation).
+
+
+
+
+%package -n python3-magic-wormhole
+Summary: Securely transfer data between computers
+Provides: python-magic-wormhole
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-magic-wormhole
+# Magic Wormhole
+[![PyPI](http://img.shields.io/pypi/v/magic-wormhole.svg)](https://pypi.python.org/pypi/magic-wormhole)
+[![Build Status](https://travis-ci.org/warner/magic-wormhole.svg?branch=master)](https://travis-ci.org/warner/magic-wormhole)
+[![Windows Build Status](https://ci.appveyor.com/api/projects/status/mfnn5rsyfnrq576a/branch/master?svg=true)](https://ci.appveyor.com/project/warner/magic-wormhole)
+[![codecov.io](https://codecov.io/github/warner/magic-wormhole/coverage.svg?branch=master)](https://codecov.io/github/warner/magic-wormhole?branch=master)
+[![Docs](https://readthedocs.org/projects/magic-wormhole/badge/?version=latest)](https://magic-wormhole.readthedocs.io)
+
+Get things from one computer to another, safely.
+
+This package provides a library and a command-line tool named `wormhole`,
+which makes it possible to get arbitrary-sized files and directories
+(or short pieces of text) from one computer to another. The two endpoints are
+identified by using identical "wormhole codes": in general, the sending
+machine generates and displays the code, which must then be typed into the
+receiving machine.
+
+The codes are short and human-pronounceable, using a phonetically-distinct
+wordlist. The receiving side offers tab-completion on the codewords, so
+usually only a few characters must be typed. Wormhole codes are single-use
+and do not need to be memorized.
+
+* PyCon 2016 presentation: [Slides](http://www.lothar.com/~warner/MagicWormhole-PyCon2016.pdf), [Video](https://youtu.be/oFrTqQw0_3c)
+
+For complete documentation, please see https://magic-wormhole.readthedocs.io
+or the docs/ subdirectory.
+
+## License, Compatibility
+
+Magic-Wormhole is released under the MIT license, see the `LICENSE` file for details.
+
+This library is compatible with Python 3.5 and higher (tested against 3.5,
+3.6, 3.7, and 3.8). It also still works with Python 2.7.
+
+## Packaging, Installation
+
+Magic Wormhole packages are included in many operating systems.
+
+[![Packaging status](https://repology.org/badge/vertical-allrepos/magic-wormhole.svg)](https://repology.org/project/magic-wormhole/versions)
+
+To install it without an OS package, follow the [Installation docs](https://magic-wormhole.readthedocs.io/en/latest/welcome.html#installation).
+
+
+
+
+%package help
+Summary: Development documents and examples for magic-wormhole
+Provides: python3-magic-wormhole-doc
+%description help
+# Magic Wormhole
+[![PyPI](http://img.shields.io/pypi/v/magic-wormhole.svg)](https://pypi.python.org/pypi/magic-wormhole)
+[![Build Status](https://travis-ci.org/warner/magic-wormhole.svg?branch=master)](https://travis-ci.org/warner/magic-wormhole)
+[![Windows Build Status](https://ci.appveyor.com/api/projects/status/mfnn5rsyfnrq576a/branch/master?svg=true)](https://ci.appveyor.com/project/warner/magic-wormhole)
+[![codecov.io](https://codecov.io/github/warner/magic-wormhole/coverage.svg?branch=master)](https://codecov.io/github/warner/magic-wormhole?branch=master)
+[![Docs](https://readthedocs.org/projects/magic-wormhole/badge/?version=latest)](https://magic-wormhole.readthedocs.io)
+
+Get things from one computer to another, safely.
+
+This package provides a library and a command-line tool named `wormhole`,
+which makes it possible to get arbitrary-sized files and directories
+(or short pieces of text) from one computer to another. The two endpoints are
+identified by using identical "wormhole codes": in general, the sending
+machine generates and displays the code, which must then be typed into the
+receiving machine.
+
+The codes are short and human-pronounceable, using a phonetically-distinct
+wordlist. The receiving side offers tab-completion on the codewords, so
+usually only a few characters must be typed. Wormhole codes are single-use
+and do not need to be memorized.
+
+* PyCon 2016 presentation: [Slides](http://www.lothar.com/~warner/MagicWormhole-PyCon2016.pdf), [Video](https://youtu.be/oFrTqQw0_3c)
+
+For complete documentation, please see https://magic-wormhole.readthedocs.io
+or the docs/ subdirectory.
+
+## License, Compatibility
+
+Magic-Wormhole is released under the MIT license, see the `LICENSE` file for details.
+
+This library is compatible with Python 3.5 and higher (tested against 3.5,
+3.6, 3.7, and 3.8). It also still works with Python 2.7.
+
+## Packaging, Installation
+
+Magic Wormhole packages are included in many operating systems.
+
+[![Packaging status](https://repology.org/badge/vertical-allrepos/magic-wormhole.svg)](https://repology.org/project/magic-wormhole/versions)
+
+To install it without an OS package, follow the [Installation docs](https://magic-wormhole.readthedocs.io/en/latest/welcome.html#installation).
+
+
+
+
+%prep
+%autosetup -n magic-wormhole-0.12.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-magic-wormhole -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.12.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1d73338
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ca190d92f56fe32ec8dfd4fc5aab8337 magic-wormhole-0.12.0.tar.gz