re-add rich-10.16.2-r1 (from main)

This commit is contained in:
2022-03-17 06:54:31 +01:00
committed by Andreas Billmeier
parent 79bb843459
commit cc2b9fcebf
4 changed files with 59 additions and 4 deletions

View File

@@ -492,11 +492,11 @@ From time to time a fresh compile test on empty boxes (one with Python 3.9 and o
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1849 Ebuilds in total, 1841 of them have in total 1851 (34 different) licenses assigned.
There are 1850 Ebuilds in total, 1842 of them have in total 1852 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1098|
|MIT|1099|
|Apache-2.0|362|
|BSD|109|
|GPL-3|108|
@@ -531,9 +531,9 @@ There are 1849 Ebuilds in total, 1841 of them have in total 1851 (34 different)
|OSL-2.0|1|
|CC0-1.0|1|
(Last counted: 16/03/2022)
(Last counted: 17/03/2022)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 16/03/2022
Last updated: 17/03/2022

3
dev-python/rich/Manifest Normal file
View File

@@ -0,0 +1,3 @@
DIST rich-10.16.2.tar.gz 16282443 BLAKE2B ccc7292e265770880539d6a1a6b2e819b45e2e3d4d152f1a16c56f2da74c9a472ae49ea0a4a677ad71c4dd087fade2c415484073b4b2cd86869ad7c43c32b162 SHA512 9cb8b0c8105589db22d7efdc47cbfa20531cd184f07855db4bfafb667299c7d3e520b19e3b33e7818affb7a5674805849ee9f2e770927e285ccd7f4f838982c3
EBUILD rich-10.16.2-r1.ebuild 1068 BLAKE2B 66f3d38d863fdee5f75219b9b567303d1278772a1126dd4431b9da150f1a84853de0a864107706687bbaac546b30bdef0313165de88abbd13d95265e9c36951e SHA512 92bf2fc9c6449e444201b88dfb616211eb1f1e619237d9585ab8c2bb4b9698940b2b364ecab5579b12d12cbe38fba622ae73bc4cc768e286a63ebda325dfef5b
MISC metadata.xml 450 BLAKE2B 7e83b4996ac12757ec188de31fa91ba75a80d6c4bd19b76782ced0f35d496d013716315fb3ae29bbef5f1d0cb0be88f86bd62fd6a521c3c34e19e2b083c44a15 SHA512 f47d21dcd21a89792769737eb1d0951ea54c9b76aed7deb8f6bfec4a44c7136d6f6fbef541221ab5fb3a22ce014eade24df5147bbbac115162ddff4e991a3897

View File

@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">rich</remote-id>
<maintainer status="unknown">
<email>willmcgugan@gmail.com</email>
<name>Will McGugan</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,37 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 optfeature
DESCRIPTION="Python library for renrering rich text, tables, etc. to the terminal"
HOMEPAGE="https://github.com/willmcgugan/rich"
SRC_URI="https://github.com/willmcgugan/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
RDEPEND="
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/commonmark[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# check for exact color render string, which changes across pygments bumps
tests/test_syntax.py::test_python_render
tests/test_syntax.py::test_python_render_simple
tests/test_syntax.py::test_python_render_indent_guides
)
epytest -p no:pytest-qt
}
pkg_postinst() {
optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets
}