Skip to content

Commit

Permalink
dev-python/dandi-schema: add 0.8.4
Browse files Browse the repository at this point in the history
Signed-off-by: Horea Christian <[email protected]>
  • Loading branch information
TheChymera committed Dec 12, 2023
1 parent 8fa05f7 commit e958610
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/dandi-schema/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DIST dandi-schema-0.7.1.gh.tar.gz 57312 BLAKE2B 5aa77c4c98633f82511a964f0b202b44acdb63e162cff62785f44fab64fdf97c04f10b10b3c1329ea7176d7ee1b12eeabd64d467d9646550b1db14b2fcc36a2b SHA512 04e0bf6caa9183cdac021430869be884ba8db207e7056a145ecac11858e9ecf051212cee10f5b4d501ca513838edc112dde014e256ab2256729c810d0c2c6cdf
DIST dandi-schema-0.8.2.gh.tar.gz 57936 BLAKE2B 2ba355137196b805214e6c9321dd0b8dd9f5f1a39cf732aa3733b51a90f043d39a003e46620e1ec4bf77654cf21a7a45e9d888321b2ceb59f33a52c75db11597 SHA512 b792b5bdc6c51dc63ab796997e3b61cbb3ae3b0dbc5d1c55c51e1c879d1a694e3fc6a89640ac26909399bc63a2a3480c7ef630952cac44a3bb5a27d7fe11d09e
DIST dandi-schema-0.8.3.gh.tar.gz 58040 BLAKE2B 03313fa126eb8805b72de6431e7cb1489aeb54f7415c4ee0899f012881147dd612d2736f27df4c4e314951b589d4167bda17a5144d7346b6371ed3e7160aa50f SHA512 4e9ed27a773e8609a16d841c5c3876026fa1ab6fccb688f6477e1c95f3da72bc99f7bb987799da69948036f0922ed33ed7c096bdc5be6c59b9a74a266ffd47b2
DIST dandi-schema-0.8.4.gh.tar.gz 58421 BLAKE2B e1fa0f0eed0a01c420769bed63ea99f7cf9868f036028e7ee60dcc5425946dad5e06ce99b7cb319bb52bc37fd823433aeef63d9490d573f15d72782e01e00145 SHA512 1fd3ae88c3115bf89e3fddc0c2bb5c283714f0051e8c59620b36291f49dd26e6871c810de8148c8a3b5ba1209bc4d53ef75aa32d338cbe097bb498676551fb73
42 changes: 42 additions & 0 deletions dev-python/dandi-schema/dandi-schema-0.8.4.ebuild
Original file line number Diff line number Diff line change
@@ -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..12} )

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}.gh.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-2[${PYTHON_USEDEP}]
dev-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
}

0 comments on commit e958610

Please sign in to comment.