dev-python/genson: New package

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
This commit is contained in:
Alexey Shvetsov
2020-03-04 21:00:23 +03:00
parent e23f214c16
commit 62060ce5c7
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST genson-1.1.0.tar.gz 26662 BLAKE2B 726b0467edca9ca503d73c914d35392f0784ae8be01a8287b84da3cd5ae4b4cd6e12a46b1a7baf73db40377b915ddb3c4b53f4a135e3923fa775af5b51a5261c SHA512 54264dcc51cd5ece9bd428079fcd5cf833f32ef36afbb7987de9982d33253834c5c8c35d18b21ad4003fc2ffac4da02965a00844457b7d8ca6c6bf3d3facb8d6

View File

@@ -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}"
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alexxy@gentoo.org</email>
<name>Alexey Shvetsov</name>
</maintainer>
<longdescription lang="en">
GenSON is a powerful, user-friendly JSON Schema generator built in Python
</longdescription>
<upstream>
<remote-id type="pypi">genson</remote-id>
<remote-id type="github">wolverdude/GenSON</remote-id>
</upstream>
</pkgmetadata>