Skip to content

Commit

Permalink
Add devel/py-icecream
Browse files Browse the repository at this point in the history
  • Loading branch information
nomadium committed Oct 31, 2023
1 parent 1a0ac95 commit 749830d
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
32 changes: 32 additions & 0 deletions devel/py-icecream/Makefile
@@ -0,0 +1,32 @@
COMMENT= debugging tool for Python

MODPY_EGG_VERSION= 2.1.3
DISTNAME= icecream-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= devel

HOMEPAGE= https://github.com/gruns/icecream

MAINTAINER= Miguel Landaeta <miguel@miguel.cc>

# MIT
PERMIT_PACKAGE= Yes

MODULES= lang/python

MODPY_PI= Yes
MODPY_PYBUILD= setuptools
MODPY_PYTEST= Yes
# to-do: fix, not all tests are passing
#NO_TEST= Yes
SEPARATE_BUILD= Yes

RUN_DEPENDS = devel/py-asttokens${MODPY_FLAVOR} \
devel/py-colorama${MODPY_FLAVOR} \
devel/py-executing${MODPY_FLAVOR} \
textproc/py-pygments${MODPY_FLAVOR}

FLAVORS= python3
FLAVOR= python3

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions devel/py-icecream/distinfo
@@ -0,0 +1,2 @@
SHA256 (icecream-2.1.3.tar.gz) = CqSnwzdOw2FTodCPgeMIDoPYrB7v2X0vT+lUTo+bSd4=
SIZE (icecream-2.1.3.tar.gz) = 14722
9 changes: 9 additions & 0 deletions devel/py-icecream/pkg/DESCR
@@ -0,0 +1,9 @@
icecream is a small library that provides print debugging
features and enhanced inspection for Python.

icecream allows to inspect variables, expressions, and program
execution with a single, simple function call.

Data structures are pretty printed, output is syntax highlighted
and it optionally includes program context: filename, line number,
and parent function.
23 changes: 23 additions & 0 deletions devel/py-icecream/pkg/PLIST
@@ -0,0 +1,23 @@
lib/python${MODPY_VERSION}/site-packages/icecream/
lib/python${MODPY_VERSION}/site-packages/icecream-${MODPY_EGG_VERSION}.dist-info/
lib/python${MODPY_VERSION}/site-packages/icecream-${MODPY_EGG_VERSION}.dist-info/LICENSE.txt
lib/python${MODPY_VERSION}/site-packages/icecream-${MODPY_EGG_VERSION}.dist-info/METADATA
lib/python${MODPY_VERSION}/site-packages/icecream-${MODPY_EGG_VERSION}.dist-info/RECORD
lib/python${MODPY_VERSION}/site-packages/icecream-${MODPY_EGG_VERSION}.dist-info/WHEEL
lib/python${MODPY_VERSION}/site-packages/icecream-${MODPY_EGG_VERSION}.dist-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/icecream/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}__version__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}__version__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}builtins.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}builtins.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}coloring.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}coloring.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}icecream.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/icecream/${MODPY_PYCACHE}icecream.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/icecream/__version__.py
lib/python${MODPY_VERSION}/site-packages/icecream/builtins.py
lib/python${MODPY_VERSION}/site-packages/icecream/coloring.py
lib/python${MODPY_VERSION}/site-packages/icecream/icecream.py

0 comments on commit 749830d

Please sign in to comment.