aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-12-20 00:41:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-12-20 01:46:24 +0700
commit9d1b856428de86004a266b6e0064461794ae9b41 (patch)
tree0cc75f01b1f1c022be70f458a77265043fba947d /python
parent720fe0106a785d3a146036d966ec645cf88bf2c2 (diff)
python/freesimplegui: Added (GUI Software for Python).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/freesimplegui/README7
-rw-r--r--python/freesimplegui/freesimplegui.SlackBuild64
-rw-r--r--python/freesimplegui/freesimplegui.info10
-rw-r--r--python/freesimplegui/slack-desc19
4 files changed, 100 insertions, 0 deletions
diff --git a/python/freesimplegui/README b/python/freesimplegui/README
new file mode 100644
index 0000000000..ad9469e6ec
--- /dev/null
+++ b/python/freesimplegui/README
@@ -0,0 +1,7 @@
+freesimplegui (the free-forever python simple gui software)
+
+FreeSimpleGUI is a Python package that enables Python programmers
+of all levels to create GUIs. You specify your GUI window using
+a "layout" which contains widgets (they're called "Elements" in
+FreeSimpleGUI). Your layout is used to create a window using one of
+the 4 supported frameworks to display and interact with your window.
diff --git a/python/freesimplegui/freesimplegui.SlackBuild b/python/freesimplegui/freesimplegui.SlackBuild
new file mode 100644
index 0000000000..65b0c0e2d0
--- /dev/null
+++ b/python/freesimplegui/freesimplegui.SlackBuild
@@ -0,0 +1,64 @@
+#!/bin/bash
+
+# Slackware build script for freesimplegui
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=freesimplegui
+VERSION=${VERSION:-5.2.0.post1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# No need for flags or libdir, setuptools knows what to do.
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . ! -type l -a \
+ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \
+ \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \)
+
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a NOTICE* README* license* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/python/freesimplegui/freesimplegui.info b/python/freesimplegui/freesimplegui.info
new file mode 100644
index 0000000000..ff46e075d8
--- /dev/null
+++ b/python/freesimplegui/freesimplegui.info
@@ -0,0 +1,10 @@
+PRGNAM="freesimplegui"
+VERSION="5.2.0.post1"
+HOMEPAGE="https://pypi.org/project/FreeSimpleGUI/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/f/freesimplegui/freesimplegui-5.2.0.post1.tar.gz"
+MD5SUM="f50b2b915b03ef4a5006925a535ffa1e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-setuptools-opt"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/python/freesimplegui/slack-desc b/python/freesimplegui/slack-desc
new file mode 100644
index 0000000000..fe8b6f1be9
--- /dev/null
+++ b/python/freesimplegui/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+freesimplegui: freesimplegui (the free-forever python simple gui software)
+freesimplegui:
+freesimplegui: FreeSimpleGUI is a Python package that enables Python programmers
+freesimplegui: of all levels to create GUIs. You specify your GUI window using
+freesimplegui: a "layout" which contains widgets (they're called "Elements" in
+freesimplegui: FreeSimpleGUI). Your layout is used to create a window using one of
+freesimplegui: the 4 supported frameworks to display and interact with your window.
+freesimplegui:
+freesimplegui:
+freesimplegui:
+freesimplegui: