Wednesday, November 01, 2023

NEW: devel/py-icecream

From 15850510d80bd2c0d3f1e178fcb36cbf80bd851f Mon Sep 17 00:00:00 2001
From: Miguel Landaeta <miguel@miguel.cc>
Date: Tue, 31 Oct 2023 22:19:33 +0000
Subject: [PATCH] Add devel/py-icecream

---
devel/py-icecream/Makefile | 32 ++++++++++++++++++++++++++++++++
devel/py-icecream/distinfo | 2 ++
devel/py-icecream/pkg/DESCR | 9 +++++++++
devel/py-icecream/pkg/PLIST | 23 +++++++++++++++++++++++
4 files changed, 66 insertions(+)
create mode 100644 devel/py-icecream/Makefile
create mode 100644 devel/py-icecream/distinfo
create mode 100644 devel/py-icecream/pkg/DESCR
create mode 100644 devel/py-icecream/pkg/PLIST

diff --git a/devel/py-icecream/Makefile b/devel/py-icecream/Makefile
new file mode 100644
index 000000000000..98a3b8dcb87d
--- /dev/null
+++ b/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= No
+MODPY_SETUPUTILS= Yes
+MODPY_SETUP_ARGS= test
+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>
diff --git a/devel/py-icecream/distinfo b/devel/py-icecream/distinfo
new file mode 100644
index 000000000000..09359bfabf71
--- /dev/null
+++ b/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
diff --git a/devel/py-icecream/pkg/DESCR b/devel/py-icecream/pkg/DESCR
new file mode 100644
index 000000000000..8eadfe0cdec0
--- /dev/null
+++ b/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.
diff --git a/devel/py-icecream/pkg/PLIST b/devel/py-icecream/pkg/PLIST
new file mode 100644
index 000000000000..a3d84843459f
--- /dev/null
+++ b/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
Hi,

Please find attached a new port for icecream python debugging library.

Is it OK to import it?



Comment:
debugging tool for Python

Description:
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.

Maintainer: Miguel Landaeta <miguel@miguel.cc>

WWW: https://github.com/gruns/icecream




diff --git a/devel/py-icecream/pkg/PLIST b/devel/py-icecream/pkg/PLIST
From 15850510d80bd2c0d3f1e178fcb36cbf80bd851f Mon Sep 17 00:00:00 2001
From: Miguel Landaeta <miguel@miguel.cc>
Date: Tue, 31 Oct 2023 22:19:33 +0000
Subject: [PATCH] Add devel/py-icecream

---
devel/py-icecream/Makefile | 32 ++++++++++++++++++++++++++++++++
devel/py-icecream/distinfo | 2 ++
devel/py-icecream/pkg/DESCR | 9 +++++++++
devel/py-icecream/pkg/PLIST | 23 +++++++++++++++++++++++
4 files changed, 66 insertions(+)
create mode 100644 devel/py-icecream/Makefile
create mode 100644 devel/py-icecream/distinfo
create mode 100644 devel/py-icecream/pkg/DESCR
create mode 100644 devel/py-icecream/pkg/PLIST

diff --git a/devel/py-icecream/Makefile b/devel/py-icecream/Makefile
new file mode 100644
index 000000000000..98a3b8dcb87d
--- /dev/null
+++ b/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= No
+MODPY_SETUPUTILS= Yes
+MODPY_SETUP_ARGS= test
+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>
diff --git a/devel/py-icecream/distinfo b/devel/py-icecream/distinfo
new file mode 100644
index 000000000000..09359bfabf71
--- /dev/null
+++ b/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
diff --git a/devel/py-icecream/pkg/DESCR b/devel/py-icecream/pkg/DESCR
new file mode 100644
index 000000000000..8eadfe0cdec0
--- /dev/null
+++ b/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.
diff --git a/devel/py-icecream/pkg/PLIST b/devel/py-icecream/pkg/PLIST
new file mode 100644
index 000000000000..a3d84843459f
--- /dev/null
+++ b/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





--
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x6E608B637D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche

No comments:

Post a Comment