git: 8b5e71d63e9e - main - devel/py-orderly-set: New port: Package containing multiple implementations of Ordered Set
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Sep 2024 02:46:07 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8b5e71d63e9e63b00424a5b53a9e006a4fd802a7
commit 8b5e71d63e9e63b00424a5b53a9e006a4fd802a7
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-10 03:53:14 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-11 02:43:42 +0000
devel/py-orderly-set: New port: Package containing multiple implementations of Ordered Set
---
devel/Makefile | 1 +
devel/py-orderly-set/Makefile | 21 +++++++++++++++++++++
devel/py-orderly-set/distinfo | 3 +++
devel/py-orderly-set/pkg-descr | 5 +++++
4 files changed, 30 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 06556185f544..6ba247dc5a9d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5269,6 +5269,7 @@
SUBDIR += py-ordered-set
SUBDIR += py-ordereddict
SUBDIR += py-orderedmultidict
+ SUBDIR += py-orderly-set
SUBDIR += py-orjson
SUBDIR += py-os-brick
SUBDIR += py-os-client-config
diff --git a/devel/py-orderly-set/Makefile b/devel/py-orderly-set/Makefile
new file mode 100644
index 000000000000..adfe91162a9f
--- /dev/null
+++ b/devel/py-orderly-set/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= orderly-set
+DISTVERSION= 5.2.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Package containing multiple implementations of Ordered Set
+WWW= https://github.com/seperman/orderly-set
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= distutils autoplist pytest # 3 errors in tests, see https://github.com/seperman/orderly-set/issues/6
+
+NO_ARCH= yes
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/py-orderly-set/distinfo b/devel/py-orderly-set/distinfo
new file mode 100644
index 000000000000..d605773c528c
--- /dev/null
+++ b/devel/py-orderly-set/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725939668
+SHA256 (orderly_set-5.2.2.tar.gz) = 52a18b86aaf3f5d5a498bbdb27bf3253a4e5c57ab38e5b7a56fa00115cd28448
+SIZE (orderly_set-5.2.2.tar.gz) = 19103
diff --git a/devel/py-orderly-set/pkg-descr b/devel/py-orderly-set/pkg-descr
new file mode 100644
index 000000000000..594337f33383
--- /dev/null
+++ b/devel/py-orderly-set/pkg-descr
@@ -0,0 +1,5 @@
+Orderly Set is a package containing multiple implementations of Ordered Set.
+
+This implementation keeps the order in all set operations except set difference
+operations. As a result, it can do set difference operations much faster than
+other implementations.