From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1179239-garchives=archives.gentoo.org@lists.gentoo.org> 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 6E1261382C5 for <garchives@archives.gentoo.org>; Fri, 12 Jun 2020 18:24:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D213E0966; Fri, 12 Jun 2020 18:24:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 6D6A1E0966 for <gentoo-commits@lists.gentoo.org>; Fri, 12 Jun 2020 18:24:36 +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 3DDD734F1F9 for <gentoo-commits@lists.gentoo.org>; Fri, 12 Jun 2020 18:24:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C053262 for <gentoo-commits@lists.gentoo.org>; Fri, 12 Jun 2020 18:24:33 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1591986267.bd41d3399dab0520ac6cb273e6d070dae9fbaedb.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xmlschema/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xmlschema/Manifest dev-python/xmlschema/xmlschema-1.2.1.ebuild X-VCS-Directories: dev-python/xmlschema/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: bd41d3399dab0520ac6cb273e6d070dae9fbaedb X-VCS-Branch: master Date: Fri, 12 Jun 2020 18:24:33 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 132d7ac2-298d-46da-bd1b-f06c5bff0160 X-Archives-Hash: 5b19e45d39b79388a7fd4c4e64a4a21f commit: bd41d3399dab0520ac6cb273e6d070dae9fbaedb Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jun 12 17:59:43 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jun 12 18:24:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd41d339 dev-python/xmlschema: Bump to 1.2.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/xmlschema/Manifest | 1 + dev-python/xmlschema/xmlschema-1.2.1.ebuild | 37 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index b4b68ff3579..ad28e3b8333 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1,3 @@ DIST xmlschema-1.1.3.tar.gz 298490 BLAKE2B 70c24424fd6a5e87e07591451db920d22c1bf2c63c1908e008401eafe210b759894ba508011ee58e2c242ca5b3d424c86cdf7a65312e9df1cda426802af8e861 SHA512 df277cd75058e10b8e0505db51fc167c688fe4c3d319de289ac77faa37913f60d2697f4456e00d637c4a3c3f83d164619e0ce1b849e8c8ea3b5e1932b56044dc DIST xmlschema-1.2.0.tar.gz 314580 BLAKE2B d42b221d2730d2b5cdab655269f7b885c72bce1794f12111b4110a80a1288e1996633ef5f00e9fc3ef7cd66a4267baffbdb6a906d0a0c3caf418d31abda93016 SHA512 1a6644b02e96beeea68bd737a4a66fd02693b4cb3c36a07e569a2b2c3e2b0db4fe01a475fcc3c4e5372c6000b27ef824ba5859215a03212fe4c0f2ec61f7103b +DIST xmlschema-1.2.1.tar.gz 318674 BLAKE2B 686b94846b9cc8bc3dabfea9c9171a186561a0ad568a2806f5575a0c5808d3542f4e2cb7c01096036f5a54fb839cbdd95077fee9febad4cd7a82ead445228e62 SHA512 6d27ea5aea227e35f25a34a651b27084844bca015ae60d096fe1879150efb681141c368cd38cf376a2f0ea28b265cb844f1de82d2d7f704e3c2db67683f2af9b diff --git a/dev-python/xmlschema/xmlschema-1.2.1.ebuild b/dev-python/xmlschema/xmlschema-1.2.1.ebuild new file mode 100644 index 00000000000..e6e1d1a243d --- /dev/null +++ b/dev-python/xmlschema/xmlschema-1.2.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/elementpath-1.4*[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + )" + +src_prepare() { + # https://github.com/sissaschool/xmlschema/issues/197 + sed -i -e 's:test_schema_resource_access:_&:' \ + tests/test_resources.py || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" tests/test_all.py -v || + die "Tests fail with ${EPYTHON}" +}