Fixes: Bug#12611 Tested-by: Adolf Belka adolf.belka@ipfire.org Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/packages/python3-trio | 141 +++++++++++++++++++++++++ lfs/python3-trio | 86 +++++++++++++++ 2 files changed, 227 insertions(+) create mode 100644 config/rootfiles/packages/python3-trio create mode 100644 lfs/python3-trio
diff --git a/config/rootfiles/packages/python3-trio b/config/rootfiles/packages/python3-trio new file mode 100644 index 000000000..9730b1448 --- /dev/null +++ b/config/rootfiles/packages/python3-trio @@ -0,0 +1,141 @@ +#usr/lib/python3.10/site-packages/trio +#usr/lib/python3.10/site-packages/trio-0.21.0-py3.10.egg-info +#usr/lib/python3.10/site-packages/trio-0.21.0-py3.10.egg-info/PKG-INFO +#usr/lib/python3.10/site-packages/trio-0.21.0-py3.10.egg-info/SOURCES.txt +#usr/lib/python3.10/site-packages/trio-0.21.0-py3.10.egg-info/dependency_links.txt +#usr/lib/python3.10/site-packages/trio-0.21.0-py3.10.egg-info/requires.txt +#usr/lib/python3.10/site-packages/trio-0.21.0-py3.10.egg-info/top_level.txt +usr/lib/python3.10/site-packages/trio/__init__.py +usr/lib/python3.10/site-packages/trio/_abc.py +usr/lib/python3.10/site-packages/trio/_channel.py +#usr/lib/python3.10/site-packages/trio/_core +usr/lib/python3.10/site-packages/trio/_core/__init__.py +usr/lib/python3.10/site-packages/trio/_core/_asyncgens.py +usr/lib/python3.10/site-packages/trio/_core/_entry_queue.py +usr/lib/python3.10/site-packages/trio/_core/_exceptions.py +usr/lib/python3.10/site-packages/trio/_core/_generated_instrumentation.py +usr/lib/python3.10/site-packages/trio/_core/_generated_io_epoll.py +usr/lib/python3.10/site-packages/trio/_core/_generated_io_kqueue.py +usr/lib/python3.10/site-packages/trio/_core/_generated_io_windows.py +usr/lib/python3.10/site-packages/trio/_core/_generated_run.py +usr/lib/python3.10/site-packages/trio/_core/_instrumentation.py +usr/lib/python3.10/site-packages/trio/_core/_io_common.py +usr/lib/python3.10/site-packages/trio/_core/_io_epoll.py +usr/lib/python3.10/site-packages/trio/_core/_io_kqueue.py +usr/lib/python3.10/site-packages/trio/_core/_io_windows.py +usr/lib/python3.10/site-packages/trio/_core/_ki.py +usr/lib/python3.10/site-packages/trio/_core/_local.py +usr/lib/python3.10/site-packages/trio/_core/_mock_clock.py +usr/lib/python3.10/site-packages/trio/_core/_multierror.py +usr/lib/python3.10/site-packages/trio/_core/_parking_lot.py +usr/lib/python3.10/site-packages/trio/_core/_run.py +usr/lib/python3.10/site-packages/trio/_core/_thread_cache.py +usr/lib/python3.10/site-packages/trio/_core/_traps.py +usr/lib/python3.10/site-packages/trio/_core/_unbounded_queue.py +usr/lib/python3.10/site-packages/trio/_core/_wakeup_socketpair.py +usr/lib/python3.10/site-packages/trio/_core/_windows_cffi.py +#usr/lib/python3.10/site-packages/trio/_core/tests +usr/lib/python3.10/site-packages/trio/_core/tests/__init__.py +usr/lib/python3.10/site-packages/trio/_core/tests/conftest.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_asyncgen.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_guest_mode.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_instrumentation.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_io.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_ki.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_local.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_mock_clock.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror.py +#usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts/__init__.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts/_common.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts/apport_excepthook.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts/custom_excepthook.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts/ipython_custom_exc.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts/simple_excepthook.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts/simple_excepthook_IPython.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_multierror_scripts/simple_excepthook_partial.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_parking_lot.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_run.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_thread_cache.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_tutil.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_unbounded_queue.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_util.py +usr/lib/python3.10/site-packages/trio/_core/tests/test_windows.py +usr/lib/python3.10/site-packages/trio/_core/tests/tutil.py +usr/lib/python3.10/site-packages/trio/_deprecate.py +usr/lib/python3.10/site-packages/trio/_file_io.py +usr/lib/python3.10/site-packages/trio/_highlevel_generic.py +usr/lib/python3.10/site-packages/trio/_highlevel_open_tcp_listeners.py +usr/lib/python3.10/site-packages/trio/_highlevel_open_tcp_stream.py +usr/lib/python3.10/site-packages/trio/_highlevel_open_unix_stream.py +usr/lib/python3.10/site-packages/trio/_highlevel_serve_listeners.py +usr/lib/python3.10/site-packages/trio/_highlevel_socket.py +usr/lib/python3.10/site-packages/trio/_highlevel_ssl_helpers.py +usr/lib/python3.10/site-packages/trio/_path.py +usr/lib/python3.10/site-packages/trio/_signals.py +usr/lib/python3.10/site-packages/trio/_socket.py +usr/lib/python3.10/site-packages/trio/_ssl.py +usr/lib/python3.10/site-packages/trio/_subprocess.py +usr/lib/python3.10/site-packages/trio/_subprocess_platform +usr/lib/python3.10/site-packages/trio/_subprocess_platform/__init__.py +usr/lib/python3.10/site-packages/trio/_subprocess_platform/kqueue.py +usr/lib/python3.10/site-packages/trio/_subprocess_platform/waitid.py +usr/lib/python3.10/site-packages/trio/_subprocess_platform/windows.py +usr/lib/python3.10/site-packages/trio/_sync.py +usr/lib/python3.10/site-packages/trio/_threads.py +usr/lib/python3.10/site-packages/trio/_timeouts.py +#usr/lib/python3.10/site-packages/trio/_tools +usr/lib/python3.10/site-packages/trio/_tools/__init__.py +usr/lib/python3.10/site-packages/trio/_tools/gen_exports.py +usr/lib/python3.10/site-packages/trio/_unix_pipes.py +usr/lib/python3.10/site-packages/trio/_util.py +usr/lib/python3.10/site-packages/trio/_version.py +usr/lib/python3.10/site-packages/trio/_wait_for_object.py +usr/lib/python3.10/site-packages/trio/_windows_pipes.py +usr/lib/python3.10/site-packages/trio/abc.py +usr/lib/python3.10/site-packages/trio/from_thread.py +usr/lib/python3.10/site-packages/trio/lowlevel.py +usr/lib/python3.10/site-packages/trio/socket.py +#usr/lib/python3.10/site-packages/trio/testing +usr/lib/python3.10/site-packages/trio/testing/__init__.py +usr/lib/python3.10/site-packages/trio/testing/_check_streams.py +usr/lib/python3.10/site-packages/trio/testing/_checkpoints.py +usr/lib/python3.10/site-packages/trio/testing/_memory_streams.py +usr/lib/python3.10/site-packages/trio/testing/_network.py +usr/lib/python3.10/site-packages/trio/testing/_sequencer.py +usr/lib/python3.10/site-packages/trio/testing/_trio_test.py +#usr/lib/python3.10/site-packages/trio/tests +usr/lib/python3.10/site-packages/trio/tests/__init__.py +usr/lib/python3.10/site-packages/trio/tests/conftest.py +usr/lib/python3.10/site-packages/trio/tests/module_with_deprecations.py +usr/lib/python3.10/site-packages/trio/tests/test_abc.py +usr/lib/python3.10/site-packages/trio/tests/test_channel.py +usr/lib/python3.10/site-packages/trio/tests/test_contextvars.py +usr/lib/python3.10/site-packages/trio/tests/test_deprecate.py +usr/lib/python3.10/site-packages/trio/tests/test_exports.py +usr/lib/python3.10/site-packages/trio/tests/test_file_io.py +usr/lib/python3.10/site-packages/trio/tests/test_highlevel_generic.py +usr/lib/python3.10/site-packages/trio/tests/test_highlevel_open_tcp_listeners.py +usr/lib/python3.10/site-packages/trio/tests/test_highlevel_open_tcp_stream.py +usr/lib/python3.10/site-packages/trio/tests/test_highlevel_open_unix_stream.py +usr/lib/python3.10/site-packages/trio/tests/test_highlevel_serve_listeners.py +usr/lib/python3.10/site-packages/trio/tests/test_highlevel_socket.py +usr/lib/python3.10/site-packages/trio/tests/test_highlevel_ssl_helpers.py +usr/lib/python3.10/site-packages/trio/tests/test_path.py +usr/lib/python3.10/site-packages/trio/tests/test_scheduler_determinism.py +usr/lib/python3.10/site-packages/trio/tests/test_signals.py +usr/lib/python3.10/site-packages/trio/tests/test_socket.py +usr/lib/python3.10/site-packages/trio/tests/test_ssl.py +usr/lib/python3.10/site-packages/trio/tests/test_subprocess.py +usr/lib/python3.10/site-packages/trio/tests/test_sync.py +usr/lib/python3.10/site-packages/trio/tests/test_testing.py +usr/lib/python3.10/site-packages/trio/tests/test_threads.py +usr/lib/python3.10/site-packages/trio/tests/test_timeouts.py +usr/lib/python3.10/site-packages/trio/tests/test_unix_pipes.py +usr/lib/python3.10/site-packages/trio/tests/test_util.py +usr/lib/python3.10/site-packages/trio/tests/test_wait_for_object.py +usr/lib/python3.10/site-packages/trio/tests/test_windows_pipes.py +#usr/lib/python3.10/site-packages/trio/tests/tools +usr/lib/python3.10/site-packages/trio/tests/tools/__init__.py +usr/lib/python3.10/site-packages/trio/tests/tools/test_gen_exports.py +usr/lib/python3.10/site-packages/trio/to_thread.py diff --git a/lfs/python3-trio b/lfs/python3-trio new file mode 100644 index 000000000..b9e8a09e2 --- /dev/null +++ b/lfs/python3-trio @@ -0,0 +1,86 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2020 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.21.0 +SUMMARY = async/await-native I/O library for Python + +THISAPP = trio-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = python3-trio +PAK_VER = 1 + +DEPS = python3-attr python3-async_generator python3-attrs python3-sniffio python3-sortedcontainers python3-outcome python3-idna + +SERVICES = + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 2f78da5b760c7d6a8ccf666052db42c70a64f24ab130891d945f51997ec09b1a08ee62269aec184aab7fa408a306f6216df0f67bbb7e5984db8d343676de76f2 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +b2 : $(subst %,%_BLAKE2,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, b2sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_BLAKE2,$(objects)) : + @$(B2SUM) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && python3 setup.py build + cd $(DIR_APP) && python3 setup.py install --root=/ + @rm -rf $(DIR_APP) + @$(POSTBUILD)