This ttk wrapper provides classes to allow using the Tk themed widget set, as well some extensions, under Python.Ttk is based on a revised and enhanced version of TIP #48 (http://tip.tcl.tk/48) specified style engine. Its basic idea is to separate, to the extent possible, the code implementing a widget's behavior from the code implementing its appearance. Widget class bindings are primarily responsible for maintaining the widget state and invoking callbacks, all aspects of the widgets appearance lies at Themes.
28 lines
691 B
Makefile
28 lines
691 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2012/01/17 13:29:56 jihbed Exp $
|
|
#
|
|
|
|
DISTNAME= pyttk-0.3.2
|
|
PKGNAME= ${PYPKGPREFIX}-ttk-0.3.2
|
|
CATEGORIES= x11 python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/p/pyttk/
|
|
|
|
MAINTAINER= kamel.derouiche@gmail.com
|
|
HOMEPAGE= http://code.google.com/p/python-ttk/
|
|
COMMENT= Ttk Python wrapper
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/pyttk-0.3.2
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 31 27 26 25
|
|
PYDISTUTILSPKG= yes
|
|
|
|
do-test:
|
|
${RUN} cd ${WRKSRC}/test ; ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
|
|
|
|
.include "../../x11/py-Tk/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|