Skip to content

Commit

Permalink
devel/py-etuples: New port: Python S-expression emulation using tuple…
Browse files Browse the repository at this point in the history
…-like objects
  • Loading branch information
yurivict committed Jun 21, 2023
1 parent 6b96fc4 commit 9237f9b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -4596,6 +4596,7 @@
SUBDIR += py-epdb
SUBDIR += py-epsilon
SUBDIR += py-etils
SUBDIR += py-etuples
SUBDIR += py-evdev
SUBDIR += py-eventlib
SUBDIR += py-ewah-bool-utils
Expand Down
27 changes: 27 additions & 0 deletions devel/py-etuples/Makefile
@@ -0,0 +1,27 @@
PORTNAME= etuples
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.9
#MASTER_SITES= PYPI # no tests
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@FreeBSD.org
COMMENT= Python S-expression emulation using tuple-like objects
WWW= https://github.com/pythological/etuples

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cons>0:devel/py-cons@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multipledispatch>0:devel/py-multipledispatch@${PY_FLAVOR}

USES= python:3.8+
USE_PYTHON= distutils autoplist pytest # tests fail: TypeError: Tried to dispatch on non-type, see https://github.com/pythological/etuples/issues/24

USE_GITHUB= yes
GH_ACCOUNT= pythological
GH_PROJECT= etuples

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-etuples/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1687310534
SHA256 (pythological-etuples-v0.3.9_GH0.tar.gz) = 9ccca3515b7bf7d3ad64b9e6cd84e116cb14b4ec05ec9eeda488c1d757a75dc4
SIZE (pythological-etuples-v0.3.9_GH0.tar.gz) = 45310
6 changes: 6 additions & 0 deletions devel/py-etuples/pkg-descr
@@ -0,0 +1,6 @@
Python S-expression emulation using tuple-like objects.

In computer programming, an S-expression (or symbolic expression, abbreviated
as sexpr or sexp) is an expression in a like-named notation for nested list
(tree-structured) data. S-expressions were invented for and popularized by the
programming language Lisp, which uses them for source code as well as data.

0 comments on commit 9237f9b

Please sign in to comment.