benoit a4fb93d6c6 Import py-enum34.
Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4.

An enumeration is a set of symbolic names (members) bound to unique,
constant values. Within an enumeration, the members can be compared by
identity, and the enumeration itself can be iterated over.

from Nils R, ok sthen@
2014-05-12 16:19:21 +00:00

24 lines
467 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/05/12 16:19:21 benoit Exp $
COMMENT = Python 3.4 Enum backported to previous versions
MODPY_EGG_VERSION = 1.0
DISTNAME = enum34-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = https://pypi.python.org/pypi/enum34
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=e/enum34/}
MODULES = lang/python
do-test:
cd ${WRKSRC} && ${MODPY_BIN} enum/test_enum.py
.include <bsd.port.mk>