diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-06-21 01:16:29 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-06-21 01:34:32 +0000 |
| commit | 6b96fc465e9426ded06720791d80844430e1a5ab (patch) | |
| tree | 83590159e463c0ad05b3f831c1353c83debdb089 | |
| parent | cf957f22a8e8653fbf7d1b8beb4915de3afaa076 (diff) | |
devel/py-cons: New port: Implementation of Lisp/Scheme-like cons in Python
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-cons/Makefile | 27 | ||||
| -rw-r--r-- | devel/py-cons/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-cons/pkg-descr | 6 |
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 61cf65eb9f0f..b3a5d2050fa4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4480,6 +4480,7 @@ SUBDIR += py-confusable_homoglyphs SUBDIR += py-confuse SUBDIR += py-connection_pool + SUBDIR += py-cons SUBDIR += py-constantly SUBDIR += py-construct SUBDIR += py-construct-classes diff --git a/devel/py-cons/Makefile b/devel/py-cons/Makefile new file mode 100644 index 000000000000..47e33ef362fc --- /dev/null +++ b/devel/py-cons/Makefile @@ -0,0 +1,27 @@ +PORTNAME= cons +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.5 +#MASTER_SITES= PYPI # no tests +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Implementation of Lisp/Scheme-like cons in Python +WWW= https://github.com/pythological/python-cons/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}versioneer>=0:devel/py-versioneer@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}logical-unification>=0.4.0:math/py-logical-unification@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= distutils autoplist pytest + +USE_GITHUB= yes +GH_ACCOUNT= pythological +GH_PROJECT= python-cons + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-cons/distinfo b/devel/py-cons/distinfo new file mode 100644 index 000000000000..60460b6270c3 --- /dev/null +++ b/devel/py-cons/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1687305014 +SHA256 (pythological-python-cons-v0.4.5_GH0.tar.gz) = cd1861d3a1950f5830f2d34b19109e887e365b1e060d3894e6de7993d3d878c6 +SIZE (pythological-python-cons-v0.4.5_GH0.tar.gz) = 40309 diff --git a/devel/py-cons/pkg-descr b/devel/py-cons/pkg-descr new file mode 100644 index 000000000000..093694d006b9 --- /dev/null +++ b/devel/py-cons/pkg-descr @@ -0,0 +1,6 @@ +The cons package attempts to emulate the semantics of Lisp/Scheme's cons as +closely as possible while incorporating all the built-in Python sequence types. + +In computer programming, cons is a fundamental function in most dialects of the +Lisp programming language. cons constructs memory objects which hold two values +or pointers to two values. |
