summaryrefslogtreecommitdiff
path: root/dev-python/django-cache-url/django-cache-url-3.4.2.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-31 08:13:35 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-31 08:18:45 +0200
commit8faa2dd23cb515c262a98b3130d0d8879da3349d (patch)
treeb146bf4d34f784fc164795eba5ca572299e4331d /dev-python/django-cache-url/django-cache-url-3.4.2.ebuild
parent45a2b47bd826d70139f5b9d5c4fbd4332d472b9d (diff)
downloadgentoo-8faa2dd23cb515c262a98b3130d0d8879da3349d.tar.gz
gentoo-8faa2dd23cb515c262a98b3130d0d8879da3349d.tar.bz2
gentoo-8faa2dd23cb515c262a98b3130d0d8879da3349d.zip
dev-python/django-cache-url: Bump to 3.4.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-cache-url/django-cache-url-3.4.2.ebuild')
-rw-r--r--dev-python/django-cache-url/django-cache-url-3.4.2.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/django-cache-url/django-cache-url-3.4.2.ebuild b/dev-python/django-cache-url/django-cache-url-3.4.2.ebuild
new file mode 100644
index 000000000000..52f2bcb04312
--- /dev/null
+++ b/dev-python/django-cache-url/django-cache-url-3.4.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Use Cache URLs in your Django application"
+HOMEPAGE="
+ https://github.com/epicserve/django-cache-url/
+ https://pypi.org/project/django-cache-url/
+"
+SRC_URI="
+ https://github.com/epicserve/django-cache-url/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ dev-python/django[${PYTHON_USEDEP}]
+"
+
+DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ sed -e '/--cov/d' -i setup.cfg || die
+ distutils-r1_python_prepare_all
+}