notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-duet Simple future-based async library for python
0.2.9 net on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.2.9Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2021-11-15 00:30:20
Last Update: 2023-07-27 07:33:33
Commit Hash: d67fe1e
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: APACHE20
WWW:
https://github.com/google/duet
Description:
Duet takes inspiration from the amazing trio library and the structured concurrency approach to async programming that it uses. However, duet differs from trio in two major ways: * Instead of a full-blown implementation of asynchronous IO, duet relies on the Future interface for parallelism, and provides a way to run async/await coroutines around those Futures. This is useful if you are using an API that returns futures, such as RPC libraries like gRPC. The standard Future interface does not implement __await__ directly, so Future instances must be wrapped in duet.AwaitableFuture. * duet is re-entrant. At the top level, you run async code by calling duet.run(foo). Inside foo suppose you call a function that has not yet been fully refactored to be asynchronous, but itself calls duet.run(bar). Most async libraries, including trio and asyncio, will raise an exception if you try to "re-enter" the event loop in this way, but duet allows it. We have found that this can simplify the process of refactoring code to be asynchronous because you don't have to completely separate the sync and async parts of your codebase all at once.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}duet>0:net/py-duet@${PY_FLAVOR}
To install the port:
cd /usr/ports/net/py-duet/ && make install clean
To add the package, run one of these commands:
  • pkg install net/py-duet
  • pkg install py39-duet
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-duet listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-duet
Package flavors (<flavor>: <package>)
  • py39: py39-duet
distinfo:
TIMESTAMP = 1690443036 SHA256 (duet-0.2.9.tar.gz) = d6fa39582e6a3dce1096c47e5fbcbda648a633eed94a38943e68662afa2587f3 SIZE (duet-0.2.9.tar.gz) = 24438

Packages (timestamps in pop-ups are UTC):
py39-duet
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.2.8--0.2.90.2.90.2.9
FreeBSD:14:latest--0.2.7--0.2.7-0.2.7
FreeBSD:14:quarterly-----0.2.90.2.90.2.9
FreeBSD:15:latest--n/a-n/a0.2.90.2.90.2.9
 

py311-duet
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.90.2.9-0.2.90.2.9---
FreeBSD:13:quarterly0.2.90.2.9-0.2.90.2.9---
FreeBSD:14:latest0.2.90.2.9-0.2.90.2.9---
FreeBSD:14:quarterly0.2.90.2.9-0.2.90.2.9---
FreeBSD:15:latest0.2.90.2.9n/a0.2.9n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. py39-pytest>0 : devel/py-pytest@py39
  2. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
This port is required by:
for Run
  1. science/py-cirq-core

Configuration Options:
No options to configure
Options name:
net_py-duet
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/duet/
  2. https://pypi.org/packages/source/d/duet/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.9
27 Jul 2023 07:33:33
commit hash: d67fe1e50b43926f66fcdf9b6d5f275c1099dadbcommit hash: d67fe1e50b43926f66fcdf9b6d5f275c1099dadbcommit hash: d67fe1e50b43926f66fcdf9b6d5f275c1099dadbcommit hash: d67fe1e50b43926f66fcdf9b6d5f275c1099dadb files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
net/py-duet: Update 0.2.8 → 0.2.9

Reported by:	portscout
0.2.8
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.2.8
21 Jun 2023 07:44:30
commit hash: 86f99846efe2f381565e9a443c3374d8da7df7f8commit hash: 86f99846efe2f381565e9a443c3374d8da7df7f8commit hash: 86f99846efe2f381565e9a443c3374d8da7df7f8commit hash: 86f99846efe2f381565e9a443c3374d8da7df7f8 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
net/py-duet: Update 0.2.7 → 0.2.8

Reported by:	portscout
0.2.7
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.2.7
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.2.7
19 Jun 2022 04:52:34
commit hash: 7b72d75d034772bfe755b8399feddf56d8c5f1d9commit hash: 7b72d75d034772bfe755b8399feddf56d8c5f1d9commit hash: 7b72d75d034772bfe755b8399feddf56d8c5f1d9commit hash: 7b72d75d034772bfe755b8399feddf56d8c5f1d9 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
net/py-duet: Update 0.2.6 -> 0.2.7

Reported by:	portscout
0.2.6
30 Apr 2022 16:03:25
commit hash: 1334bc60e5a5d48b8ad865af50eb6b6531b2948ecommit hash: 1334bc60e5a5d48b8ad865af50eb6b6531b2948ecommit hash: 1334bc60e5a5d48b8ad865af50eb6b6531b2948ecommit hash: 1334bc60e5a5d48b8ad865af50eb6b6531b2948e files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
net/py-duet: Update 0.2.5 -> 0.2.6

Reported by:	portscout
0.2.5
19 Mar 2022 23:29:22
commit hash: 62acc757ebff6d64d5a53f032ac656ca76e7a092commit hash: 62acc757ebff6d64d5a53f032ac656ca76e7a092commit hash: 62acc757ebff6d64d5a53f032ac656ca76e7a092commit hash: 62acc757ebff6d64d5a53f032ac656ca76e7a092 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
net/py-duet: Update 0.2.3 -> 0.2.5

Reported by:	portscout
0.2.3
15 Nov 2021 00:27:21
commit hash: 383c0f67ccfe5ec71f127cec7b3ce7be8bc530b8commit hash: 383c0f67ccfe5ec71f127cec7b3ce7be8bc530b8commit hash: 383c0f67ccfe5ec71f127cec7b3ce7be8bc530b8commit hash: 383c0f67ccfe5ec71f127cec7b3ce7be8bc530b8 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
net/py-duet: New port: Simple future-based async library for python

Number of commits found: 10