mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-python/django-widget-tweaks: new package, add 1.4.12
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tweak the form field rendering in templates"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/django-widget-tweaks/
|
||||
https://github.com/jazzband/django-widget-tweaks
|
||||
"
|
||||
SRC_URI="https://github.com/jazzband/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND} )
|
||||
"
|
||||
|
||||
DOCS=( {CHANGES,README}.rst {CODE_OF_CONDUCT,CONTRIBUTING}.md )
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m django test -v 2 --settings tests.settings ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user