openbsd-ports/devel/py-extremes/Makefile
martynas 99a6e82e71 import py-extremes-1.1.1
The peak.util.extremes module provides a production-quality
implementation of the Min and Max objects from PEP 326. While PEP
326 was rejected for inclusion in the language or standard library,
the objects described in it are useful in a variety of applications.
In PEAK, they have been used to implement generic functions (in
RuleDispatch and PEAK-Rules), as well as to handle scheduling and
time operations in the Trellis. Because this has led to each project
copying the same code, we've now split the module out so it can be
used independently.

input, ok fgs@
2009-04-05 01:09:17 +00:00

37 lines
814 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/04/05 01:09:17 martynas Exp $
COMMENT = mix and max objects
MODPY_EGG_VERSION = 1.1.1
DISTNAME = Extremes-${MODPY_EGG_VERSION}
PKGNAME = py-extremes-${MODPY_EGG_VERSION}
CATEGORIES = devel
HOMEPAGE = http://pypi.python.org/pypi/Extremes
MAINTAINER = Martynas Venckus <martynas@openbsd.org>
# PSF
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=E/Extremes/}
EXTRACT_SUFX = .zip
UNZIP = unzip -a
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
post-extract:
@find ${WRKSRC} -type f -exec chmod 644 {} \;
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-extremes
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/py-extremes
.include <bsd.port.mk>