BSD Ports

devel/py-undefined 0.0.8 FreeBSD

Simple package

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
5.9 KiB, 12.7 KiB installed

Description

Ever needed a global object that act as None but not quite? Like for example keyword argument for function, where None make sense, so you need a default value.

One solution is to create as singleton object: mysingleton = object()

Though it becomes difficult to track the singleton across libraries, and teach users where to import this from. It's also relatively annoying use this singleton across library.

Introducing undefined: >>> import undefined >>> from undefined import Undefined >>> undefined is Undefined True

In the other systems

SystemPortVersion
FreeBSDdevel/py-undefined0.0.8
DragonFlydevel/py-undefined0.0.8
MidnightBSDdevel/py-undefined0.0.8_1
HardenedBSDdevel/py-undefined0.0.8
GhostBSDdevel/py-undefined0.0.8

Install

Binary package:

pkg install py312-undefined

From the ports tree:

cd /usr/ports/devel/py-undefined/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-undefined>0:devel/py-undefined

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0.80.0.8-0.0.80.0.8
FreeBSD:14:quarterly0.0.80.0.8n/a0.0.80.0.8
FreeBSD:15:latest0.0.80.0.8n/a0.0.80.0.8
FreeBSD:15:quarterly0.0.80.0.8n/an/an/a
FreeBSD:16:latest0.0.80.0.8n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
undefined-0.0.8.tar.gz3137c6f237c0e3d7e7519694b21bd471dc25ee3c3379d9c23b74ebf02aa349c5cff7
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.