summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-23 03:27:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-23 03:27:07 +0000
commit6224225419affc1bf07ec12b839241d0a9ab97d2 (patch)
tree1e259baf6e0bd6dd3bba7aee84a66b5cf753bcc0
parentfcb2790a1ab60bf27d78ba3a60c5701a8fba7304 (diff)
automatic import of python-imguiopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-imgui.spec224
-rw-r--r--sources2
3 files changed, 75 insertions, 152 deletions
diff --git a/.gitignore b/.gitignore
index f9d1398..fafd898 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/imgui-1.4.1.tar.gz
+/imgui-2.0.0.tar.gz
diff --git a/python-imgui.spec b/python-imgui.spec
index faad4b9..51cd072 100644
--- a/python-imgui.spec
+++ b/python-imgui.spec
@@ -1,22 +1,22 @@
%global _empty_manifest_terminate_build 0
Name: python-imgui
-Version: 1.4.1
+Version: 2.0.0
Release: 1
Summary: Cython-based Python bindings for dear imgui
License: BSD
-URL: https://github.com/swistakm/pyimgui
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c7/15/1384f3a7bb52a2666f364e3d3ea02cfeae6fe1e9b72d3a3684d18ae7f10c/imgui-1.4.1.tar.gz
+URL: https://github.com/pyimgui/pyimgui
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f1/aa/4abb0d3d6054da9a4390160fc25ca743a824263a9931cc6a95f30e3d75b4/imgui-2.0.0.tar.gz
Requires: python3-Cython
Requires: python3-PyOpenGL
Requires: python3-cocos2d
Requires: python3-pyglet
-Requires: python3-PyOpenGL
Requires: python3-glfw
Requires: python3-pygame
+Requires: python3-PyOpenGL
Requires: python3-cocos2d
-Requires: python3-Cython
Requires: python3-PySDL2
+Requires: python3-Cython
Requires: python3-pyglet
Requires: python3-pyglet
Requires: python3-PyOpenGL
@@ -31,24 +31,22 @@ Requires: python3-PyOpenGL
Requires: python3-PySDL2
%description
-[![completion](https://img.shields.io/badge/completion-81%25%20%28375%20of%20460%29-blue.svg)](https://github.com/pyimgui/pyimgui)
-[![Coverage Status](https://coveralls.io/repos/github/swistakm/pyimgui/badge.svg?branch=master)](https://coveralls.io/github/swistakm/pyimgui?branch=master)
+[![completion](https://img.shields.io/badge/completion-72%25%20%28536%20of%20735%29-blue.svg)](https://github.com/pyimgui/pyimgui)
[![Documentation Status](https://readthedocs.org/projects/pyimgui/badge/?version=latest)](https://pyimgui.readthedocs.io/en/latest/?badge=latest)
[![Build status](https://ci.appveyor.com/api/projects/status/mr97t941p6k4c261/branch/master?svg=true)](https://ci.appveyor.com/project/KinoxKlark/pyimgui/branch/master)
-
# pyimgui
Python bindings for the amazing
[dear imgui](https://github.com/ocornut/imgui) C++ library - a Bloat-free
Immediate Mode Graphical User Interface.
-Documentation: [pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html)
+Documentation: [pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/)
# Installation
**pyimgui** is available on PyPI so you can easily install it with `pip`:
-
+
pip install imgui[full]
Above command will install `imgui` package with additional dependencies for all
@@ -70,41 +68,34 @@ section of this documentation page.
# Project status
-The `imgui` package provides support for the majority of core ImGui widgets and
+The `imgui` package provides support for the majority of core DearImGui 1.82 widgets and
functionalities. Some low-level API elements and complex widgets (like plots)
may be missing. We are working hard to provide 100% feature mapping of the core
ImGui library. The *completion badge* shows up-to-date status of that goal.
-> The current version of *pyimgui* is based on an old version of *DearImgui* and consequently doesn't have its most recent fixes and functionalities. Version 2.0 of *pyimgui* is under development and will support recent features. If you are interested, you can look at the corresponding branch.
-
# Project distribution
-This project has a working build pipeline on Appveyor and Travis. It builds
+This project has a working build pipeline on Appveyor. It builds
succesfully for all major operating systems with different architectures:
* Windows (32bit & 64bit)
* Linux (32bit & 64bit)
* OS X (universal build)
-Right now we are ready to shipping the built wheels for these three systems
+Right now we are ready shipping the built wheels for these three systems
(even for Linux using `manylinux1` wheels). The build pipeline covers multiple
Python versions:
-* py27
-* py33 (macOS wheel not available on PyPI)
-* py34
-* py35
* py36
-* py37
-* py38
-* py39
+* py37, pp37
+* py38, pp38
+* py39, pp39
+* py310
+* py311
-
-**pyimgui** provides documentation with multiple visual examples.
-Thanks to custom Sphinx extensions we are able to render GUI examples off
-screen directly from docstring snippets. These examples work also as automated
-functional tests. Documentation is hosted on
-[pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html).
+__Note:__ We dropped support for py27, py33, py34, and py35 starting from release 2.0.
+Those were supported until release [1.4.0](https://github.com/pyimgui/pyimgui/releases/tag/1.4.0).
+Pypy is only supported since release 2.0.
If none of these wheels work in your environment you can install the `imgui`
package by compiling it directly from sdist distribution using one of following
@@ -116,33 +107,16 @@ commands:
# will compile from pre-generated C++ sources
pip install imgui --no-binary imgui
+**pyimgui** provides documentation with multiple visual examples.
+Thanks to custom Sphinx extensions, we are able to render GUI examples off-screen directly from docstring
+snippets. These examples work also as automated functional tests. Documentation is hosted on
+[pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html).
-# Development tips
-We have tried hard to make the process of bootstrapping this project as simple
-as possible.
-
-In order to build and install project locally ,ake sure you have created and
-activated virtual environment using `virtualenv` or `python -m venv` (for newer
-Python releases). Then you can just run:
-
- make build
-
-This command will bootstrap whole environment (pull git submodules, install
-dev requirements etc.) and build the project. `make` will automatically install
-`imgui` in the *development/editable* mode. Then you can run some examples
-found in the `doc/examples` directory in order to verify if project is working.
-
-For building documentation and running tests you will need some additional
-requirements from `doc/requirements-test.txt`.
-
-You can run tests with:
-
- py.test
-
-
-If you have any problems with building or installing the project just ask us
-for help by creating GitHub issue.
+# Contributing
+Contributions are welcomed. If you want to help us by fixing bugs, mapping functions, or adding new features,
+please feel free to do so and propose a pull request.
+Development tips and information for developers are given in [HACKING.md](HACKING.md).
@@ -156,24 +130,22 @@ BuildRequires: python3-cffi
BuildRequires: gcc
BuildRequires: gdb
%description -n python3-imgui
-[![completion](https://img.shields.io/badge/completion-81%25%20%28375%20of%20460%29-blue.svg)](https://github.com/pyimgui/pyimgui)
-[![Coverage Status](https://coveralls.io/repos/github/swistakm/pyimgui/badge.svg?branch=master)](https://coveralls.io/github/swistakm/pyimgui?branch=master)
+[![completion](https://img.shields.io/badge/completion-72%25%20%28536%20of%20735%29-blue.svg)](https://github.com/pyimgui/pyimgui)
[![Documentation Status](https://readthedocs.org/projects/pyimgui/badge/?version=latest)](https://pyimgui.readthedocs.io/en/latest/?badge=latest)
[![Build status](https://ci.appveyor.com/api/projects/status/mr97t941p6k4c261/branch/master?svg=true)](https://ci.appveyor.com/project/KinoxKlark/pyimgui/branch/master)
-
# pyimgui
Python bindings for the amazing
[dear imgui](https://github.com/ocornut/imgui) C++ library - a Bloat-free
Immediate Mode Graphical User Interface.
-Documentation: [pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html)
+Documentation: [pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/)
# Installation
**pyimgui** is available on PyPI so you can easily install it with `pip`:
-
+
pip install imgui[full]
Above command will install `imgui` package with additional dependencies for all
@@ -195,41 +167,34 @@ section of this documentation page.
# Project status
-The `imgui` package provides support for the majority of core ImGui widgets and
+The `imgui` package provides support for the majority of core DearImGui 1.82 widgets and
functionalities. Some low-level API elements and complex widgets (like plots)
may be missing. We are working hard to provide 100% feature mapping of the core
ImGui library. The *completion badge* shows up-to-date status of that goal.
-> The current version of *pyimgui* is based on an old version of *DearImgui* and consequently doesn't have its most recent fixes and functionalities. Version 2.0 of *pyimgui* is under development and will support recent features. If you are interested, you can look at the corresponding branch.
-
# Project distribution
-This project has a working build pipeline on Appveyor and Travis. It builds
+This project has a working build pipeline on Appveyor. It builds
succesfully for all major operating systems with different architectures:
* Windows (32bit & 64bit)
* Linux (32bit & 64bit)
* OS X (universal build)
-Right now we are ready to shipping the built wheels for these three systems
+Right now we are ready shipping the built wheels for these three systems
(even for Linux using `manylinux1` wheels). The build pipeline covers multiple
Python versions:
-* py27
-* py33 (macOS wheel not available on PyPI)
-* py34
-* py35
* py36
-* py37
-* py38
-* py39
+* py37, pp37
+* py38, pp38
+* py39, pp39
+* py310
+* py311
-
-**pyimgui** provides documentation with multiple visual examples.
-Thanks to custom Sphinx extensions we are able to render GUI examples off
-screen directly from docstring snippets. These examples work also as automated
-functional tests. Documentation is hosted on
-[pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html).
+__Note:__ We dropped support for py27, py33, py34, and py35 starting from release 2.0.
+Those were supported until release [1.4.0](https://github.com/pyimgui/pyimgui/releases/tag/1.4.0).
+Pypy is only supported since release 2.0.
If none of these wheels work in your environment you can install the `imgui`
package by compiling it directly from sdist distribution using one of following
@@ -241,33 +206,16 @@ commands:
# will compile from pre-generated C++ sources
pip install imgui --no-binary imgui
+**pyimgui** provides documentation with multiple visual examples.
+Thanks to custom Sphinx extensions, we are able to render GUI examples off-screen directly from docstring
+snippets. These examples work also as automated functional tests. Documentation is hosted on
+[pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html).
-# Development tips
-We have tried hard to make the process of bootstrapping this project as simple
-as possible.
-
-In order to build and install project locally ,ake sure you have created and
-activated virtual environment using `virtualenv` or `python -m venv` (for newer
-Python releases). Then you can just run:
-
- make build
-
-This command will bootstrap whole environment (pull git submodules, install
-dev requirements etc.) and build the project. `make` will automatically install
-`imgui` in the *development/editable* mode. Then you can run some examples
-found in the `doc/examples` directory in order to verify if project is working.
-
-For building documentation and running tests you will need some additional
-requirements from `doc/requirements-test.txt`.
-
-You can run tests with:
-
- py.test
-
-
-If you have any problems with building or installing the project just ask us
-for help by creating GitHub issue.
+# Contributing
+Contributions are welcomed. If you want to help us by fixing bugs, mapping functions, or adding new features,
+please feel free to do so and propose a pull request.
+Development tips and information for developers are given in [HACKING.md](HACKING.md).
@@ -275,24 +223,22 @@ for help by creating GitHub issue.
Summary: Development documents and examples for imgui
Provides: python3-imgui-doc
%description help
-[![completion](https://img.shields.io/badge/completion-81%25%20%28375%20of%20460%29-blue.svg)](https://github.com/pyimgui/pyimgui)
-[![Coverage Status](https://coveralls.io/repos/github/swistakm/pyimgui/badge.svg?branch=master)](https://coveralls.io/github/swistakm/pyimgui?branch=master)
+[![completion](https://img.shields.io/badge/completion-72%25%20%28536%20of%20735%29-blue.svg)](https://github.com/pyimgui/pyimgui)
[![Documentation Status](https://readthedocs.org/projects/pyimgui/badge/?version=latest)](https://pyimgui.readthedocs.io/en/latest/?badge=latest)
[![Build status](https://ci.appveyor.com/api/projects/status/mr97t941p6k4c261/branch/master?svg=true)](https://ci.appveyor.com/project/KinoxKlark/pyimgui/branch/master)
-
# pyimgui
Python bindings for the amazing
[dear imgui](https://github.com/ocornut/imgui) C++ library - a Bloat-free
Immediate Mode Graphical User Interface.
-Documentation: [pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html)
+Documentation: [pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/)
# Installation
**pyimgui** is available on PyPI so you can easily install it with `pip`:
-
+
pip install imgui[full]
Above command will install `imgui` package with additional dependencies for all
@@ -314,41 +260,34 @@ section of this documentation page.
# Project status
-The `imgui` package provides support for the majority of core ImGui widgets and
+The `imgui` package provides support for the majority of core DearImGui 1.82 widgets and
functionalities. Some low-level API elements and complex widgets (like plots)
may be missing. We are working hard to provide 100% feature mapping of the core
ImGui library. The *completion badge* shows up-to-date status of that goal.
-> The current version of *pyimgui* is based on an old version of *DearImgui* and consequently doesn't have its most recent fixes and functionalities. Version 2.0 of *pyimgui* is under development and will support recent features. If you are interested, you can look at the corresponding branch.
-
# Project distribution
-This project has a working build pipeline on Appveyor and Travis. It builds
+This project has a working build pipeline on Appveyor. It builds
succesfully for all major operating systems with different architectures:
* Windows (32bit & 64bit)
* Linux (32bit & 64bit)
* OS X (universal build)
-Right now we are ready to shipping the built wheels for these three systems
+Right now we are ready shipping the built wheels for these three systems
(even for Linux using `manylinux1` wheels). The build pipeline covers multiple
Python versions:
-* py27
-* py33 (macOS wheel not available on PyPI)
-* py34
-* py35
* py36
-* py37
-* py38
-* py39
+* py37, pp37
+* py38, pp38
+* py39, pp39
+* py310
+* py311
-
-**pyimgui** provides documentation with multiple visual examples.
-Thanks to custom Sphinx extensions we are able to render GUI examples off
-screen directly from docstring snippets. These examples work also as automated
-functional tests. Documentation is hosted on
-[pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html).
+__Note:__ We dropped support for py27, py33, py34, and py35 starting from release 2.0.
+Those were supported until release [1.4.0](https://github.com/pyimgui/pyimgui/releases/tag/1.4.0).
+Pypy is only supported since release 2.0.
If none of these wheels work in your environment you can install the `imgui`
package by compiling it directly from sdist distribution using one of following
@@ -360,38 +299,21 @@ commands:
# will compile from pre-generated C++ sources
pip install imgui --no-binary imgui
+**pyimgui** provides documentation with multiple visual examples.
+Thanks to custom Sphinx extensions, we are able to render GUI examples off-screen directly from docstring
+snippets. These examples work also as automated functional tests. Documentation is hosted on
+[pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html).
-# Development tips
-We have tried hard to make the process of bootstrapping this project as simple
-as possible.
-
-In order to build and install project locally ,ake sure you have created and
-activated virtual environment using `virtualenv` or `python -m venv` (for newer
-Python releases). Then you can just run:
-
- make build
-
-This command will bootstrap whole environment (pull git submodules, install
-dev requirements etc.) and build the project. `make` will automatically install
-`imgui` in the *development/editable* mode. Then you can run some examples
-found in the `doc/examples` directory in order to verify if project is working.
-
-For building documentation and running tests you will need some additional
-requirements from `doc/requirements-test.txt`.
-
-You can run tests with:
-
- py.test
-
-
-If you have any problems with building or installing the project just ask us
-for help by creating GitHub issue.
+# Contributing
+Contributions are welcomed. If you want to help us by fixing bugs, mapping functions, or adding new features,
+please feel free to do so and propose a pull request.
+Development tips and information for developers are given in [HACKING.md](HACKING.md).
%prep
-%autosetup -n imgui-1.4.1
+%autosetup -n imgui-2.0.0
%build
%py3_build
@@ -431,5 +353,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.1-1
+* Sun Apr 23 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
- Package Spec generated
diff --git a/sources b/sources
index 68e15d8..dd0330f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4e34853aa7850c195096d72967017d57 imgui-1.4.1.tar.gz
+2adb93f700962ea0ff1453015e3c0f3d imgui-2.0.0.tar.gz