From 1b1da276433fc3fbd1d8f27efb1516edd8c2feae Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Wed, 23 Nov 2022 12:32:03 +0500 Subject: [PATCH] dev-python/django-bleach: new package, add 3.0.1 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/django-bleach/Manifest | 1 + .../django-bleach/django-bleach-3.0.1.ebuild | 36 +++++++++++++++++++ dev-python/django-bleach/metadata.xml | 12 +++++++ 3 files changed, 49 insertions(+) create mode 100644 dev-python/django-bleach/Manifest create mode 100644 dev-python/django-bleach/django-bleach-3.0.1.ebuild create mode 100644 dev-python/django-bleach/metadata.xml diff --git a/dev-python/django-bleach/Manifest b/dev-python/django-bleach/Manifest new file mode 100644 index 0000000000..db9061a7e4 --- /dev/null +++ b/dev-python/django-bleach/Manifest @@ -0,0 +1 @@ +DIST django-bleach-3.0.1.tar.gz 22219 BLAKE2B 34da4564ddf5318d1aac3b3debb5ce4c2e73fba5ddca168e5dea551dd0b569cb491c4cea1ae3be6b8b95874c71ef414350f4561bc3b9c4a41dff82608a63d94e SHA512 2801a9b39fd17aa5374264c693b2847bf0fee16ccbcb6d7e4b007c7707a728b1053094e474442dbd48afaa054de3b682210d5b24a7f237253144c8eced23ebd3 diff --git a/dev-python/django-bleach/django-bleach-3.0.1.ebuild b/dev-python/django-bleach/django-bleach-3.0.1.ebuild new file mode 100644 index 0000000000..cc4d019ff0 --- /dev/null +++ b/dev-python/django-bleach/django-bleach-3.0.1.ebuild @@ -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 +} diff --git a/dev-python/django-bleach/metadata.xml b/dev-python/django-bleach/metadata.xml new file mode 100644 index 0000000000..dd57564f55 --- /dev/null +++ b/dev-python/django-bleach/metadata.xml @@ -0,0 +1,12 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + django-bleach + marksweb/django-bleach + +