mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
dev-python/django-bleach: new package, add 3.0.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
36
dev-python/django-bleach/django-bleach-3.0.1.ebuild
Normal file
36
dev-python/django-bleach/django-bleach-3.0.1.ebuild
Normal file
@@ -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="Easily use bleach with Django models and templates"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/django-bleach/
|
||||
https://github.com/marksweb/django-bleach
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/bleach[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/tinycss2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? ( ${RDEPEND} )
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" testproject/manage.py test -v 2 django_bleach
|
||||
}
|
||||
Reference in New Issue
Block a user