git: 5a98dadb1969 - main - devel/py-ttkbootstrap: New port: style theme extension for Tkinter
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Dec 2022 10:10:20 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5a98dadb196939c1ce620ad1e4873855ccbace86
commit 5a98dadb196939c1ce620ad1e4873855ccbace86
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2022-12-06 10:03:52 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2022-12-06 10:03:52 +0000
devel/py-ttkbootstrap: New port: style theme extension for Tkinter
A supercharged theme extension for Tkinter that enables on-demand modern
flat style themes inspired by Bootstrap.
https://ttkbootstrap.readthedocs.io/en/latest/
---
devel/Makefile | 1 +
devel/py-ttkbootstrap/Makefile | 19 +++++++++++++++++++
devel/py-ttkbootstrap/distinfo | 3 +++
devel/py-ttkbootstrap/pkg-descr | 22 ++++++++++++++++++++++
4 files changed, 45 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index d281b67a9935..df3d3be8c4c0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5441,6 +5441,7 @@
SUBDIR += py-trimesh
SUBDIR += py-trove-classifiers
SUBDIR += py-ttictoc
+ SUBDIR += py-ttkbootstrap
SUBDIR += py-ttystatus
SUBDIR += py-twiggy
SUBDIR += py-twilio
diff --git a/devel/py-ttkbootstrap/Makefile b/devel/py-ttkbootstrap/Makefile
new file mode 100644
index 000000000000..b7a444fdb1c1
--- /dev/null
+++ b/devel/py-ttkbootstrap/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= ttkbootstrap
+DISTVERSION= 1.10.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Flat style theme extension for Python Tkinter
+WWW= https://ttkbootstrap.readthedocs.io/en/latest/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=8.2.0:graphics/py-pillow@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-ttkbootstrap/distinfo b/devel/py-ttkbootstrap/distinfo
new file mode 100644
index 000000000000..17ade1abc50d
--- /dev/null
+++ b/devel/py-ttkbootstrap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1670315150
+SHA256 (ttkbootstrap-1.10.0.tar.gz) = 5a9b580b6183b258a200dc5e344b7b52856272bfe7e38aedfb44046d4b543ed7
+SIZE (ttkbootstrap-1.10.0.tar.gz) = 125361
diff --git a/devel/py-ttkbootstrap/pkg-descr b/devel/py-ttkbootstrap/pkg-descr
new file mode 100644
index 000000000000..67049d23ba69
--- /dev/null
+++ b/devel/py-ttkbootstrap/pkg-descr
@@ -0,0 +1,22 @@
+A supercharged theme extension for Tkinter that enables on-demand modern flat
+style themes inspired by Bootstrap.
+
+Features
+
+ * Over a dozen curated dark and light themes.
+
+ * Loads of beautiful pre-defined widget styles such as outline and round
+ toggle buttons.
+
+ * Apply colors and types using simple keywords such as primary and striped
+ instead of the legacy approach of primary.Striped.Horizontal.TProgressbar.
+ If you've used Bootstrap for web development, you are already familiar with
+ this approach using css classes.
+
+ * ttkbootstrap comes with several new beautifully designed widgets such as
+ Meter, DateEntry, and Floodgauge. Additionally, dialogs are now themed and
+ fully customizable.
+
+ * Want to create your own theme? Easy! ttkboostrap includes a built-in theme
+ creator that enables you to easily build, load, expore, and apply your own
+ custom themes.