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 A1002138350 for ; Wed, 4 Mar 2020 18:02:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2559E099F; Wed, 4 Mar 2020 18:02:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 C0A74E098A for ; Wed, 4 Mar 2020 18:02:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 EE4F434E590 for ; Wed, 4 Mar 2020 18:02:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2BB371 for ; Wed, 4 Mar 2020 18:02:55 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1583344905.62060ce5c736ff260648ac2c318171bafd463dc9.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/genson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/genson/Manifest dev-python/genson/genson-1.1.0.ebuild dev-python/genson/metadata.xml X-VCS-Directories: dev-python/genson/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 62060ce5c736ff260648ac2c318171bafd463dc9 X-VCS-Branch: master Date: Wed, 4 Mar 2020 18:02:55 +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: 4ec24527-ddb4-432a-b1db-21a0a95a83fd X-Archives-Hash: 0153de2f162c25c203e4cf41e1c041e6 commit: 62060ce5c736ff260648ac2c318171bafd463dc9 Author: Alexey Shvetsov gentoo org> AuthorDate: Wed Mar 4 18:00:23 2020 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Wed Mar 4 18:01:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62060ce5 dev-python/genson: New package Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Alexey Shvetsov gentoo.org> dev-python/genson/Manifest | 1 + dev-python/genson/genson-1.1.0.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-python/genson/metadata.xml | 15 +++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/dev-python/genson/Manifest b/dev-python/genson/Manifest new file mode 100644 index 00000000000..f6fed66f63f --- /dev/null +++ b/dev-python/genson/Manifest @@ -0,0 +1 @@ +DIST genson-1.1.0.tar.gz 26662 BLAKE2B 726b0467edca9ca503d73c914d35392f0784ae8be01a8287b84da3cd5ae4b4cd6e12a46b1a7baf73db40377b915ddb3c4b53f4a135e3923fa775af5b51a5261c SHA512 54264dcc51cd5ece9bd428079fcd5cf833f32ef36afbb7987de9982d33253834c5c8c35d18b21ad4003fc2ffac4da02965a00844457b7d8ca6c6bf3d3facb8d6 diff --git a/dev-python/genson/genson-1.1.0.ebuild b/dev-python/genson/genson-1.1.0.ebuild new file mode 100644 index 00000000000..da0e41bb52d --- /dev/null +++ b/dev-python/genson/genson-1.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7}) + +inherit distutils-r1 + +DESCRIPTION="GenSON is a powerful, user-friendly JSON Schema generator built in Python" +HOMEPAGE="https://pypi.org/project/genson https://github.com/wolverdude/genson" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +BDEPEND=" + ${PYTHON_DEPS} + " + +RDEPEND=" + ${PYTHON_DEPS} + " +DEPEND="${RDEPEND} + test? ( dev-python/jsonschema[${PYTHON_USEDEP}] )" + +RESTRICT="!test? ( test )" + +python_test() { + "${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}" +} diff --git a/dev-python/genson/metadata.xml b/dev-python/genson/metadata.xml new file mode 100644 index 00000000000..0a41def911c --- /dev/null +++ b/dev-python/genson/metadata.xml @@ -0,0 +1,15 @@ + + + + + alexxy@gentoo.org + Alexey Shvetsov + + + GenSON is a powerful, user-friendly JSON Schema generator built in Python + + + genson + wolverdude/GenSON + +