openbsd-ports/devel/py-addons/Makefile
martynas 36b3a0c4e4 import py-addons-0.6
Separating concerns into different objects makes it easier
to write reusable and separately-testable components.  The AddOns
package (``peak.util.addons``) lets you manage concerns using
``AddOn`` classes.

input, ok fgs@
2009-04-05 00:45:48 +00:00

39 lines
888 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/04/05 00:45:48 martynas Exp $
COMMENT = extend python objects with addons
MODPY_EGG_VERSION = 0.6
DISTNAME = AddOns-${MODPY_EGG_VERSION}
PKGNAME = py-addons-${MODPY_EGG_VERSION}
CATEGORIES = devel
HOMEPAGE = http://pypi.python.org/pypi/AddOns
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:=A/AddOns/}
EXTRACT_SUFX = .zip
UNZIP = unzip -a
MODULES = lang/python
RUN_DEPENDS = ::devel/py-decoratortools
BUILD_DEPENDS = ${RUN_DEPENDS}
MODPY_SETUPTOOLS = Yes
post-extract:
@find ${WRKSRC} -type f -exec chmod 644 {} \;
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-addons
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/py-addons/
.include <bsd.port.mk>