summaryrefslogtreecommitdiff
path: root/dev-python/whitenoise
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/whitenoise')
-rw-r--r--dev-python/whitenoise/Manifest3
-rw-r--r--dev-python/whitenoise/metadata.xml13
-rw-r--r--dev-python/whitenoise/whitenoise-6.6.0.ebuild34
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/whitenoise/Manifest b/dev-python/whitenoise/Manifest
new file mode 100644
index 0000000..3a7096c
--- /dev/null
+++ b/dev-python/whitenoise/Manifest
@@ -0,0 +1,3 @@
+DIST whitenoise-6.6.0.gh.tar.gz 56367 BLAKE2B b18b7f029eee25820251457855d5dc082d5e7c787c0a5de7c83db4037a087f8c40a869d314e5d93f29b179ba4cda38eb9bcff2f7b320d03eebb4df8065af9989 SHA512 523070b760d17ff3b1ae263ea36d6b875acb2d9d05d562b1e24a24be84ebb026b7ebf558c6b6322a028a321c75dc3dfe7b3d84e8b3710754f05553820bc12f51
+EBUILD whitenoise-6.6.0.ebuild 733 BLAKE2B 17020f9c22e423416ba91412b5694588cce8c2c98d12d401d804b7696e41e44745e363b4240efb2293051ee1096df14bf218f49880d35b03325b10aac6b3a18b SHA512 87ccc75235f901d537afd11f55f6f9d18f918841ae59e285dbbea409af670104a4da0ce1665db84cf4e8b80d889815ecc7933da90737902a57b76f97ca576dbd
+MISC metadata.xml 451 BLAKE2B c9483574bd94fee26ed9dc0de6ea3e42b340035c5de0b7d6b37452c7fa2b2317283b7f926f0c8227444c1dd8245246dabea2bc1d7d312aff57133905098344bc SHA512 f3808adacefa3435da5a1e4ce97fa7089baeebb8eaad53a66dbb497b996e7005da3f316d734915ec2284480de2596f7927c34bfbaeb391277de4c9f04d45f743
diff --git a/dev-python/whitenoise/metadata.xml b/dev-python/whitenoise/metadata.xml
new file mode 100644
index 0000000..5c88a2d
--- /dev/null
+++ b/dev-python/whitenoise/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marcin.deranek@slonko.net</email>
+ <name>Marcin Deranek</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/evansd/whitenoise/issues</bugs-to>
+ <remote-id type="github">evansd/whitenoise</remote-id>
+ <remote-id type="pypi">whitenoise</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/whitenoise/whitenoise-6.6.0.ebuild b/dev-python/whitenoise/whitenoise-6.6.0.ebuild
new file mode 100644
index 0000000..6324dd5
--- /dev/null
+++ b/dev-python/whitenoise/whitenoise-6.6.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..12} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Radically simplified static file serving for Python web apps"
+HOMEPAGE="https://github.com/evansd/whitenoise"
+SRC_URI="https://github.com/evansd/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-python/django[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ app-arch/brotli[python,${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/furo
+
+pkg_postinst() {
+ optfeature "brotli compression" "app-arch/brotli[python]"
+}