dev-python/asgimiddlewarestaticfile - 0.7.0 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-python/asgimiddlewarestaticfile-0.7.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/asgimiddlewarestaticfile-0.7.0

Or alternatively:

emerge --autounmask-write -a =dev-python/asgimiddlewarestaticfile-0.7.0

Package Information

Description:
ASGI middleware for serving static files
Homepage:
https://github.com/rexzhang/asgi-middleware-static-file https://pypi.org/project/asgimiddlewarestaticfile/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.7.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1

DESCRIPTION="ASGI middleware for serving static files"
HOMEPAGE="https://github.com/rexzhang/asgi-middleware-static-file https://pypi.org/project/asgimiddlewarestaticfile/"
# The sdist leaves out test support files and data.
SRC_URI="https://github.com/rexzhang/asgi-middleware-static-file/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/asgi-middleware-static-file-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/aiofiles-25.1.0[${PYTHON_USEDEP}]
	dev-python/asgiref[${PYTHON_USEDEP}]
"

src_prepare() {
	sed -i -e 's/"--cov.*/""/' pyproject.toml || die
	distutils-r1_src_prepare
}

EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/aiofiles-25.1.0[]
	dev-python/asgiref[]

Manifest for 0.7.0

Type File Size Source URLs
DIST asgimiddlewarestaticfile-0.7.0.gh.tar.gz 13834 bytes https://github.com/rexzhang/asgi-middleware-static-file/archive/refs/tags/v0.7.0.tar.gz