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@
This commit is contained in:
parent
358b437821
commit
a4fb93d6c6
23
devel/py-enum34/Makefile
Normal file
23
devel/py-enum34/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $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>
|
2
devel/py-enum34/distinfo
Normal file
2
devel/py-enum34/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (enum34-1.0.tar.gz) = OEtZNwOwV+CxnZD/YoRLHIeW2i5r2ZV9bOkRm96t5jU=
|
||||
SIZE (enum34-1.0.tar.gz) = 32331
|
5
devel/py-enum34/pkg/DESCR
Normal file
5
devel/py-enum34/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
13
devel/py-enum34/pkg/PLIST
Normal file
13
devel/py-enum34/pkg/PLIST
Normal file
@ -0,0 +1,13 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/05/12 16:19:21 benoit Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/LICENSE
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/README
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/doc/
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/doc/enum.rst
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/enum.py
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/enum.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/test_enum.py
|
||||
lib/python${MODPY_VERSION}/site-packages/enum/test_enum.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/enum34-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
Loading…
Reference in New Issue
Block a user