summaryrefslogtreecommitdiff
path: root/dev-python/MechanicalSoup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /dev-python/MechanicalSoup
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'dev-python/MechanicalSoup')
-rw-r--r--dev-python/MechanicalSoup/Manifest2
-rw-r--r--dev-python/MechanicalSoup/MechanicalSoup-1.1.0.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/MechanicalSoup/Manifest b/dev-python/MechanicalSoup/Manifest
index f7ed28011767..6c1e4d73b6aa 100644
--- a/dev-python/MechanicalSoup/Manifest
+++ b/dev-python/MechanicalSoup/Manifest
@@ -1,5 +1,7 @@
DIST MechanicalSoup-0.12.0.tar.gz 44505 BLAKE2B 7c303f7ae4dea12157d5c845a4dcdc6923e76d3565debd88d2f43e2cfc29a503feb6accb969839a39b1c4071b029f53908a12902a5c4f175f0383da227224c55 SHA512 6cce80ea5a90e7f19f2b13749f6ee48222d973af66cb350ac867a554580b0d619defe5a93741e6ec8aa808c585a8c01703158c7484521ac069977388de8bb7e3
DIST MechanicalSoup-1.0.0.tar.gz 47572 BLAKE2B eace6cc4eaf50f01f8a7816d4d87a9345676b6921c8fe46b3280ac83463b241b2e6175b91ee1a5f907635c07ee8cf66324cb2e7938736b81e9a4f849f9159548 SHA512 00e2c5220c065b517301d9381a9bc5019f6f75dc5951a5ab4427fd7939b296b6b33a20b8f8a7e82c6feed2c9100e3481f38a424d63065883d71a6927119ad88c
+DIST MechanicalSoup-1.1.0.tar.gz 49270 BLAKE2B 947b35d819dc69508595adcfe5a0c8e6bd34888c995e9c3931613498ee1ca840ce16a14359aacbf9d40aa4f9ae59d45d14da5a150e3ce39ae7e72f587c94820e SHA512 26eaa54bcd1c0aac26504d7c482ed001830a1c79bf48a3055cef92348e9336887bef86cda68281911032159a3404a1f4ee8de9b6516d7d767cfd6b3b380c4ebe
EBUILD MechanicalSoup-0.12.0.ebuild 1135 BLAKE2B 1838a181f145a30f89545ec6c6543a878010e547cec1251a336dc0d36ef2d1acd260d6f9bba3fc7c8d5763fd85c1e7570823075b1fa2f3b1bb649036922cbdd9 SHA512 50fb4c0601fe528d8e3bb47cfd66fcf8f67fc808673ed761d7a24e209f0e5189c18fd4214c22e4fe50947a47dd480b0a558340c8c605310ee6146df3f8d873db
EBUILD MechanicalSoup-1.0.0.ebuild 1135 BLAKE2B f061513d3ce079c5f3d8fcb6a6f643061a51e9009cc23a63eb2412894d8a452e5f257b3f9fe7d4705e765eaf63a8aa689635caaa8cc3923532f4a67ac1be6c03 SHA512 78135892a45d7929c21d66b5914fcf5764aa1cf11b3f068efb2f419299d87946425a8657fc1595b34f768c80eee87110474a4b20553d6cd2e05d46101456a55e
+EBUILD MechanicalSoup-1.1.0.ebuild 1098 BLAKE2B 8b023d5fcdf5d8e4a0f689522fc90e15d25c16cef54a1395c581d87581754c50b2ec12cc22a8800eafb7d0694363193a843607d9a71d1aec647197a11ed000a4 SHA512 df31774759d01579511244e6c0327fb164bd7c4c2555ed42e7a996ac3bbb81f529168bdb93299fa639d38084c09bcc07df10ef54d6d0a4edc446523c5ac2c894
MISC metadata.xml 550 BLAKE2B 3347d385f75d19c6036e5d71f026deb04eb968d746287c4eb54e14637b6d5079e05dd2037cc4772545992916fe25f545f64b4fe857ebc4b430522e0015bfd65a SHA512 d2b155b167ba76c4aeab5300efe8350407fd884374fbfd8575820e047ecb51acd79ad2112b84e6904ea42d79847f35f50950a2080c8f2c20a621da519023357a
diff --git a/dev-python/MechanicalSoup/MechanicalSoup-1.1.0.ebuild b/dev-python/MechanicalSoup/MechanicalSoup-1.1.0.ebuild
new file mode 100644
index 000000000000..c110cacf2a55
--- /dev/null
+++ b/dev-python/MechanicalSoup/MechanicalSoup-1.1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A python library for automating interaction with websites"
+HOMEPAGE="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/beautifulsoup-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 -i -e '/^addopts =/d' 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
+}