[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: aad1839d47c58d5140e72e9eecf1bb57fb032c34 Author: Julien Roy jroy ca> AuthorDate: Fri May 31 08:46:11 2024 + Commit: Julien Roy jroy ca> CommitDate: Fri May 31 08:46:19 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aad1839d Revert "www-client/woob: treeclean" This reverts commit ca4c03d60b5e125b87c88443aa3f4eddc031b104. Signed-off-by: Julien Roy jroy.ca> www-client/woob/Manifest | 1 + www-client/woob/metadata.xml | 11 +++ www-client/woob/woob-3.1-r1.ebuild | 63 ++ www-client/woob/woob-.ebuild | 63 ++ 4 files changed, 138 insertions(+) diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest new file mode 100644 index 0..d43bd72c4 --- /dev/null +++ b/www-client/woob/Manifest @@ -0,0 +1 @@ +DIST woob-3.1.tar.bz2 2793058 BLAKE2B a65efa69689c2ae6fe3fb6cf72d66b481b00c59debc31577d205468343d9599483e98335103df278186d2c0ba2804684945ac6a2aebc65e2ad39b2544cdd29a5 SHA512 1a00f840ff7e16f07dc532778aa73b316df9450419910062dd406db05aae21bf01122739b4a63fd7adae6ee3eb22eedd90928741a387dc9d2c2730d81cabfb1f diff --git a/www-client/woob/metadata.xml b/www-client/woob/metadata.xml new file mode 100644 index 0..81b3a6ed3 --- /dev/null +++ b/www-client/woob/metadata.xml @@ -0,0 +1,11 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + cont...@hacktivis.me + Haelwenn (lanodan) Monnier + + + woob/woob + + diff --git a/www-client/woob/woob-3.1-r1.ebuild b/www-client/woob/woob-3.1-r1.ebuild new file mode 100644 index 0..3591bf4d3 --- /dev/null +++ b/www-client/woob/woob-3.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +if [[ "${PV}" == "" ]]; then + EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; + inherit git-r3 +else + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2; + KEYWORDS="~amd64" +fi + +DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)" +HOMEPAGE="https://woob.tech https://gitlab.com/woob/woob; +LICENSE="LGPL-3+" +SLOT="0" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/html2text[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/Babel[${PYTHON_USEDEP}] + + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + sci-geosciences/geopy[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +distutils_enable_sphinx docs/source + +src_prepare() { + default + + # doctests depending on a network connection + sed -i -e '/browsers.py/d' -e '/pages.py/d' setup.cfg || die +} + +python_test() { + epytest --doctest-modules +} + +python_install_all() { + distutils-r1_python_install_all + insinto /usr/share/${PN}/ + doins -r contrib +} diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild new file mode 100644 index 0..3591bf4d3 --- /dev/null +++ b/www-client/woob/woob-.ebuild @@ -0,0 +1,63 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +if [[ "${PV}" == "" ]]; then + EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; + inherit git-r3 +else + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2; + KEYWORDS="~amd64" +fi + +DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)" +HOMEPAGE="https://woob.tech https://gitlab.com/woob/woob; +LICENSE="LGPL-3+" +SLOT="0" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/html2text[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/Babel[${PYTHON_USEDEP}] + + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] +
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: 68e07734f0428fe6cf89be621285adce1017197b Author: Julien Roy jroy ca> AuthorDate: Fri May 31 08:48:01 2024 + Commit: Julien Roy jroy ca> CommitDate: Fri May 31 08:48:01 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68e07734 www-client/woob: drop to maintainer-needed Signed-off-by: Julien Roy jroy.ca> www-client/woob/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/www-client/woob/metadata.xml b/www-client/woob/metadata.xml index 81b3a6ed3..d0c338fbb 100644 --- a/www-client/woob/metadata.xml +++ b/www-client/woob/metadata.xml @@ -1,10 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - cont...@hacktivis.me - Haelwenn (lanodan) Monnier - + woob/woob
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: ca4c03d60b5e125b87c88443aa3f4eddc031b104 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri May 31 04:17:56 2024 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri May 31 04:19:12 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca4c03d6 www-client/woob: treeclean Haven't used it in more than a year and is several versions out of date. Closes: https://bugs.gentoo.org/889714 Closes: https://bugs.gentoo.org/897772 Closes: https://bugs.gentoo.org/931490 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> www-client/woob/Manifest | 1 - www-client/woob/metadata.xml | 11 --- www-client/woob/woob-3.1-r1.ebuild | 63 -- www-client/woob/woob-.ebuild | 63 -- 4 files changed, 138 deletions(-) diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest deleted file mode 100644 index d43bd72c4..0 --- a/www-client/woob/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST woob-3.1.tar.bz2 2793058 BLAKE2B a65efa69689c2ae6fe3fb6cf72d66b481b00c59debc31577d205468343d9599483e98335103df278186d2c0ba2804684945ac6a2aebc65e2ad39b2544cdd29a5 SHA512 1a00f840ff7e16f07dc532778aa73b316df9450419910062dd406db05aae21bf01122739b4a63fd7adae6ee3eb22eedd90928741a387dc9d2c2730d81cabfb1f diff --git a/www-client/woob/metadata.xml b/www-client/woob/metadata.xml deleted file mode 100644 index 81b3a6ed3..0 --- a/www-client/woob/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - -https://www.gentoo.org/dtd/metadata.dtd;> - - - cont...@hacktivis.me - Haelwenn (lanodan) Monnier - - - woob/woob - - diff --git a/www-client/woob/woob-3.1-r1.ebuild b/www-client/woob/woob-3.1-r1.ebuild deleted file mode 100644 index 3591bf4d3..0 --- a/www-client/woob/woob-3.1-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -if [[ "${PV}" == "" ]]; then - EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; - inherit git-r3 -else - SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2; - KEYWORDS="~amd64" -fi - -DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)" -HOMEPAGE="https://woob.tech https://gitlab.com/woob/woob; -LICENSE="LGPL-3+" -SLOT="0" - -RDEPEND=" - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/cssselect[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/html2text[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/Babel[${PYTHON_USEDEP}] - - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - dev-python/termcolor[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - sci-geosciences/geopy[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -distutils_enable_sphinx docs/source - -src_prepare() { - default - - # doctests depending on a network connection - sed -i -e '/browsers.py/d' -e '/pages.py/d' setup.cfg || die -} - -python_test() { - epytest --doctest-modules -} - -python_install_all() { - distutils-r1_python_install_all - insinto /usr/share/${PN}/ - doins -r contrib -} diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild deleted file mode 100644 index 3591bf4d3..0 --- a/www-client/woob/woob-.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -if [[ "${PV}" == "" ]]; then - EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; - inherit git-r3 -else - SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2; - KEYWORDS="~amd64" -fi - -DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)" -HOMEPAGE="https://woob.tech https://gitlab.com/woob/woob; -LICENSE="LGPL-3+" -SLOT="0" - -RDEPEND=" - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/cssselect[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/html2text[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] -
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: d28200dc9a708ef9fc71caa841561ce915fee222 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Feb 24 23:15:54 2023 + Commit: Anna Vyalkova sysrq in> CommitDate: Fri Feb 24 23:17:29 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d28200dc www-client/woob: enable py3.11 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> www-client/woob/Manifest| 2 +- www-client/woob/{woob-3.1.ebuild => woob-3.1-r1.ebuild} | 7 --- www-client/woob/woob-.ebuild| 7 --- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest index 67d5adb52..d43bd72c4 100644 --- a/www-client/woob/Manifest +++ b/www-client/woob/Manifest @@ -1 +1 @@ -DIST woob-3.1.tar.gz 3327352 BLAKE2B 0737abe144374eb5edb81530a12baf2d3ea645a2320afb4f59a0f5e3bca90f0c59d277e3a12f8bd5fe78d47599447f1a5ddd0736e6cada728c1ea32ee55e9dfb SHA512 fbd4ceaa6072a86ea7451f068559e9dc11c2a721a7d028b8caa1639c06e8b7ca6c8a067d749ae7946f0b062aab41951a4e66eaf3f895dd8275651c2c17a03db4 +DIST woob-3.1.tar.bz2 2793058 BLAKE2B a65efa69689c2ae6fe3fb6cf72d66b481b00c59debc31577d205468343d9599483e98335103df278186d2c0ba2804684945ac6a2aebc65e2ad39b2544cdd29a5 SHA512 1a00f840ff7e16f07dc532778aa73b316df9450419910062dd406db05aae21bf01122739b4a63fd7adae6ee3eb22eedd90928741a387dc9d2c2730d81cabfb1f diff --git a/www-client/woob/woob-3.1.ebuild b/www-client/woob/woob-3.1-r1.ebuild similarity index 93% rename from www-client/woob/woob-3.1.ebuild rename to www-client/woob/woob-3.1-r1.ebuild index 239b5e216..2bea549aa 100644 --- a/www-client/woob/woob-3.1.ebuild +++ b/www-client/woob/woob-3.1-r1.ebuild @@ -1,16 +1,17 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 if [[ "${PV}" == "" ]]; then EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; inherit git-r3 else - SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz; + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2; KEYWORDS="~amd64" fi diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild index 239b5e216..2bea549aa 100644 --- a/www-client/woob/woob-.ebuild +++ b/www-client/woob/woob-.ebuild @@ -1,16 +1,17 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 if [[ "${PV}" == "" ]]; then EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; inherit git-r3 else - SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz; + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2; KEYWORDS="~amd64" fi
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: f3d4bf0c95717749ab6493b45dbdc9723d9b8d7f Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Wed Dec 21 00:33:49 2022 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Sun Jan 1 21:27:57 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3d4bf0c www-client/woob: add 3.1, drop 3.0-r1 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> www-client/woob/Manifest | 2 +- .../woob/{woob-3.0-r1.ebuild => woob-3.1.ebuild} | 18 +- www-client/woob/woob-.ebuild | 18 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest index babc31bee..67d5adb52 100644 --- a/www-client/woob/Manifest +++ b/www-client/woob/Manifest @@ -1 +1 @@ -DIST woob-3.0.tar.gz 3122974 BLAKE2B 0faff4d917674496f3340465e176641d74e0c86e9c29350aaba1ee864a7477b504812b88144bf63c06c7515762916c971916fb59f720d0380de08d85f1c17b7b SHA512 bf4bb0bd7fd1643b867b03a78f59675c1ea0b8d4455883726d0803a3ed13d37c64795e2a98e8d580852650f6853809356955f583aac37cc6b8e08818b2f3abf1 +DIST woob-3.1.tar.gz 3327352 BLAKE2B 0737abe144374eb5edb81530a12baf2d3ea645a2320afb4f59a0f5e3bca90f0c59d277e3a12f8bd5fe78d47599447f1a5ddd0736e6cada728c1ea32ee55e9dfb SHA512 fbd4ceaa6072a86ea7451f068559e9dc11c2a721a7d028b8caa1639c06e8b7ca6c8a067d749ae7946f0b062aab41951a4e66eaf3f895dd8275651c2c17a03db4 diff --git a/www-client/woob/woob-3.0-r1.ebuild b/www-client/woob/woob-3.1.ebuild similarity index 83% rename from www-client/woob/woob-3.0-r1.ebuild rename to www-client/woob/woob-3.1.ebuild index 01af6eac8..239b5e216 100644 --- a/www-client/woob/woob-3.0-r1.ebuild +++ b/www-client/woob/woob-3.1.ebuild @@ -40,19 +40,19 @@ RDEPEND=" sci-geosciences/geopy[${PYTHON_USEDEP}] " -distutils_enable_tests nose +distutils_enable_tests pytest distutils_enable_sphinx docs/source -python_prepare_all() { - # disable failing tests - sed -i \ - -e '/woob.browser.browsers,/d' \ - -e '/woob.browser.pages,/d' \ - -e '/woob.tools.application.formatters.table,/d' \ - setup.cfg || die +src_prepare() { + default - distutils-r1_python_prepare_all + # doctests depending on a network connection + sed -i -e '/browsers.py/d' -e '/pages.py/d' setup.cfg || die +} + +python_test() { + epytest --doctest-modules } python_install_all() { diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild index 01af6eac8..239b5e216 100644 --- a/www-client/woob/woob-.ebuild +++ b/www-client/woob/woob-.ebuild @@ -40,19 +40,19 @@ RDEPEND=" sci-geosciences/geopy[${PYTHON_USEDEP}] " -distutils_enable_tests nose +distutils_enable_tests pytest distutils_enable_sphinx docs/source -python_prepare_all() { - # disable failing tests - sed -i \ - -e '/woob.browser.browsers,/d' \ - -e '/woob.browser.pages,/d' \ - -e '/woob.tools.application.formatters.table,/d' \ - setup.cfg || die +src_prepare() { + default - distutils-r1_python_prepare_all + # doctests depending on a network connection + sed -i -e '/browsers.py/d' -e '/pages.py/d' setup.cfg || die +} + +python_test() { + epytest --doctest-modules } python_install_all() {
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: 3dead6b471bd86a45cae2607363513b6eb5ffd65 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Thu Dec 1 03:50:48 2022 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Thu Dec 1 03:51:46 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3dead6b4 www-client/woob: Add missing dep (dev-python/colorama) Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> www-client/woob/woob-3.0-r1.ebuild | 1 + www-client/woob/woob-.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/www-client/woob/woob-3.0-r1.ebuild b/www-client/woob/woob-3.0-r1.ebuild index 4322883bb..01af6eac8 100644 --- a/www-client/woob/woob-3.0-r1.ebuild +++ b/www-client/woob/woob-3.0-r1.ebuild @@ -36,6 +36,7 @@ RDEPEND=" dev-python/python-jose[${PYTHON_USEDEP}] dev-python/selenium[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] sci-geosciences/geopy[${PYTHON_USEDEP}] " diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild index 4322883bb..01af6eac8 100644 --- a/www-client/woob/woob-.ebuild +++ b/www-client/woob/woob-.ebuild @@ -36,6 +36,7 @@ RDEPEND=" dev-python/python-jose[${PYTHON_USEDEP}] dev-python/selenium[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] sci-geosciences/geopy[${PYTHON_USEDEP}] "
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: da75589ecb1d68ed05fd86e4ce859343f0c3081a Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sat Oct 16 19:26:46 2021 + Commit: Anna Vyalkova sysrq in> CommitDate: Sun Oct 17 05:22:37 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da75589e www-client/woob: use geopy from ::gentoo Closes: https://bugs.gentoo.org/817950 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> www-client/woob/metadata.xml | 2 +- www-client/woob/woob-3.0-r1.ebuild | 12 www-client/woob/woob-.ebuild | 12 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/www-client/woob/metadata.xml b/www-client/woob/metadata.xml index c698af234..2092bcc33 100644 --- a/www-client/woob/metadata.xml +++ b/www-client/woob/metadata.xml @@ -1,5 +1,5 @@ -http://www.gentoo.org/dtd/metadata.dtd;> +https://www.gentoo.org/dtd/metadata.dtd;> cont...@hacktivis.me diff --git a/www-client/woob/woob-3.0-r1.ebuild b/www-client/woob/woob-3.0-r1.ebuild index b00e3f9ba..24d0a16c3 100644 --- a/www-client/woob/woob-3.0-r1.ebuild +++ b/www-client/woob/woob-3.0-r1.ebuild @@ -1,15 +1,12 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - inherit distutils-r1 -if [[ "${PV}" == "" ]] -then +if [[ "${PV}" == "" ]]; then EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; inherit git-r3 else @@ -35,20 +32,19 @@ RDEPEND=" dev-python/Babel[${PYTHON_USEDEP}] dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/geopy[${PYTHON_USEDEP}] dev-python/prettytable[${PYTHON_USEDEP}] dev-python/python-jose[${PYTHON_USEDEP}] dev-python/selenium[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] + sci-geosciences/geopy[${PYTHON_USEDEP}] " -BDEPEND="test? ( ${RDEPEND} )" distutils_enable_tests nose distutils_enable_sphinx docs/source python_prepare_all() { + # disable failing tests sed -i \ -e '/woob.browser.browsers,/d' \ -e '/woob.browser.pages,/d' \ diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild index b00e3f9ba..24d0a16c3 100644 --- a/www-client/woob/woob-.ebuild +++ b/www-client/woob/woob-.ebuild @@ -1,15 +1,12 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - inherit distutils-r1 -if [[ "${PV}" == "" ]] -then +if [[ "${PV}" == "" ]]; then EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; inherit git-r3 else @@ -35,20 +32,19 @@ RDEPEND=" dev-python/Babel[${PYTHON_USEDEP}] dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/geopy[${PYTHON_USEDEP}] dev-python/prettytable[${PYTHON_USEDEP}] dev-python/python-jose[${PYTHON_USEDEP}] dev-python/selenium[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] + sci-geosciences/geopy[${PYTHON_USEDEP}] " -BDEPEND="test? ( ${RDEPEND} )" distutils_enable_tests nose distutils_enable_sphinx docs/source python_prepare_all() { + # disable failing tests sed -i \ -e '/woob.browser.browsers,/d' \ -e '/woob.browser.pages,/d' \
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: 8e085e8e1a75a723714f6aab481d316aac90a885 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed May 26 10:59:26 2021 + Commit: Anna Vyalkova sysrq in> CommitDate: Wed May 26 10:59:26 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8e085e8e www-client/woob: skip failing test Closes: https://bugs.gentoo.org/792213 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> www-client/woob/woob-3.0-r1.ebuild | 11 ++- www-client/woob/woob-.ebuild | 11 ++- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/www-client/woob/woob-3.0-r1.ebuild b/www-client/woob/woob-3.0-r1.ebuild index b0535df1d..51f6d0707 100644 --- a/www-client/woob/woob-3.0-r1.ebuild +++ b/www-client/woob/woob-3.0-r1.ebuild @@ -42,19 +42,20 @@ RDEPEND=" dev-python/termcolor[${PYTHON_USEDEP}] dev-python/unidecode[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND}" +BDEPEND="test? ( ${RDEPEND} )" distutils_enable_tests nose distutils_enable_sphinx docs/source -src_prepare() { - default - +python_prepare_all() { sed -i \ -e '/woob.browser.browsers,/d' \ -e '/woob.browser.pages,/d' \ - setup.cfg || die "Failed removing network-dependent tests" + -e '/woob.tools.application.formatters.table,/d' \ + setup.cfg || die + + distutils-r1_python_prepare_all } python_install_all() { diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild index b0535df1d..51f6d0707 100644 --- a/www-client/woob/woob-.ebuild +++ b/www-client/woob/woob-.ebuild @@ -42,19 +42,20 @@ RDEPEND=" dev-python/termcolor[${PYTHON_USEDEP}] dev-python/unidecode[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND}" +BDEPEND="test? ( ${RDEPEND} )" distutils_enable_tests nose distutils_enable_sphinx docs/source -src_prepare() { - default - +python_prepare_all() { sed -i \ -e '/woob.browser.browsers,/d' \ -e '/woob.browser.pages,/d' \ - setup.cfg || die "Failed removing network-dependent tests" + -e '/woob.tools.application.formatters.table,/d' \ + setup.cfg || die + + distutils-r1_python_prepare_all } python_install_all() {
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: e2d4a9336d65d81c919367a9e490d381ca9cec7a Author: Anna Vyalkova sysrq in> AuthorDate: Tue May 25 02:17:37 2021 + Commit: Anna Vyalkova sysrq in> CommitDate: Tue May 25 08:06:54 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2d4a933 www-client/woob: fixes in deps, add docs Signed-off-by: Anna Vyalkova sysrq.in> www-client/woob/Manifest | 2 +- .../woob/{woob-3.0.ebuild => woob-3.0-r1.ebuild} | 40 +++--- www-client/woob/woob-.ebuild | 40 +++--- 3 files changed, 25 insertions(+), 57 deletions(-) diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest index c653ec8b7..babc31bee 100644 --- a/www-client/woob/Manifest +++ b/www-client/woob/Manifest @@ -1 +1 @@ -DIST woob-3.0.tar.gz 1037459 BLAKE2B 989af820505d8bd32318f87a49bb8106224ee88655f1339baee95782894aca5fd3a95fc9d80a643cf0db27d542a4b61ac9c0b50e47b69e68cd1132d229a84743 SHA512 1147330ee6801a250fa22d15640d8ba7dac7e26be41e05a5f6b33c8f61967f32a94eedd74ec70bdfade3a3766312ccff5f09baefb76f45416d3d92185ff6265f +DIST woob-3.0.tar.gz 3122974 BLAKE2B 0faff4d917674496f3340465e176641d74e0c86e9c29350aaba1ee864a7477b504812b88144bf63c06c7515762916c971916fb59f720d0380de08d85f1c17b7b SHA512 bf4bb0bd7fd1643b867b03a78f59675c1ea0b8d4455883726d0803a3ed13d37c64795e2a98e8d580852650f6853809356955f583aac37cc6b8e08818b2f3abf1 diff --git a/www-client/woob/woob-3.0.ebuild b/www-client/woob/woob-3.0-r1.ebuild similarity index 56% rename from www-client/woob/woob-3.0.ebuild rename to www-client/woob/woob-3.0-r1.ebuild index dbed431d4..b0535df1d 100644 --- a/www-client/woob/woob-3.0.ebuild +++ b/www-client/woob/woob-3.0-r1.ebuild @@ -3,29 +3,26 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 if [[ "${PV}" == "" ]] then - EGIT_REPO_URI="https://gitlab.com/woob/woob.git; + EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; inherit git-r3 else - SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/${P}.tar.gz; + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz; KEYWORDS="~amd64" fi DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)" -HOMEPAGE="https://woob.tech/; +HOMEPAGE="https://woob.tech https://gitlab.com/woob/woob; LICENSE="LGPL-3+" SLOT="0" -IUSE="test" -#RESTRICT="!test ( test )" -# setup.cfg + .ci/requirements.txt + .ci/requirements-module.txt -COMMON_DEPEND=" +RDEPEND=" dev-python/lxml[${PYTHON_USEDEP}] dev-python/cssselect[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] @@ -37,33 +34,20 @@ COMMON_DEPEND=" dev-python/pillow[${PYTHON_USEDEP}] dev-python/Babel[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/geopy[${PYTHON_USEDEP}] dev-python/prettytable[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] dev-python/unidecode[${PYTHON_USEDEP}] " -# setup.cfg + .ci/requirements.txt + .ci/requirements-module.txt -DEPEND=" - ${COMMON_DEPEND} - test? ( - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/xunitparser[${PYTHON_USEDEP}] - >=dev-python/coverage-5.1[${PYTHON_USEDEP}] - - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - dev-python/asttokens[${PYTHON_USEDEP}] - - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/geopy[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - ) -" -RDEPEND="${COMMON_DEPEND}" +DEPEND="${RDEPEND}" distutils_enable_tests nose +distutils_enable_sphinx docs/source + src_prepare() { default diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild index dbed431d4..b0535df1d 100644 --- a/www-client/woob/woob-.ebuild +++ b/www-client/woob/woob-.ebuild @@ -3,29 +3,26 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 if [[ "${PV}" == "" ]] then - EGIT_REPO_URI="https://gitlab.com/woob/woob.git; + EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git; inherit git-r3 else - SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/${P}.tar.gz; + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz; KEYWORDS="~amd64" fi DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)" -HOMEPAGE="https://woob.tech/; +HOMEPAGE="https://woob.tech
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: 2bc5018ccab4e991a9554b7f1036d4fc683c01b1 Author: Andrew Ammerlaan riseup net> AuthorDate: Fri Apr 30 19:46:27 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Apr 30 19:46:27 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2bc5018c www-client/woob: fix StaticSrcUri Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan riseup.net> www-client/woob/woob-3.0.ebuild | 2 +- www-client/woob/woob-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www-client/woob/woob-3.0.ebuild b/www-client/woob/woob-3.0.ebuild index 778d90b8a..dbed431d4 100644 --- a/www-client/woob/woob-3.0.ebuild +++ b/www-client/woob/woob-3.0.ebuild @@ -13,7 +13,7 @@ then EGIT_REPO_URI="https://gitlab.com/woob/woob.git; inherit git-r3 else - SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/woob-3.0.tar.gz; + SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/${P}.tar.gz; KEYWORDS="~amd64" fi diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild index 778d90b8a..dbed431d4 100644 --- a/www-client/woob/woob-.ebuild +++ b/www-client/woob/woob-.ebuild @@ -13,7 +13,7 @@ then EGIT_REPO_URI="https://gitlab.com/woob/woob.git; inherit git-r3 else - SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/woob-3.0.tar.gz; + SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/${P}.tar.gz; KEYWORDS="~amd64" fi
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: e087bd1e62898842843fdf75da3407be13171090 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Apr 30 09:31:07 2021 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Apr 30 09:36:57 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e087bd1e www-client/woob: Clean version bump, 3.0 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> www-client/woob/Manifest | 2 +- www-client/woob/{woob-2.0.ebuild => woob-3.0.ebuild} | 12 ++-- www-client/woob/woob-.ebuild | 12 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest index b8538a89e..c653ec8b7 100644 --- a/www-client/woob/Manifest +++ b/www-client/woob/Manifest @@ -1 +1 @@ -DIST weboob-2.0.tar.gz 1014657 BLAKE2B 69af118acdc8a60f03568f4a36252d8e8437ad7de88949e83b928a81061c201880fc18a79908c4bc7db1cc65e20350830d9cd0f843f3f342c2e18cf53198f9c3 SHA512 57a6e345d0ae0189d7c6fdc1b5617b2d1c6dbad8f03f6a39939955db0b7200998ad1164d9ebf787b7d666b81b6cc9866b398ac2052a44f247fcfa6bf7c0bf866 +DIST woob-3.0.tar.gz 1037459 BLAKE2B 989af820505d8bd32318f87a49bb8106224ee88655f1339baee95782894aca5fd3a95fc9d80a643cf0db27d542a4b61ac9c0b50e47b69e68cd1132d229a84743 SHA512 1147330ee6801a250fa22d15640d8ba7dac7e26be41e05a5f6b33c8f61967f32a94eedd74ec70bdfade3a3766312ccff5f09baefb76f45416d3d92185ff6265f diff --git a/www-client/woob/woob-2.0.ebuild b/www-client/woob/woob-3.0.ebuild similarity index 83% rename from www-client/woob/woob-2.0.ebuild rename to www-client/woob/woob-3.0.ebuild index 3cd43c639..778d90b8a 100644 --- a/www-client/woob/woob-2.0.ebuild +++ b/www-client/woob/woob-3.0.ebuild @@ -4,20 +4,20 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 if [[ "${PV}" == "" ]] then - EGIT_REPO_URI="https://git.weboob.org/weboob/weboob.git; + EGIT_REPO_URI="https://gitlab.com/woob/woob.git; inherit git-r3 else - SRC_URI="https://git.woob.tech/weboob/weboob/uploads/7b91875f693b60e93c5976daa051034b/weboob-2.0.tar.gz; - S="${WORKDIR}/weboob-${PV}" + SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/woob-3.0.tar.gz; KEYWORDS="~amd64" fi -DESCRIPTION="Consume lots of websites without a browser (Web Outside Of Browsers)" +DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)" HOMEPAGE="https://woob.tech/; LICENSE="LGPL-3+" SLOT="0" @@ -68,8 +68,8 @@ src_prepare() { default sed -i \ - -e '/weboob.browser.browsers,/d' \ - -e '/weboob.browser.pages,/d' \ + -e '/woob.browser.browsers,/d' \ + -e '/woob.browser.pages,/d' \ setup.cfg || die "Failed removing network-dependent tests" } diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild index 3cd43c639..778d90b8a 100644 --- a/www-client/woob/woob-.ebuild +++ b/www-client/woob/woob-.ebuild @@ -4,20 +4,20 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 if [[ "${PV}" == "" ]] then - EGIT_REPO_URI="https://git.weboob.org/weboob/weboob.git; + EGIT_REPO_URI="https://gitlab.com/woob/woob.git; inherit git-r3 else - SRC_URI="https://git.woob.tech/weboob/weboob/uploads/7b91875f693b60e93c5976daa051034b/weboob-2.0.tar.gz; - S="${WORKDIR}/weboob-${PV}" + SRC_URI="https://gitlab.com/woob/woob/uploads/98647f26717896697b52170cf8bcd301/woob-3.0.tar.gz; KEYWORDS="~amd64" fi -DESCRIPTION="Consume lots of websites without a browser (Web Outside Of Browsers)" +DESCRIPTION="Web Outside Of Browsers (core, site modules and applications)" HOMEPAGE="https://woob.tech/; LICENSE="LGPL-3+" SLOT="0" @@ -68,8 +68,8 @@ src_prepare() { default sed -i \ - -e '/weboob.browser.browsers,/d' \ - -e '/weboob.browser.pages,/d' \ + -e '/woob.browser.browsers,/d' \ + -e '/woob.browser.pages,/d' \ setup.cfg || die "Failed removing network-dependent tests" }
[gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
commit: 68b48e04e2f020ec1db1b4dab3948c17369c85c3 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Sun Mar 14 10:57:00 2021 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Sun Mar 14 10:57:12 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68b48e04 www-client/woob: New Package Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> www-client/woob/Manifest | 1 + www-client/woob/metadata.xml | 8 www-client/woob/woob-2.0.ebuild | 80 www-client/woob/woob-.ebuild | 80 4 files changed, 169 insertions(+) diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest new file mode 100644 index ..b8538a89 --- /dev/null +++ b/www-client/woob/Manifest @@ -0,0 +1 @@ +DIST weboob-2.0.tar.gz 1014657 BLAKE2B 69af118acdc8a60f03568f4a36252d8e8437ad7de88949e83b928a81061c201880fc18a79908c4bc7db1cc65e20350830d9cd0f843f3f342c2e18cf53198f9c3 SHA512 57a6e345d0ae0189d7c6fdc1b5617b2d1c6dbad8f03f6a39939955db0b7200998ad1164d9ebf787b7d666b81b6cc9866b398ac2052a44f247fcfa6bf7c0bf866 diff --git a/www-client/woob/metadata.xml b/www-client/woob/metadata.xml new file mode 100644 index ..c698af23 --- /dev/null +++ b/www-client/woob/metadata.xml @@ -0,0 +1,8 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + cont...@hacktivis.me + Haelwenn (lanodan) Monnier + + diff --git a/www-client/woob/woob-2.0.ebuild b/www-client/woob/woob-2.0.ebuild new file mode 100644 index ..3cd43c63 --- /dev/null +++ b/www-client/woob/woob-2.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +if [[ "${PV}" == "" ]] +then + EGIT_REPO_URI="https://git.weboob.org/weboob/weboob.git; + inherit git-r3 +else + SRC_URI="https://git.woob.tech/weboob/weboob/uploads/7b91875f693b60e93c5976daa051034b/weboob-2.0.tar.gz; + S="${WORKDIR}/weboob-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Consume lots of websites without a browser (Web Outside Of Browsers)" +HOMEPAGE="https://woob.tech/; +LICENSE="LGPL-3+" +SLOT="0" +IUSE="test" +#RESTRICT="!test ( test )" + +# setup.cfg + .ci/requirements.txt + .ci/requirements-module.txt +COMMON_DEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/html2text[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/Babel[${PYTHON_USEDEP}] + + dev-python/prettytable[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] +" +# setup.cfg + .ci/requirements.txt + .ci/requirements-module.txt +DEPEND=" + ${COMMON_DEPEND} + test? ( + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/xunitparser[${PYTHON_USEDEP}] + >=dev-python/coverage-5.1[${PYTHON_USEDEP}] + + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/asttokens[${PYTHON_USEDEP}] + + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/geopy[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + ) +" +RDEPEND="${COMMON_DEPEND}" + +distutils_enable_tests nose + +src_prepare() { + default + + sed -i \ + -e '/weboob.browser.browsers,/d' \ + -e '/weboob.browser.pages,/d' \ + setup.cfg || die "Failed removing network-dependent tests" +} + +python_install_all() { + distutils-r1_python_install_all + insinto /usr/share/${PN}/ + doins -r contrib +} diff --git a/www-client/woob/woob-.ebuild b/www-client/woob/woob-.ebuild new file mode 100644 index ..3cd43c63 --- /dev/null +++ b/www-client/woob/woob-.ebuild @@ -0,0 +1,80 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +if [[ "${PV}" == "" ]] +then + EGIT_REPO_URI="https://git.weboob.org/weboob/weboob.git; + inherit git-r3 +else + SRC_URI="https://git.woob.tech/weboob/weboob/uploads/7b91875f693b60e93c5976daa051034b/weboob-2.0.tar.gz; + S="${WORKDIR}/weboob-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Consume lots of websites without a browser (Web Outside Of Browsers)" +HOMEPAGE="https://woob.tech/;