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:
Anna (cybertailor) Vyalkova
2022-11-23 12:32:03 +05:00
parent 63473f0346
commit 1b1da27643
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST django-bleach-3.0.1.tar.gz 22219 BLAKE2B 34da4564ddf5318d1aac3b3debb5ce4c2e73fba5ddca168e5dea551dd0b569cb491c4cea1ae3be6b8b95874c71ef414350f4561bc3b9c4a41dff82608a63d94e SHA512 2801a9b39fd17aa5374264c693b2847bf0fee16ccbcb6d7e4b007c7707a728b1053094e474442dbd48afaa054de3b682210d5b24a7f237253144c8eced23ebd3

View 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
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<upstream>
<remote-id type="pypi">django-bleach</remote-id>
<remote-id type="github">marksweb/django-bleach</remote-id>
</upstream>
</pkgmetadata>