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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F7D115A7D9 for ; Tue, 21 Mar 2023 22:20:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C397E089C; Tue, 21 Mar 2023 22:20:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77096E089C for ; Tue, 21 Mar 2023 22:20:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8AA58340E3E for ; Tue, 21 Mar 2023 22:20:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CFCF8DA for ; Tue, 21 Mar 2023 22:20:20 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1679436575.1aa6ec193977ee1926f47c79ed94ff62f6230ee5.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/dandi-schema/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/dandi-schema/dandi-schema-0.8.2.ebuild X-VCS-Directories: dev-python/dandi-schema/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 1aa6ec193977ee1926f47c79ed94ff62f6230ee5 X-VCS-Branch: master Date: Tue, 21 Mar 2023 22:20:20 +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: 7e571e01-917a-4524-b7ff-f2d865b45bcc X-Archives-Hash: 3ccd7b179857c31f6e65d3d7165d3f69 commit: 1aa6ec193977ee1926f47c79ed94ff62f6230ee5 Author: Horea Christian chymera eu> AuthorDate: Tue Mar 21 22:09:35 2023 +0000 Commit: Horea Christian gmail com> CommitDate: Tue Mar 21 22:09:35 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1aa6ec19 dev-python/dandi-schema: add 0.8.2 Signed-off-by: Horea Christian chymera.eu> dev-python/dandi-schema/dandi-schema-0.8.2.ebuild | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/dev-python/dandi-schema/dandi-schema-0.8.2.ebuild b/dev-python/dandi-schema/dandi-schema-0.8.2.ebuild new file mode 100644 index 000000000..9930ef9a2 --- /dev/null +++ b/dev-python/dandi-schema/dandi-schema-0.8.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Schemata for DANDI archive project" +HOMEPAGE="https://github.com/dandi/dandi-schema" +SRC_URI="https://github.com/dandi/dandi-schema/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/wheel[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/python-email-validator[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-0.3.4-coverage.patch" +) + +src_configure() { + echo "__version__ = '${PV}'" >> dandischema/_version.py +} + +distutils_enable_tests pytest + +python_test() { + export DANDI_TESTS_NONETWORK=1 + pushd dandischema || die + epytest tests + popd +}