diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/mechanicalsoup | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mechanicalsoup')
| -rw-r--r-- | dev-python/mechanicalsoup/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mechanicalsoup/mechanicalsoup-1.4.0.ebuild | 50 | ||||
| -rw-r--r-- | dev-python/mechanicalsoup/metadata.xml | 15 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/mechanicalsoup/Manifest b/dev-python/mechanicalsoup/Manifest new file mode 100644 index 000000000000..3aaa94e576e7 --- /dev/null +++ b/dev-python/mechanicalsoup/Manifest @@ -0,0 +1 @@ +DIST mechanicalsoup-1.4.0.tar.gz 51131 BLAKE2B 30613e93134f4104a353c1278776650c4013f5e0943acc7ab52c5b9e480a967d0f58955c96c06f50c4638ce52078466227fcbd0912197c793a46b19bbd3b7820 SHA512 e8e8ab304ee9a22886bc4d41871bb1433abfd87005f9a870fca3e22b4632da185be2becb25cfbb9be42662748394d90f70d52f6d81438c391f47716bc7eaf8ea diff --git a/dev-python/mechanicalsoup/mechanicalsoup-1.4.0.ebuild b/dev-python/mechanicalsoup/mechanicalsoup-1.4.0.ebuild new file mode 100644 index 000000000000..f5e05b99de9f --- /dev/null +++ b/dev-python/mechanicalsoup/mechanicalsoup-1.4.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=MechanicalSoup +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python library for automating interaction with websites" +HOMEPAGE=" + https://github.com/MechanicalSoup/MechanicalSoup/ + https://pypi.org/project/MechanicalSoup/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-python/beautifulsoup4-4.7[${PYTHON_USEDEP}] + >=dev-python/certifi-2022.12.7[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-2.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/requests-mock-1.3.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{httpbin,mock} ) +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_test() { + epytest -o addopts= +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/mechanicalsoup/metadata.xml b/dev-python/mechanicalsoup/metadata.xml new file mode 100644 index 000000000000..b82dc759060e --- /dev/null +++ b/dev-python/mechanicalsoup/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/MechanicalSoup/MechanicalSoup/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
