Port details on branch 2022Q2 |
- py-cxx Make it easier to extend Python with C++
- 7.1.8 devel =2 7.1.8Version of this port present on the latest quarterly branch.
- Maintainer: lwhsu@FreeBSD.org
- Port Added: 2001-10-07 07:53:22
- Last Update: 2023-10-11 12:58:48
- Commit Hash: 3b301a3
- People watching this port, also watch:: python, libao
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://cxx.sourceforge.net
- Description:
- PyCXX is a set of C++ facilities to make it easier to write Python
extensions. The chief way in which PyCXX makes it easier to write Python
extensions is that it greatly increases the probability that your program
will not make a reference-counting error and will not have to continually
check error returns from the Python C API.
PyCXX integrates Python with C++ in these ways:
- C++ exception handling is relied on to detect errors and clean up. In
a complicated function this is often a tremendous problem when writing
in C. With PyCXX, we let the compiler keep track of what objects need
to be dereferenced when an error occurs.
- The Standard Template Library (STL) and its many algorithms plug and
play with Python containers such as lists and tuples.
- The optional CXX_Extensions facility allows you to replace the clumsy
C tables with objects and method calls that define your modules and
extension objects.
- ¦ ¦ ¦ ¦
- 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.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}cxx>0:devel/py-cxx@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-cxx/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-cxx
- pkg install py39-cxx
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 py39-cxx listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-cxx
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1687255919
SHA256 (pycxx-7.1.8.tar.gz) = 4b91e1e1141c23fbd5039df635c4bb6e75632168548f56b83ce177193c0c98c6
SIZE (pycxx-7.1.8.tar.gz) = 154789
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:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- cad/freecad
Configuration Options:
- ===> The following configuration options are available for py39-cxx-7.1.8:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- devel_py-cxx
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|