From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 762821382C5 for ; Sun, 14 Mar 2021 01:09:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5BBFE085B; Sun, 14 Mar 2021 01:09:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91110E085B for ; Sun, 14 Mar 2021 01:09:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F528340B9C for ; Sun, 14 Mar 2021 01:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A43BC579 for ; Sun, 14 Mar 2021 01:09:51 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1615684172.3b9873e3211f6c0135f9292f1d0474e77ff20cbb.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/fake-useragent/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/fake-useragent/fake-useragent-0.1.11-r1.ebuild X-VCS-Directories: dev-python/fake-useragent/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 3b9873e3211f6c0135f9292f1d0474e77ff20cbb X-VCS-Branch: dev Date: Sun, 14 Mar 2021 01:09:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 97500257-cd1e-4af1-b411-b60c91fdc046 X-Archives-Hash: 2c0beb58f2a7b3dd7752bf16c5df1e50 commit: 3b9873e3211f6c0135f9292f1d0474e77ff20cbb Author: Alessandro Barbieri gmail com> AuthorDate: Sun Mar 14 01:09:32 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sun Mar 14 01:09:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b9873e3 dev-python/fake-useragent: bump py Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> .../fake-useragent/fake-useragent-0.1.11-r1.ebuild | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/dev-python/fake-useragent/fake-useragent-0.1.11-r1.ebuild b/dev-python/fake-useragent/fake-useragent-0.1.11-r1.ebuild new file mode 100644 index 00000000..ba4d208d --- /dev/null +++ b/dev-python/fake-useragent/fake-useragent-0.1.11-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Up to date simple useragent faker with real world database" +HOMEPAGE=" + https://github.com/hellysmile/fake-useragent + https://pypi.org/project/fake-useragent +" +SRC_URI="https://github.com/hellysmile/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/ipdb[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pathlib2[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/prompt_toolkit[${PYTHON_USEDEP}] + dev-python/ptyprocess[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/scandir[${PYTHON_USEDEP}] + dev-python/simplegeneric[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' pytest.ini || die + + # skip online tests + rm tests/test_fake.py || die + rm tests/test_utils.py || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest +distutils_enable_sphinx docs --no-autodoc