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 016ED138351 for ; Wed, 18 Mar 2020 19:13:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0C35E0B92; Wed, 18 Mar 2020 19:13:57 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 CBC52E0B8B for ; Wed, 18 Mar 2020 19:13:57 +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 8A51C34F2E0 for ; Wed, 18 Mar 2020 19:13:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89CD118D for ; Wed, 18 Mar 2020 19:13:53 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1584558778.a4e67d6a50053d7bb298c117956c5dede3f424d3.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/graphene/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/graphene/Manifest dev-python/graphene/graphene-2.1.8.ebuild dev-python/graphene/metadata.xml X-VCS-Directories: dev-python/graphene/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: a4e67d6a50053d7bb298c117956c5dede3f424d3 X-VCS-Branch: dev Date: Wed, 18 Mar 2020 19:13:53 +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: 125b8ab6-eb7f-4448-9dea-bc7d608e512d X-Archives-Hash: 5622f13a21c10053fb2f6c4972aa4372 commit: a4e67d6a50053d7bb298c117956c5dede3f424d3 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Mar 18 18:40:53 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Mar 18 19:12:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4e67d6a dev-python/graphene: GraphQL Framework for Python Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/graphene/Manifest | 1 + dev-python/graphene/graphene-2.1.8.ebuild | 45 +++++++++++++++++++++++++++++++ dev-python/graphene/metadata.xml | 9 +++++++ 3 files changed, 55 insertions(+) diff --git a/dev-python/graphene/Manifest b/dev-python/graphene/Manifest new file mode 100644 index 0000000..08f9b68 --- /dev/null +++ b/dev-python/graphene/Manifest @@ -0,0 +1 @@ +DIST graphene-2.1.8.tar.gz 102179 BLAKE2B 45c61f0f5965828f4b623a1a78678afdd9ef180c0ac83ff6d13ac4385479a787166e7401d75b4314cd125c623ebab7f43337fe2b00db471c1c8751177ca8b264 SHA512 238108c2047b9942de22f21b90581bbda42fb85ee3588ed5d4a26bd54784a6a71407c7a4e8308726ab22b6a62317e94253a60d1771272969e00e0097f3614d51 diff --git a/dev-python/graphene/graphene-2.1.8.ebuild b/dev-python/graphene/graphene-2.1.8.ebuild new file mode 100644 index 0000000..52cadca --- /dev/null +++ b/dev-python/graphene/graphene-2.1.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="GraphQL Framework for Python" +HOMEPAGE="https://github.com/graphql-python/graphene" +SRC_URI="https://github.com/graphql-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# We need newer graphql-core +RESTRICT="test" + +RDEPEND=" + dev-python/aniso8601[${PYTHON_USEDEP}] + dev-python/graphql-core[${PYTHON_USEDEP}] + dev-python/graphql-relay[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}]" + +DEPEND="test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/promises[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/iso8601[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # Package installs 'examples' package which is forbidden and likely a bug in the build system. + rm -r examples || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest +# ModuleNotFoundError: No module named 'sphinx_graphene_theme' +# There is a github, but no releases at the moment +#distutils_enable_sphinx docs diff --git a/dev-python/graphene/metadata.xml b/dev-python/graphene/metadata.xml new file mode 100644 index 0000000..a507be0 --- /dev/null +++ b/dev-python/graphene/metadata.xml @@ -0,0 +1,9 @@ + + + + + + piotr.staroszczyk@get24.org + Piotr Staroszczyk + +