diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:39:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:39:43 +0000 |
commit | 6da028734af14e1261166ace5492c6ca3fe99a32 (patch) | |
tree | df6aa15b67cae0eace30cbd650b69a743410cb53 /python-qtstrap.spec | |
parent | 2a26d1a15287c5571c5bc43440a8326b72ca3d63 (diff) |
automatic import of python-qtstrapopeneuler20.03
Diffstat (limited to 'python-qtstrap.spec')
-rw-r--r-- | python-qtstrap.spec | 322 |
1 files changed, 322 insertions, 0 deletions
diff --git a/python-qtstrap.spec b/python-qtstrap.spec new file mode 100644 index 0000000..3df86c6 --- /dev/null +++ b/python-qtstrap.spec @@ -0,0 +1,322 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qtstrap +Version: 0.5.0 +Release: 1 +Summary: Like Bootstrap, but qt-er. +License: MIT +URL: https://github.com/qtstrap/qtstrap +Source0: https://mirrors.aliyun.com/pypi/web/packages/8c/41/743c6ffb55cad9f3684a9e79cb922e678bdb442fc084474ad4e51a0012d0/qtstrap-0.5.0.tar.gz +BuildArch: noarch + +Requires: python3-QtPy +Requires: python3-pydantic +Requires: python3-click +Requires: python3-inquirerpy +Requires: python3-appdirs +Requires: python3-qtawesome +Requires: python3-pyinstaller + +%description +# QtStrap: Qt application bootstrapping framework
+
+
+[](./LICENSE)
+[](https://pypi.org/project/qtstrap/)
+[](https://github.com/qtstrap/qtstrap)
+
+
+Qt is excellent, but it's also enormous. There's a lot of topics, and many of them have hidden gotchas. PySide2 and PyQt are also excellent, letting us leverage the powerful Qt libraries from up in the clouds in PythonLand, but this arrangement has its own gotchas.
+
+The goal of qtstrap is get your applications up and running quickly, so you can focus on your problem instead of on Qt's idiosyncracies.
+
+# Features
+
+More complete docs are available [here](https://qtstrap.github.io/qtstrap/).
+
+* `qtstrap` command line tool to bootstrap new projects
+* crossplatform makefile with useful development commands
+* preconfigured build system using PyInstaller and InnoSetup
+* custom Qt widgets with useful behaviors
+* Pythonic layout system using ContextLayouts
+* Some other stuff I haven't remembered yet
+
+## Custom Widgets
+
+- `LabelEdit`
+- `HLine` and `VLine`
+- `LinkLabel`
+- Buttons:
+ - `StateButton`
+ - `IconToggleButton`
+ - `ConfirmToggleButton`
+ - `MenuButton`
+- Persistent Widgets (for rapid prototyping of saved data):
+ - `PersistentCheckableAction`
+ - `PersistentCheckBox`
+ - `PersistentComboBox`
+ - `PersistentLineEdit`
+ - `PersistentListWidget`
+ - `PersistentPlainTextEdit`
+ - `PersistentTabWidget`
+ - `PersistentTextEdit`
+ - `PersistentTreeWidget`
+
+## Utility Classes and Functions
+- `Adapter`
+- `TimeStamp`
+- `StringBuilder`
+- `call_later()`
+
+## decorators:
+- `@accepts_file_drops`
+- `@trace`
+- `@singleton`
+
+## context managers:
+- `Defer`
+- `SignalBlocker`
+
+## qtstrap.extras:
+ - `CommandPalette`, like VSCode or SublimeText
+ - Logging Subsystem: log to local database + log viewer widgets
+ - `CodeEditor`: Custom QTextEditor subclass customized for code editing
+
+
+# Dependencies
+
+* Python 3
+* PySide2 or PyQt5
+* Make(optional, but recommended)
+
+# Installation
+
+```sh
+pip install qtstrap
+```
+
+# Contributing
+
+Contributions are always welcome. Feel free to [open an issue](https://github.com/qtstrap/qtstrap/issues/new)
+or [start a new discussion](https://github.com/qtstrap/qtstrap/discussions/new) on our GitHub.
+ + +%package -n python3-qtstrap +Summary: Like Bootstrap, but qt-er. +Provides: python-qtstrap +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-qtstrap +# QtStrap: Qt application bootstrapping framework
+
+
+[](./LICENSE)
+[](https://pypi.org/project/qtstrap/)
+[](https://github.com/qtstrap/qtstrap)
+
+
+Qt is excellent, but it's also enormous. There's a lot of topics, and many of them have hidden gotchas. PySide2 and PyQt are also excellent, letting us leverage the powerful Qt libraries from up in the clouds in PythonLand, but this arrangement has its own gotchas.
+
+The goal of qtstrap is get your applications up and running quickly, so you can focus on your problem instead of on Qt's idiosyncracies.
+
+# Features
+
+More complete docs are available [here](https://qtstrap.github.io/qtstrap/).
+
+* `qtstrap` command line tool to bootstrap new projects
+* crossplatform makefile with useful development commands
+* preconfigured build system using PyInstaller and InnoSetup
+* custom Qt widgets with useful behaviors
+* Pythonic layout system using ContextLayouts
+* Some other stuff I haven't remembered yet
+
+## Custom Widgets
+
+- `LabelEdit`
+- `HLine` and `VLine`
+- `LinkLabel`
+- Buttons:
+ - `StateButton`
+ - `IconToggleButton`
+ - `ConfirmToggleButton`
+ - `MenuButton`
+- Persistent Widgets (for rapid prototyping of saved data):
+ - `PersistentCheckableAction`
+ - `PersistentCheckBox`
+ - `PersistentComboBox`
+ - `PersistentLineEdit`
+ - `PersistentListWidget`
+ - `PersistentPlainTextEdit`
+ - `PersistentTabWidget`
+ - `PersistentTextEdit`
+ - `PersistentTreeWidget`
+
+## Utility Classes and Functions
+- `Adapter`
+- `TimeStamp`
+- `StringBuilder`
+- `call_later()`
+
+## decorators:
+- `@accepts_file_drops`
+- `@trace`
+- `@singleton`
+
+## context managers:
+- `Defer`
+- `SignalBlocker`
+
+## qtstrap.extras:
+ - `CommandPalette`, like VSCode or SublimeText
+ - Logging Subsystem: log to local database + log viewer widgets
+ - `CodeEditor`: Custom QTextEditor subclass customized for code editing
+
+
+# Dependencies
+
+* Python 3
+* PySide2 or PyQt5
+* Make(optional, but recommended)
+
+# Installation
+
+```sh
+pip install qtstrap
+```
+
+# Contributing
+
+Contributions are always welcome. Feel free to [open an issue](https://github.com/qtstrap/qtstrap/issues/new)
+or [start a new discussion](https://github.com/qtstrap/qtstrap/discussions/new) on our GitHub.
+ + +%package help +Summary: Development documents and examples for qtstrap +Provides: python3-qtstrap-doc +%description help +# QtStrap: Qt application bootstrapping framework
+
+
+[](./LICENSE)
+[](https://pypi.org/project/qtstrap/)
+[](https://github.com/qtstrap/qtstrap)
+
+
+Qt is excellent, but it's also enormous. There's a lot of topics, and many of them have hidden gotchas. PySide2 and PyQt are also excellent, letting us leverage the powerful Qt libraries from up in the clouds in PythonLand, but this arrangement has its own gotchas.
+
+The goal of qtstrap is get your applications up and running quickly, so you can focus on your problem instead of on Qt's idiosyncracies.
+
+# Features
+
+More complete docs are available [here](https://qtstrap.github.io/qtstrap/).
+
+* `qtstrap` command line tool to bootstrap new projects
+* crossplatform makefile with useful development commands
+* preconfigured build system using PyInstaller and InnoSetup
+* custom Qt widgets with useful behaviors
+* Pythonic layout system using ContextLayouts
+* Some other stuff I haven't remembered yet
+
+## Custom Widgets
+
+- `LabelEdit`
+- `HLine` and `VLine`
+- `LinkLabel`
+- Buttons:
+ - `StateButton`
+ - `IconToggleButton`
+ - `ConfirmToggleButton`
+ - `MenuButton`
+- Persistent Widgets (for rapid prototyping of saved data):
+ - `PersistentCheckableAction`
+ - `PersistentCheckBox`
+ - `PersistentComboBox`
+ - `PersistentLineEdit`
+ - `PersistentListWidget`
+ - `PersistentPlainTextEdit`
+ - `PersistentTabWidget`
+ - `PersistentTextEdit`
+ - `PersistentTreeWidget`
+
+## Utility Classes and Functions
+- `Adapter`
+- `TimeStamp`
+- `StringBuilder`
+- `call_later()`
+
+## decorators:
+- `@accepts_file_drops`
+- `@trace`
+- `@singleton`
+
+## context managers:
+- `Defer`
+- `SignalBlocker`
+
+## qtstrap.extras:
+ - `CommandPalette`, like VSCode or SublimeText
+ - Logging Subsystem: log to local database + log viewer widgets
+ - `CodeEditor`: Custom QTextEditor subclass customized for code editing
+
+
+# Dependencies
+
+* Python 3
+* PySide2 or PyQt5
+* Make(optional, but recommended)
+
+# Installation
+
+```sh
+pip install qtstrap
+```
+
+# Contributing
+
+Contributions are always welcome. Feel free to [open an issue](https://github.com/qtstrap/qtstrap/issues/new)
+or [start a new discussion](https://github.com/qtstrap/qtstrap/discussions/new) on our GitHub.
+ + +%prep +%autosetup -n qtstrap-0.5.0 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-qtstrap -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1 +- Package Spec generated |