mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
devel/py-objsize: New port: Calculate the total size of the object subtree in bytes (deep size)
This commit is contained in:
parent
f323e9d40f
commit
d1f0b3a88a
4 changed files with 30 additions and 0 deletions
|
@ -4872,6 +4872,7 @@
|
|||
SUBDIR += py-num2words
|
||||
SUBDIR += py-numba
|
||||
SUBDIR += py-objgraph
|
||||
SUBDIR += py-objsize
|
||||
SUBDIR += py-oci
|
||||
SUBDIR += py-odfpy
|
||||
SUBDIR += py-offtrac
|
||||
|
|
19
devel/py-objsize/Makefile
Normal file
19
devel/py-objsize/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
PORTNAME= objsize
|
||||
DISTVERSION= 0.6.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Calculate the total size of the object subtree in bytes (deep size)
|
||||
WWW= https://github.com/liran-funaro/objsize
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-objsize/distinfo
Normal file
3
devel/py-objsize/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1668908152
|
||||
SHA256 (objsize-0.6.1.tar.gz) = 56482d468acdc445c7da05a56e5b05ad38e5c0a27a761b5d8c538df494e19d2a
|
||||
SIZE (objsize-0.6.1.tar.gz) = 8225
|
7
devel/py-objsize/pkg-descr
Normal file
7
devel/py-objsize/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
Traversal over Python's objects subtree and calculate the total size of the
|
||||
subtree in bytes (deep size).
|
||||
|
||||
This module traverses all child objects using Python's internal GC
|
||||
implementation. It attempts to ignore shared objects (i.e., None, types,
|
||||
modules, classes, functions, lambdas), as they are common among all objects.
|
||||
It is implemented without recursive calls for high performance.
|
Loading…
Add table
Reference in a new issue