| Port details |
- py-pycocotools Official APIs for the MS-COCO dataset
- 2.0.11_2 devel
=0 2.0.11Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2023-08-16 18:33:56
- Last Update: 2026-05-07 05:43:15
- Commit Hash: 82a7474
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://github.com/ppwwyyxx/cocoapi/tree/master/PythonAPI
- Description:
- pycocotools is a fork of the original cocoapi, with bug fixes and packaging
improvements.
Changes in this fork include:
- Add CircleCI tests
- Support pip-installation correctly
- Support windows
- Don't import matplotlib unless needed
- Close file handle after openning
- Fix a small bug in rleToBbox
- Fix a segfault in RLE decoding
- Fix deprecated usage of other libraries
For compatibility, we will not make any API changes or non-bug behavior changes
to the existing APIs of the official cocoapi.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pycocotools>0:devel/py-pycocotools@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pycocotools/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pycocotools
- pkg install py311-pycocotools
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-pycocotools listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-pycocotools
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1766036477
SHA256 (pycocotools-2.0.11.tar.gz) = 34254d76da85576fcaf5c1f3aa9aae16b8cb15418334ba4283b800796bd1993d
SIZE (pycocotools-2.0.11.tar.gz) = 25381
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-numpy>=2.0.0,1<3,1 : math/py-numpy@py311
- py311-setuptools>=43.0.0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- py311-cython>=3.2.4 : lang/cython@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-numpy>=0,1 : math/py-numpy@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- misc/py-mmdet
Configuration Options:
- ===> The following configuration options are available for py311-pycocotools-2.0.11_2:
ALL=off: All optional dependencies
===> Use 'make config' to modify these settings
- Options name:
- devel_py-pycocotools
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
2.0.11_2 07 May 2026 05:43:15
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pycocotools: Update version requirement of BUILD_DEPENDS |
2.0.11_2 05 May 2026 21:19:45
    |
Po-Chuan Hsieh (sunpoet)  |
*/py-*: Update version requirement of *_DEPENDS |
2.0.11_2 05 May 2026 19:29:37
    |
Max Brazhnikov (makc)  |
*/*: bump PORTREVISION after switching to NumPy 2.x |
2.0.11_1 05 May 2026 19:29:37
    |
Max Brazhnikov (makc)  |
*/*: Switch to NumPy 2.x
PR: 294328
Exp-run: antoine |
2.0.11_1 03 Apr 2026 18:52:22
    |
Charlie Li (vishwin)  |
math/py-numpy: switch all consumers to math/py-numpy1
...and bump PORTREVISIONs of consumers with hard RUN_DEPENDS
PR: 281470 |
2.0.11 15 Jan 2026 17:22:12
    |
Po-Chuan Hsieh (sunpoet)  |
Mk/Uses/python.mk: Remove USE_PYTHON=cython3{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython*
- Bump PORTREVISION dependent ports of USE_PYTHON=cython_run for dependency
change
PR: 291778 |
2.0.11 19 Dec 2025 11:12:42
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pycocotools: Update to 2.0.11
Changes: https://github.com/ppwwyyxx/cocoapi/commits/master/PythonAPI |
2.0.10_1 26 Jun 2025 17:30:02
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pycocotools: Remove cython hack
- Bump PORTREVISION for potential package change |
2.0.10 17 Jun 2025 17:47:52
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pycocotools: Update to 2.0.10
Changes: https://github.com/ppwwyyxx/cocoapi/commits/master/PythonAPI |
2.0.9 13 Jun 2025 06:03:46
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pycocotools: Update to 2.0.9
Changes: https://github.com/ppwwyyxx/cocoapi/commits/master/PythonAPI |
2.0.8 18 Jun 2024 14:25:55
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pycocotools: Update to 2.0.8
Changes: https://github.com/ppwwyyxx/cocoapi/commits/master/PythonAPI |
2.0.7 21 Aug 2023 17:04:10
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pycocotools: Update to 2.0.7
Changes: https://github.com/ppwwyyxx/cocoapi/commits/master/PythonAPI |
2.0.6 16 Aug 2023 18:25:06
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pycocotools: Add py-pycocotools 2.0.6
pycocotools is a fork of the original cocoapi, with bug fixes and packaging
improvements.
Changes in this fork include:
- Add CircleCI tests
- Support pip-installation correctly
- Support windows
- Don't import matplotlib unless needed
- Close file handle after openning
- Fix a small bug in rleToBbox
- Fix a segfault in RLE decoding
- Fix deprecated usage of other libraries
For compatibility, we will not make any API changes or non-bug behavior changes
to the existing APIs of the official cocoapi. |