summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 03:47:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 03:47:23 +0000
commit888b7ef9582044e105e70fd75d27f83601cd78d8 (patch)
treeb25ad76cdedbc90389899552c6c0b64f941ef95c
parent0f2005fca5dca64f96619dab42126165cecc8630 (diff)
automatic import of python-pangocffiopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pangocffi.spec204
-rw-r--r--sources1
3 files changed, 206 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8536b24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pangocffi-0.11.0.tar.gz
diff --git a/python-pangocffi.spec b/python-pangocffi.spec
new file mode 100644
index 0000000..21a97eb
--- /dev/null
+++ b/python-pangocffi.spec
@@ -0,0 +1,204 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pangocffi
+Version: 0.11.0
+Release: 1
+Summary: CFFI-based pango bindings for Python
+License: LGPL-2.1
+URL: https://github.com/leifgehrmann/pangocffi
+Source0: https://mirrors.aliyun.com/pypi/web/packages/14/f9/c320f75f7cdf53c9821096b88762c7c6cf5be8e3def41f7d8eb66f111d8a/pangocffi-0.11.0.tar.gz
+BuildArch: noarch
+
+
+%description
+# pangocffi
+
+[![Latest PyPi Release](https://img.shields.io/pypi/v/pangocffi.svg)](https://pypi.python.org/pypi/pangocffi)
+[![Supported Python Versions](https://img.shields.io/pypi/pyversions/pangocffi.svg?style=flat)](https://pypi.python.org/pypi/pangocffi)
+[![Build Status](https://travis-ci.org/leifgehrmann/pangocffi.svg?branch=master)](https://travis-ci.org/leifgehrmann/pangocffi)
+[![Documentation Status](https://readthedocs.org/projects/pangocffi/badge/?version=latest)](https://pangocffi.readthedocs.io/en/latest/?badge=latest)
+[![Code Coverage](https://codecov.io/gh/leifgehrmann/pangocffi/branch/master/graph/badge.svg)](https://codecov.io/gh/leifgehrmann/pangocffi)
+
+pangocffi is a [CFFI]-based set of Python bindings for [pango].
+
+pangocffi on its own is not that useful, since it depends on a PangoFontMap
+being declared against the PangoContext.
+PangoFontMap instances can easily be retrieved from libraries such as
+PangoCairo, PangoXft, PangoFT2, and PangoWin32 (See gnome's documentation
+['Rendering with Pango'] for a list of rendering engines).
+
+See [pangocairocffi] for bindings that allow you to render pango objects with
+cairo.
+
+[pangocairocffi]: https://github.com/leifgehrmann/pangocairocffi
+['Rendering with Pango']: https://developer.gnome.org/pango/stable/rendering.html
+
+
+The bindings are currently not fully implemented. Feel free to make a pull
+request to contribute!
+
+[CFFI]: https://cffi.readthedocs.org/
+[pango]: https://pango.org/
+
+## Installation and usage
+
+See ['Overview'] for information on how to install the necessary libraries.
+
+See ['Python API Reference'] for additional information on all the objects.
+
+['Overview']: https://pangocffi.readthedocs.io/en/latest/overview.html
+['Python API Reference']: https://pangocffi.readthedocs.io/en/latest/modules.html
+
+## Contributing
+
+If you would like to contribute to this project, either by leaving feedback or
+submitting a pull request, please read '[CONTRIBUTING.md]'.
+
+[CONTRIBUTING.md]: CONTRIBUTING.md
+
+
+%package -n python3-pangocffi
+Summary: CFFI-based pango bindings for Python
+Provides: python-pangocffi
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pangocffi
+# pangocffi
+
+[![Latest PyPi Release](https://img.shields.io/pypi/v/pangocffi.svg)](https://pypi.python.org/pypi/pangocffi)
+[![Supported Python Versions](https://img.shields.io/pypi/pyversions/pangocffi.svg?style=flat)](https://pypi.python.org/pypi/pangocffi)
+[![Build Status](https://travis-ci.org/leifgehrmann/pangocffi.svg?branch=master)](https://travis-ci.org/leifgehrmann/pangocffi)
+[![Documentation Status](https://readthedocs.org/projects/pangocffi/badge/?version=latest)](https://pangocffi.readthedocs.io/en/latest/?badge=latest)
+[![Code Coverage](https://codecov.io/gh/leifgehrmann/pangocffi/branch/master/graph/badge.svg)](https://codecov.io/gh/leifgehrmann/pangocffi)
+
+pangocffi is a [CFFI]-based set of Python bindings for [pango].
+
+pangocffi on its own is not that useful, since it depends on a PangoFontMap
+being declared against the PangoContext.
+PangoFontMap instances can easily be retrieved from libraries such as
+PangoCairo, PangoXft, PangoFT2, and PangoWin32 (See gnome's documentation
+['Rendering with Pango'] for a list of rendering engines).
+
+See [pangocairocffi] for bindings that allow you to render pango objects with
+cairo.
+
+[pangocairocffi]: https://github.com/leifgehrmann/pangocairocffi
+['Rendering with Pango']: https://developer.gnome.org/pango/stable/rendering.html
+
+
+The bindings are currently not fully implemented. Feel free to make a pull
+request to contribute!
+
+[CFFI]: https://cffi.readthedocs.org/
+[pango]: https://pango.org/
+
+## Installation and usage
+
+See ['Overview'] for information on how to install the necessary libraries.
+
+See ['Python API Reference'] for additional information on all the objects.
+
+['Overview']: https://pangocffi.readthedocs.io/en/latest/overview.html
+['Python API Reference']: https://pangocffi.readthedocs.io/en/latest/modules.html
+
+## Contributing
+
+If you would like to contribute to this project, either by leaving feedback or
+submitting a pull request, please read '[CONTRIBUTING.md]'.
+
+[CONTRIBUTING.md]: CONTRIBUTING.md
+
+
+%package help
+Summary: Development documents and examples for pangocffi
+Provides: python3-pangocffi-doc
+%description help
+# pangocffi
+
+[![Latest PyPi Release](https://img.shields.io/pypi/v/pangocffi.svg)](https://pypi.python.org/pypi/pangocffi)
+[![Supported Python Versions](https://img.shields.io/pypi/pyversions/pangocffi.svg?style=flat)](https://pypi.python.org/pypi/pangocffi)
+[![Build Status](https://travis-ci.org/leifgehrmann/pangocffi.svg?branch=master)](https://travis-ci.org/leifgehrmann/pangocffi)
+[![Documentation Status](https://readthedocs.org/projects/pangocffi/badge/?version=latest)](https://pangocffi.readthedocs.io/en/latest/?badge=latest)
+[![Code Coverage](https://codecov.io/gh/leifgehrmann/pangocffi/branch/master/graph/badge.svg)](https://codecov.io/gh/leifgehrmann/pangocffi)
+
+pangocffi is a [CFFI]-based set of Python bindings for [pango].
+
+pangocffi on its own is not that useful, since it depends on a PangoFontMap
+being declared against the PangoContext.
+PangoFontMap instances can easily be retrieved from libraries such as
+PangoCairo, PangoXft, PangoFT2, and PangoWin32 (See gnome's documentation
+['Rendering with Pango'] for a list of rendering engines).
+
+See [pangocairocffi] for bindings that allow you to render pango objects with
+cairo.
+
+[pangocairocffi]: https://github.com/leifgehrmann/pangocairocffi
+['Rendering with Pango']: https://developer.gnome.org/pango/stable/rendering.html
+
+
+The bindings are currently not fully implemented. Feel free to make a pull
+request to contribute!
+
+[CFFI]: https://cffi.readthedocs.org/
+[pango]: https://pango.org/
+
+## Installation and usage
+
+See ['Overview'] for information on how to install the necessary libraries.
+
+See ['Python API Reference'] for additional information on all the objects.
+
+['Overview']: https://pangocffi.readthedocs.io/en/latest/overview.html
+['Python API Reference']: https://pangocffi.readthedocs.io/en/latest/modules.html
+
+## Contributing
+
+If you would like to contribute to this project, either by leaving feedback or
+submitting a pull request, please read '[CONTRIBUTING.md]'.
+
+[CONTRIBUTING.md]: CONTRIBUTING.md
+
+
+%prep
+%autosetup -n pangocffi-0.11.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-pangocffi -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b4e40a3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+15129880fd0c1b2b5c7af089bb8b1d2c pangocffi-0.11.0.tar.gz