dev-python/django-pydantic-field - 0.5.4 (guru)

Search

Install

Install this version:

emerge -a =dev-python/django-pydantic-field-0.5.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/django-pydantic-field-0.5.4

Or alternatively:

emerge --autounmask-write -a =dev-python/django-pydantic-field-0.5.4

Package Information

Description:
Type-safe Pydantic Schemas for Django JSONFields
Homepage:
https://github.com/surenkov/django-pydantic-field https://pypi.org/project/django-pydantic-field/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.5.4 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..15} )
DISTUTILS_USE_PEP517=uv-build

inherit distutils-r1 optfeature

DESCRIPTION="Type-safe Pydantic Schemas for Django JSONFields"
HOMEPAGE="
	https://github.com/surenkov/django-pydantic-field
	https://pypi.org/project/django-pydantic-field/
"
SRC_URI="https://github.com/surenkov/django-pydantic-field/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/pydantic-1.10[${PYTHON_USEDEP}]
	>=dev-python/django-3.1[${PYTHON_USEDEP}]
	dev-python/typing-extensions[${PYTHON_USEDEP}]
"

BDEPEND="
	test? (
		${RDEPEND}
		dev-python/uritemplate[${PYTHON_USEDEP}]
		dev-python/inflection[${PYTHON_USEDEP}]
		>=dev-python/dj-database-url-2.0[${PYTHON_USEDEP}]
		dev-python/pyyaml[${PYTHON_USEDEP}]
		dev-python/annotated-types[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( pytest-django syrupy )
distutils_enable_tests pytest

pkg_postinst() {
	optfeature "openapi" "dev-python/uritemplate dev-python/inflection"
	# not packaged
	#optfeature "jsonform" ">=dev-python/django-jsonform-2.0"
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/pydantic-1.10[]
	>=dev-python/django-3.1[]
	dev-python/typing-extensions[]

BDEPEND

	test? (
		
	>=dev-python/pydantic-1.10[]
	>=dev-python/django-3.1[]
	dev-python/typing-extensions[]

		dev-python/uritemplate[]
		dev-python/inflection[]
		>=dev-python/dj-database-url-2.0[]
		dev-python/pyyaml[]
		dev-python/annotated-types[]
	)

Manifest for 0.5.4

Type File Size Source URLs
DIST django-pydantic-field-0.5.4.gh.tar.gz 93162 bytes https://github.com/surenkov/django-pydantic-field/archive/v0.5.4.tar.gz