summaryrefslogtreecommitdiff
path: root/dev-python/MechanicalSoup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-22 17:28:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-22 17:28:08 +0100
commitd79ab35b7ac170babebe8bc151fe5d037c16285c (patch)
treec774a4913f32e952079ae36fc6afd2dad747837f /dev-python/MechanicalSoup
parent992aa50a54a56c9e705ca4e85d809ec8989d74a2 (diff)
gentoo auto-resync : 22:09:2022 - 17:28:08
Diffstat (limited to 'dev-python/MechanicalSoup')
-rw-r--r--dev-python/MechanicalSoup/Manifest2
-rw-r--r--dev-python/MechanicalSoup/MechanicalSoup-1.2.0.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/MechanicalSoup/Manifest b/dev-python/MechanicalSoup/Manifest
index 4544f7c40ec8..9d91c79df864 100644
--- a/dev-python/MechanicalSoup/Manifest
+++ b/dev-python/MechanicalSoup/Manifest
@@ -1,4 +1,6 @@
DIST MechanicalSoup-1.1.0.tar.gz 49270 BLAKE2B 947b35d819dc69508595adcfe5a0c8e6bd34888c995e9c3931613498ee1ca840ce16a14359aacbf9d40aa4f9ae59d45d14da5a150e3ce39ae7e72f587c94820e SHA512 26eaa54bcd1c0aac26504d7c482ed001830a1c79bf48a3055cef92348e9336887bef86cda68281911032159a3404a1f4ee8de9b6516d7d767cfd6b3b380c4ebe
+DIST MechanicalSoup-1.2.0.tar.gz 49669 BLAKE2B a9791fd2d389c8a553ed0acce179094770651553b7aaf299ec6779509b4ffb1bb97a4a4afe01af3e4ccb56cf100b5bacc39e9aedf1143a9eb6f4b98dbb020062 SHA512 5857274e07c678dc0e19ad4fef828ccf41bb846edad566c2da9914144ced8802efd546265efac792acbb885b29cab5cde4ac3cd2002826a8bb31f91004eb2caa
EBUILD MechanicalSoup-1.1.0-r1.ebuild 1132 BLAKE2B 33415f16f45e8c32e16b89c269d8ec1a0b89d5d89434f41d8d1ec1170de988a3ca51d20d145cdb5212e449b9b42fb38c66b5988b3a645f8d1622dac0b7c1d2cc SHA512 13966585060e578e0754c8ff58328ee7224301903ce7f421b1fc457ce5bf82228c5b7020f08864dd320ea0504798fa0c539309996619e8b0fb5cce9b9de4ba93
EBUILD MechanicalSoup-1.1.0.ebuild 1100 BLAKE2B bc8e99ef28493fd75fa1f405af24cc9e51f4e35a1c9ded1b5d1ef44b4b3d1e3e4ba29f6ee8ac07a03015aad17fcd7f1b52c3814a6b917ec35a152dd4694fd60f SHA512 839815b56da7212cd15c803b2abc47611ed9dc0a8f1c6751a8a309d5a840dbcc4ba2160c6e995dd02324d87344247b9e6adcc9d2f191bed8c510e7d56234550b
+EBUILD MechanicalSoup-1.2.0.ebuild 1186 BLAKE2B 0363d1b51edc31801c2711ea3b9c740261167c1085c6e167068c0fe4fab7995ca86795f250db7bfb2ada6afe79f09b38db4d7adadb9f24c03bf6bcf075bbc033 SHA512 22f67a1e920d9d8602612e950f23990dd08a0b9779fad8e8a58d9833a32f148df3cb2fb975cef39be04540a0c32e70c7d7a6e10ced70d59e93290b1966ae29d6
MISC metadata.xml 551 BLAKE2B dca0b67c8f618d76be9c14bd4123c1505ad167fc9852112da79d3db4dfc9824ff5dbbd88e250d945bbec08c12aa4cbd91ce87f6fbfe85764ad62ff575b82ed9c SHA512 2e9b6096a8e9824b0619bed3446d24499fd1a41521708c73a1e2c3788d4f924fa07ee9b00abb4b4b96f7d59d068c5e336a88a7c1951f7337bff12e600a49c4da
diff --git a/dev-python/MechanicalSoup/MechanicalSoup-1.2.0.ebuild b/dev-python/MechanicalSoup/MechanicalSoup-1.2.0.ebuild
new file mode 100644
index 000000000000..c44576b3c1e6
--- /dev/null
+++ b/dev-python/MechanicalSoup/MechanicalSoup-1.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python library for automating interaction with websites"
+HOMEPAGE="
+ https://github.com/MechanicalSoup/MechanicalSoup/
+ https://pypi.org/project/MechanicalSoup/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+ >=dev-python/beautifulsoup4-4.7[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/requests-mock-1.3.0[${PYTHON_USEDEP}]
+ dev-python/pytest-httpbin[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
+
+python_prepare_all() {
+ # Override pytest options to skip coverage and flake8
+ sed -e '/^addopts =/d' -i setup.cfg || die
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ if use examples; then
+ docompress -x "/usr/share/doc/${PF}/examples"
+ dodoc -r examples
+ fi
+ distutils-r1_python_install_all
+}