public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/
Date: Sun, 14 Mar 2021 11:00:57 +0000 (UTC)	[thread overview]
Message-ID: <1615719432.68b48e04e2f020ec1db1b4dab3948c17369c85c3.lanodan@gentoo> (raw)

commit:     68b48e04e2f020ec1db1b4dab3948c17369c85c3
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Mar 14 10:57:00 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sun Mar 14 10:57:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68b48e04

www-client/woob: New Package

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> 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-9999.ebuild | 80 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 169 insertions(+)

diff --git a/www-client/woob/Manifest b/www-client/woob/Manifest
new file mode 100644
index 00000000..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 00000000..c698af23
--- /dev/null
+++ b/www-client/woob/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>contact@hacktivis.me</email>
+		<name>Haelwenn (lanodan) Monnier</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/www-client/woob/woob-2.0.ebuild b/www-client/woob/woob-2.0.ebuild
new file mode 100644
index 00000000..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}" == "9999" ]]
+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-9999.ebuild b/www-client/woob/woob-9999.ebuild
new file mode 100644
index 00000000..3cd43c63
--- /dev/null
+++ b/www-client/woob/woob-9999.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}" == "9999" ]]
+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
+}


             reply	other threads:[~2021-03-14 11:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 11:00 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-30  9:37 [gentoo-commits] repo/proj/guru:dev commit in: www-client/woob/ Haelwenn Monnier
2021-04-30 19:47 Andrew Ammerlaan
2021-05-25  8:10 Anna Vyalkova
2021-05-26 12:03 Anna Vyalkova
2021-10-17  5:24 Anna Vyalkova
2022-07-07  0:41 Anna Vyalkova
2022-12-01  3:59 Haelwenn Monnier
2023-01-01 21:28 Haelwenn Monnier
2023-02-25  0:00 Anna Vyalkova
2024-05-31  4:19 Haelwenn Monnier
2024-05-31  8:50 Julien Roy
2024-05-31  8:55 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-31  8:50 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615719432.68b48e04e2f020ec1db1b4dab3948c17369c85c3.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox