From 9b7d07623dbbb2ca2615040f50e95565825bd862 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 04:59:03 +0000 Subject: automatic import of python-fontbakery --- .gitignore | 1 + python-fontbakery.spec | 319 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 321 insertions(+) create mode 100644 python-fontbakery.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5a3062a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/fontbakery-0.8.11.tar.gz diff --git a/python-fontbakery.spec b/python-fontbakery.spec new file mode 100644 index 0000000..4484260 --- /dev/null +++ b/python-fontbakery.spec @@ -0,0 +1,319 @@ +%global _empty_manifest_terminate_build 0 +Name: python-fontbakery +Version: 0.8.11 +Release: 1 +Summary: Well designed Font QA tool, written in Python 3 +License: Apache Software License +URL: https://github.com/googlefonts/fontbakery/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c4/7b/eba8b91e33c4f693760fc745f3535824d27a544053406ddd913ae0def966/fontbakery-0.8.11.tar.gz +BuildArch: noarch + +Requires: python3-axisregistry +Requires: python3-beautifulsoup4 +Requires: python3-beziers +Requires: python3-cmarkgfm +Requires: python3-collidoscope +Requires: python3-defcon +Requires: python3-dehinter +Requires: python3-fontTools[lxml,ufo,unicode] +Requires: python3-font-v +Requires: python3-gflanguages +Requires: python3-glyphsets +Requires: python3-lxml +Requires: python3-munkres +Requires: python3-opentype-sanitizer +Requires: python3-opentypespec +Requires: python3-packaging +Requires: python3-pip-api +Requires: python3-protobuf +Requires: python3-PyYAML +Requires: python3-requests +Requires: python3-rich +Requires: python3-stringbrewer +Requires: python3-toml +Requires: python3-ufolint +Requires: python3-ufo2ft +Requires: python3-unicodedata2 +Requires: python3-vharfbuzz +Requires: python3-recommonmark +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-freetype-py + +%description +[![Latest PyPI Version](https://img.shields.io/pypi/v/fontbakery.svg?style=flat)](https://pypi.python.org/pypi/fontbakery/) +[![Python](https://img.shields.io/pypi/pyversions/fontbakery.svg?style=flat)](https://pypi.python.org/pypi/fontbakery/) +[![Build Status](https://github.com/googlefonts/fontbakery/actions/workflows/tox.yml/badge.svg)](https://github.com/googlefonts/fontbakery/actions/) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://github.com/googlefonts/fontbakery/blob/main/LICENSE.txt) + +# [![Font Bakery](data/logo.png)](http://fontbakery.com) + +Font Bakery is a command-line tool for checking the quality of font projects. + +For a quick overview, check out the [list of checks](https://font-bakery.readthedocs.io/en/stable/fontbakery/profiles/index.html) currently offered. +And for a full written introduction [check out our documentation at Read The Docs.](https://font-bakery.readthedocs.io/en/stable) + +For video introductions, see the [TypeCon 2018](https://www.youtube.com/watch?v=5S3cN3VHfBg) and [ATypI 2020](https://www.youtube.com/watch?v=6OKE6p9E0eY) FontBakery presentations. + +Font Bakery has an active community of contributors from foundries around the world, including Adobe Fonts, Dalton Maag, Type Network, and Google Fonts. Please join our developer chat channel at [gitter.im/fontbakery/Lobby](https://gitter.im/fontbakery/Lobby) + +Font Bakery is not an official Google project, and Google provides no support for it. +However, throughout 2018-2023 a project maintainer, Felipe Corrêa da Silva Sanches ([@felipesanches](https://github.com/felipesanches)), is commissioned by the Google Fonts team to maintain it. +The original software architecture (and maintenance of it) is by Lasse Fister ([@graphicore](https://github.com/graphicore). + +## Run Font Bakery automatically on Github Actions + +Simon Cozens prepared a [template git repo](https://github.com/googlefonts/Unified-Font-Repository) that makes it easy to build, check and proof fonts. He's also prepared a nice [1 minute video](https://twitter.com/simoncozens/status/1405267459028905984) showcasing it. + +## License + +Font Bakery is available under the Apache 2.0 license. + +All comments on the issue tracker or on pull requests will be treated as also licensed under this license such that they can be incorporated into the project code. + +## Install + +See the Font Bakery Installation Guide for your platform: + +- [GNU + Linux](https://font-bakery.readthedocs.io/en/stable/user/installation/install-gnu-linux.html) +- [macOS](https://font-bakery.readthedocs.io/en/stable/user/installation/install-macos.html) +- [Windows](https://font-bakery.readthedocs.io/en/stable/user/installation/install-windows.html) + +## Usage + +Font Bakery is primarily a Terminal app, learn more in the [Command Line Usage Guide](https://font-bakery.readthedocs.io/en/stable/user/USAGE.html). + +If you write little Python scripts in your workflow, you can easily [write custom checks](https://font-bakery.readthedocs.io/en/stable/developer/writing-profiles.html). + +For full developer documentation, check out [font-bakery.readthedocs.io](https://font-bakery.readthedocs.io) (a hosted and compiled copy of contents in the `/docs` directory.) + +## Contributing + +See the guide to [Getting Started as a Contributor](https://font-bakery.readthedocs.io/en/stable/developer/contrib-getting-started.html). + +## Web Dashboard + +A web dashboard for monitoring check-results of project collections is at + +## History + +The project was initiated by Dave Crossland in 2013 to accelerate the onboarding process for Google Fonts. +In 2017 Lasse Fister and Felipe Sanches rewrote it into a modern, modular architecture suitable for both individuals and large distributors. +Felipe has maintained the check contents since 2016. + +Lasse also began a sister project, [Font Bakery Dashboard](https://GitHub.com/GoogleFonts/Fontbakery-Dashboard): +A UI and a cloud system that scales up for checking 1,000s of font files super fast and in parallel, by using 1,000s of "container" virtual machines. +See his [TypoLabs 2018 talk on YouTube](https://www.youtube.com/watch?v=Kqhzg89zKYw) and its [presentation deck](https://docs.google.com/presentation/d/14dU3cUXelwvpVokhKYmJ6jT51AASDaOFyEUSdxb0RAg/). + +Most of the checks are for OpenType binary files, and project metadata files. +(Currently, the Google Fonts `METADATA.pb` files are supported.) + +If you are developing a font project publicly with Github (or a similar host) you can set up a Continuous Integration service (like [Travis](https://www.travis-ci.org)) to run Font Bakery on each commit, so that with each update all checks will be run on your files. + +## Trivia + +* [Advances in Continuous Integration Testing at Google](https://ai.google/research/pubs/pub46593) - 2018 presentation + + +%package -n python3-fontbakery +Summary: Well designed Font QA tool, written in Python 3 +Provides: python-fontbakery +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-fontbakery +[![Latest PyPI Version](https://img.shields.io/pypi/v/fontbakery.svg?style=flat)](https://pypi.python.org/pypi/fontbakery/) +[![Python](https://img.shields.io/pypi/pyversions/fontbakery.svg?style=flat)](https://pypi.python.org/pypi/fontbakery/) +[![Build Status](https://github.com/googlefonts/fontbakery/actions/workflows/tox.yml/badge.svg)](https://github.com/googlefonts/fontbakery/actions/) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://github.com/googlefonts/fontbakery/blob/main/LICENSE.txt) + +# [![Font Bakery](data/logo.png)](http://fontbakery.com) + +Font Bakery is a command-line tool for checking the quality of font projects. + +For a quick overview, check out the [list of checks](https://font-bakery.readthedocs.io/en/stable/fontbakery/profiles/index.html) currently offered. +And for a full written introduction [check out our documentation at Read The Docs.](https://font-bakery.readthedocs.io/en/stable) + +For video introductions, see the [TypeCon 2018](https://www.youtube.com/watch?v=5S3cN3VHfBg) and [ATypI 2020](https://www.youtube.com/watch?v=6OKE6p9E0eY) FontBakery presentations. + +Font Bakery has an active community of contributors from foundries around the world, including Adobe Fonts, Dalton Maag, Type Network, and Google Fonts. Please join our developer chat channel at [gitter.im/fontbakery/Lobby](https://gitter.im/fontbakery/Lobby) + +Font Bakery is not an official Google project, and Google provides no support for it. +However, throughout 2018-2023 a project maintainer, Felipe Corrêa da Silva Sanches ([@felipesanches](https://github.com/felipesanches)), is commissioned by the Google Fonts team to maintain it. +The original software architecture (and maintenance of it) is by Lasse Fister ([@graphicore](https://github.com/graphicore). + +## Run Font Bakery automatically on Github Actions + +Simon Cozens prepared a [template git repo](https://github.com/googlefonts/Unified-Font-Repository) that makes it easy to build, check and proof fonts. He's also prepared a nice [1 minute video](https://twitter.com/simoncozens/status/1405267459028905984) showcasing it. + +## License + +Font Bakery is available under the Apache 2.0 license. + +All comments on the issue tracker or on pull requests will be treated as also licensed under this license such that they can be incorporated into the project code. + +## Install + +See the Font Bakery Installation Guide for your platform: + +- [GNU + Linux](https://font-bakery.readthedocs.io/en/stable/user/installation/install-gnu-linux.html) +- [macOS](https://font-bakery.readthedocs.io/en/stable/user/installation/install-macos.html) +- [Windows](https://font-bakery.readthedocs.io/en/stable/user/installation/install-windows.html) + +## Usage + +Font Bakery is primarily a Terminal app, learn more in the [Command Line Usage Guide](https://font-bakery.readthedocs.io/en/stable/user/USAGE.html). + +If you write little Python scripts in your workflow, you can easily [write custom checks](https://font-bakery.readthedocs.io/en/stable/developer/writing-profiles.html). + +For full developer documentation, check out [font-bakery.readthedocs.io](https://font-bakery.readthedocs.io) (a hosted and compiled copy of contents in the `/docs` directory.) + +## Contributing + +See the guide to [Getting Started as a Contributor](https://font-bakery.readthedocs.io/en/stable/developer/contrib-getting-started.html). + +## Web Dashboard + +A web dashboard for monitoring check-results of project collections is at + +## History + +The project was initiated by Dave Crossland in 2013 to accelerate the onboarding process for Google Fonts. +In 2017 Lasse Fister and Felipe Sanches rewrote it into a modern, modular architecture suitable for both individuals and large distributors. +Felipe has maintained the check contents since 2016. + +Lasse also began a sister project, [Font Bakery Dashboard](https://GitHub.com/GoogleFonts/Fontbakery-Dashboard): +A UI and a cloud system that scales up for checking 1,000s of font files super fast and in parallel, by using 1,000s of "container" virtual machines. +See his [TypoLabs 2018 talk on YouTube](https://www.youtube.com/watch?v=Kqhzg89zKYw) and its [presentation deck](https://docs.google.com/presentation/d/14dU3cUXelwvpVokhKYmJ6jT51AASDaOFyEUSdxb0RAg/). + +Most of the checks are for OpenType binary files, and project metadata files. +(Currently, the Google Fonts `METADATA.pb` files are supported.) + +If you are developing a font project publicly with Github (or a similar host) you can set up a Continuous Integration service (like [Travis](https://www.travis-ci.org)) to run Font Bakery on each commit, so that with each update all checks will be run on your files. + +## Trivia + +* [Advances in Continuous Integration Testing at Google](https://ai.google/research/pubs/pub46593) - 2018 presentation + + +%package help +Summary: Development documents and examples for fontbakery +Provides: python3-fontbakery-doc +%description help +[![Latest PyPI Version](https://img.shields.io/pypi/v/fontbakery.svg?style=flat)](https://pypi.python.org/pypi/fontbakery/) +[![Python](https://img.shields.io/pypi/pyversions/fontbakery.svg?style=flat)](https://pypi.python.org/pypi/fontbakery/) +[![Build Status](https://github.com/googlefonts/fontbakery/actions/workflows/tox.yml/badge.svg)](https://github.com/googlefonts/fontbakery/actions/) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://github.com/googlefonts/fontbakery/blob/main/LICENSE.txt) + +# [![Font Bakery](data/logo.png)](http://fontbakery.com) + +Font Bakery is a command-line tool for checking the quality of font projects. + +For a quick overview, check out the [list of checks](https://font-bakery.readthedocs.io/en/stable/fontbakery/profiles/index.html) currently offered. +And for a full written introduction [check out our documentation at Read The Docs.](https://font-bakery.readthedocs.io/en/stable) + +For video introductions, see the [TypeCon 2018](https://www.youtube.com/watch?v=5S3cN3VHfBg) and [ATypI 2020](https://www.youtube.com/watch?v=6OKE6p9E0eY) FontBakery presentations. + +Font Bakery has an active community of contributors from foundries around the world, including Adobe Fonts, Dalton Maag, Type Network, and Google Fonts. Please join our developer chat channel at [gitter.im/fontbakery/Lobby](https://gitter.im/fontbakery/Lobby) + +Font Bakery is not an official Google project, and Google provides no support for it. +However, throughout 2018-2023 a project maintainer, Felipe Corrêa da Silva Sanches ([@felipesanches](https://github.com/felipesanches)), is commissioned by the Google Fonts team to maintain it. +The original software architecture (and maintenance of it) is by Lasse Fister ([@graphicore](https://github.com/graphicore). + +## Run Font Bakery automatically on Github Actions + +Simon Cozens prepared a [template git repo](https://github.com/googlefonts/Unified-Font-Repository) that makes it easy to build, check and proof fonts. He's also prepared a nice [1 minute video](https://twitter.com/simoncozens/status/1405267459028905984) showcasing it. + +## License + +Font Bakery is available under the Apache 2.0 license. + +All comments on the issue tracker or on pull requests will be treated as also licensed under this license such that they can be incorporated into the project code. + +## Install + +See the Font Bakery Installation Guide for your platform: + +- [GNU + Linux](https://font-bakery.readthedocs.io/en/stable/user/installation/install-gnu-linux.html) +- [macOS](https://font-bakery.readthedocs.io/en/stable/user/installation/install-macos.html) +- [Windows](https://font-bakery.readthedocs.io/en/stable/user/installation/install-windows.html) + +## Usage + +Font Bakery is primarily a Terminal app, learn more in the [Command Line Usage Guide](https://font-bakery.readthedocs.io/en/stable/user/USAGE.html). + +If you write little Python scripts in your workflow, you can easily [write custom checks](https://font-bakery.readthedocs.io/en/stable/developer/writing-profiles.html). + +For full developer documentation, check out [font-bakery.readthedocs.io](https://font-bakery.readthedocs.io) (a hosted and compiled copy of contents in the `/docs` directory.) + +## Contributing + +See the guide to [Getting Started as a Contributor](https://font-bakery.readthedocs.io/en/stable/developer/contrib-getting-started.html). + +## Web Dashboard + +A web dashboard for monitoring check-results of project collections is at + +## History + +The project was initiated by Dave Crossland in 2013 to accelerate the onboarding process for Google Fonts. +In 2017 Lasse Fister and Felipe Sanches rewrote it into a modern, modular architecture suitable for both individuals and large distributors. +Felipe has maintained the check contents since 2016. + +Lasse also began a sister project, [Font Bakery Dashboard](https://GitHub.com/GoogleFonts/Fontbakery-Dashboard): +A UI and a cloud system that scales up for checking 1,000s of font files super fast and in parallel, by using 1,000s of "container" virtual machines. +See his [TypoLabs 2018 talk on YouTube](https://www.youtube.com/watch?v=Kqhzg89zKYw) and its [presentation deck](https://docs.google.com/presentation/d/14dU3cUXelwvpVokhKYmJ6jT51AASDaOFyEUSdxb0RAg/). + +Most of the checks are for OpenType binary files, and project metadata files. +(Currently, the Google Fonts `METADATA.pb` files are supported.) + +If you are developing a font project publicly with Github (or a similar host) you can set up a Continuous Integration service (like [Travis](https://www.travis-ci.org)) to run Font Bakery on each commit, so that with each update all checks will be run on your files. + +## Trivia + +* [Advances in Continuous Integration Testing at Google](https://ai.google/research/pubs/pub46593) - 2018 presentation + + +%prep +%autosetup -n fontbakery-0.8.11 + +%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-fontbakery -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 0.8.11-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..07912ec --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d414a0a39e1a0fd367fa08de7db9ab3e fontbakery-0.8.11.tar.gz -- cgit v1.2.3