pkgsrc-wip/py-traits/Makefile
Kamel Ibn Aziz Derouiche b60eebb87a Import py26-traits-3.4.0 as wip/py-traits.
The traits package provides a metaclass with special attributes that are
called traits. A trait is a type definition that can be used for normal
Python object attributes, giving the attributes some additional characteristics:

 * Initialization: A trait attribute can have a default value
 * Validation: A trait attribute is manifestly typed.
 * Delegation: The value of a trait attribute can be contained in another
   object
 * Notification: Setting the value of a trait attribute can fired
   callbacks
 * Visualization: With the TraitsUI package, GUIs can be generated
   automatically from traited objects.
2010-08-09 20:30:37 +00:00

27 lines
840 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2010/08/09 20:30:37 jihbed Exp $
#
.include "../../wip/py-traits/Makefile.version"
DISTNAME= Traits-${TRAITS_VERSION}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/T/t/}
HOMEPAGE= http://code.enthought.com/projects/traits/
COMMENT= Manifest typing and reactive programming for Python
.include "../../wip/py-traits/Makefile.common"
INSTALLATION_DIRS= share/doc/py-traits
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/traitsdocreadme.txt \
${DESTDIR}${PREFIX}/share/doc/py-traits
${INSTALL_DATA} ${WRKSRC}/docs/Pydoh_T3UMdoc_HOWTO.txt \
${DESTDIR}${PREFIX}/share/doc/py-traits
${INSTALL_DATA} ${WRKSRC}/docs/*.pdf \
${DESTDIR}${PREFIX}/share/doc/py-traits
BUILDLINK_API_DEPENDS.pynumpy+= ${PYPKGPREFIX}-numpy>=1.0
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"