From ee81374f7ce8850902e9d2fb59ae671ef559f54c Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 4 Mar 2023 10:23:16 +0100 Subject: [PATCH] dev-python/beautifulsoup4: new package, add 4.11.1 Signed-off-by: Andreas Billmeier --- README.md | 4 +- dev-python/beautifulsoup4/Manifest | 3 ++ .../beautifulsoup4-4.11.1.ebuild | 37 +++++++++++++++++++ dev-python/beautifulsoup4/metadata.xml | 15 ++++++++ 4 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 dev-python/beautifulsoup4/Manifest create mode 100644 dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild create mode 100644 dev-python/beautifulsoup4/metadata.xml diff --git a/README.md b/README.md index 1d6e75ddd..a39c066fc 100644 --- a/README.md +++ b/README.md @@ -573,11 +573,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## 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 1795 Ebuilds in total, 1784 of them have in total 1788 (34 different) licenses assigned. +There are 1796 Ebuilds in total, 1785 of them have in total 1789 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1046| +|MIT|1047| |Apache-2.0|388| |GPL-3|112| |BSD|94| diff --git a/dev-python/beautifulsoup4/Manifest b/dev-python/beautifulsoup4/Manifest new file mode 100644 index 000000000..8f19a8abc --- /dev/null +++ b/dev-python/beautifulsoup4/Manifest @@ -0,0 +1,3 @@ +DIST beautifulsoup4-4.11.1.tar.gz 517113 BLAKE2B bc0cc8dbb1bffca2d3441a274147f201b79447f2147f7b4c329f05f6d230f9986eebd3709199d0b3c7dba8c15e4ce42e9dc75e290a2bfdfdae643f5dfe07e767 SHA512 7446be07cd55f23def929e6491f0d74a940cf50206ed520b8ae7b9d57bd19ecf6aa821f446ca4f26f1e08b43fcc71fb397886f51a3f0ec691f9e53dfdc7a0cf8 +EBUILD beautifulsoup4-4.11.1.ebuild 940 BLAKE2B e0db172bf56eb1777866584e5d9a2c1aa281c6e60486ba4bccad919c2753d3bd6edaeb6f388708a801f7e9152e8bbe8afdbfd2d7f211b1830cd5b3ae51256e03 SHA512 cebd59520ef560dbdc9b08660d77ed4bfc6c7879cd1c7c31b78573f52607de86305f13ab2ac4dce758f4d61817c8bbf6b2630dae7e5fe1c3b262ba33678a8ef2 +MISC metadata.xml 466 BLAKE2B bfa24c4b857c2f042ac6495ef1d369eab11303c3913fecf068d391549691d1f90641c2511bd52e3854156909c6027adf2ccc1481089f3aa66b504852ee88bc2f SHA512 c172ed4193efc223f726c235153e4b61f55cd3be4bc37f4ce7e6142252c10e7006210a0d6842072b1e01fb6a83c955fab04558a37223ac201b08bcd78db88177 diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild new file mode 100644 index 000000000..e80c10f7c --- /dev/null +++ b/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" +HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/bs4/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" + +RDEPEND=" + dev-python/soupsieve[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] +" +# bs4 prefers cchardet > chardet > charset-normalizer +# however, charset-normalizer causes test failures, so force the other two +# dev-python/chardet[${PYTHON_USEDEP}] +BDEPEND=" + test? ( + || ( + dev-python/cchardet[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc/source diff --git a/dev-python/beautifulsoup4/metadata.xml b/dev-python/beautifulsoup4/metadata.xml new file mode 100644 index 000000000..6e4a017f9 --- /dev/null +++ b/dev-python/beautifulsoup4/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + beautifulsoup4 + + leonardr@segfault.org + Leonard Richardson + + +