mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 17:36:28 -04:00
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
21 lines
445 B
Makefile
21 lines
445 B
Makefile
PORTNAME= undefined
|
|
PORTVERSION= 0.0.8
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Simple package
|
|
WWW= https://github.com/Carreau/undefined
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0:devel/py-flit-core@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|