| CARVIEW |
Select Language
HTTP/2 200
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=8ooohp645q7c244nfm5d038e8k; path=/
content-type: text/html; charset=UTF-8
date: Sat, 27 Dec 2025 05:34:44 GMT
server: Apache
pkgsrc.se | The NetBSD package collection
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
sysutils
textproc
time
wip
wm
www
py-pytho..
x11
* = Virtual Category
Path to this page:
./www/py-python-mimeparse, Module provides basic functions for parsing mime-type names
[
Branch: CURRENT, Version: 2.0.0nb1, Package name: py312-python-mimeparse-2.0.0nb1, Maintainer: pkgsrc-users
A module provides basic functions for parsing mime-type names and matching them
against a list of media-ranges.
This module provides basic functions for handling mime-types. It can handle
matching mime-types against a list of media-ranges. See section 14.1 of the HTTP
specification [RFC 2616] for a complete explanation:
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
Contents:
* parse_mime_type(): Parses a mime-type into its component parts.
* parse_media_range(): Media-ranges are mime-types with wild-cards and a "q"
quality parameter.
* quality(): Determines the quality ("q") of a mime-type when compared against
a list of media-ranges.
* quality_parsed(): Just like quality() except the second parameter must be
pre-parsed.
* best_match(): Choose the mime-type with the highest quality ("q") from a list
of candidates.
Required to run:
[devel/py-setuptools] [lang/python27]
Required to build:
[pkgtools/cwrappers]
Navigation:
-
Browse pkgsrc
(this page)
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
regress
security
shells
sysutils
textproc
time
wip
wm
www
py-pytho..x11
* = Virtual Category
Path to this page:
./www/py-python-mimeparse, Module provides basic functions for parsing mime-type names
[
CVSweb ] [
Homepage ] [
RSS ] [
Required by ] [
Add to tracker ]
Branch: CURRENT, Version: 2.0.0nb1, Package name: py312-python-mimeparse-2.0.0nb1, Maintainer: pkgsrc-users
A module provides basic functions for parsing mime-type names and matching them
against a list of media-ranges.
This module provides basic functions for handling mime-types. It can handle
matching mime-types against a list of media-ranges. See section 14.1 of the HTTP
specification [RFC 2616] for a complete explanation:
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
Contents:
* parse_mime_type(): Parses a mime-type into its component parts.
* parse_media_range(): Media-ranges are mime-types with wild-cards and a "q"
quality parameter.
* quality(): Determines the quality ("q") of a mime-type when compared against
a list of media-ranges.
* quality_parsed(): Just like quality() except the second parameter must be
pre-parsed.
* best_match(): Choose the mime-type with the highest quality ("q") from a list
of candidates.
Required to run:
[devel/py-setuptools] [lang/python27]
Required to build:
[pkgtools/cwrappers]
Master sites:
Filesize: 6.994 KBVersion history: (Expand)
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
- (2025-04-14) Updated to version: py312-python-mimeparse-2.0.0nb1
- (2024-09-18) Updated to version: py312-python-mimeparse-2.0.0
- (2024-09-16) Updated to version: py312-python_mimeparse-2.0.0
- (2023-02-09) Updated to version: py310-python-mimeparse-1.6.0nb1
CVS history: (Expand)
| 2025-04-14 21:31:54 by Adam Ciarcinski | Files touched by this commit (26) | |
Log message: Fix PLIST after py-setuptools update; bump depends and revision |
| 2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message: py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays |
| 2024-09-18 11:08:48 by Thomas Klausner | Files touched by this commit (1) |
Log message: py-python-mimeparse: fix PKGNAME |
| 2024-09-16 10:25:41 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-python-mimeparse: updated to 2.0.0 Python-MimeParse v2.0 It has been a long time coming since the last release; the project has even been \ transferred to a different maintainer team during this period. python-mimeparse brings support for CPython 3.13 (by addressing the removal of \ the cgi module), and drops support for Python 3.7. Also included are packaging, \ tooling, and CI improvements. python-mimeparse is otherwise a stable and mature \ project that hopefully does not need much active development. |
| 2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message: *: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS |
| 2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030) |
Log message: www: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts): www/nghttp2/distinfo Unfetchable distfiles (almost certainly fetched conditionally...): ./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz ./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz ./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz ./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz ./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz ./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz ./www/nginx-devel/distinfo naxsi-1.3.tar.gz ./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz ./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz ./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz ./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz ./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz ./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz ./www/nginx-devel/distinfo njs-0.5.0.tar.gz ./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz ./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz ./www/nginx/distinfo echo-nginx-module-0.62.tar.gz ./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz ./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz ./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz ./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz ./www/nginx/distinfo naxsi-1.3.tar.gz ./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz ./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz ./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz ./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz ./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz ./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz ./www/nginx/distinfo njs-0.5.0.tar.gz ./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz |
| 2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033) |
Log message: www: Remove SHA1 hashes for distfiles |
| 2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372) |
Log message: Reset maintainer |
