ports/167717: [NEW PORT] devel/py-mimeparse: Basic functions for handling mime-types in Python

William Grzybowski william88 at gmail.com
Tue May 8 19:40:21 UTC 2012


>Number:         167717
>Category:       ports
>Synopsis:       [NEW PORT] devel/py-mimeparse: Basic functions for handling mime-types in Python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 08 19:40:19 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     William Grzybowski
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
>Description:

    py-mimeparse is a run dependency for a few python libraries (e.g. django-tastypie).
    I would like to get that in ports for that reason.

>How-To-Repeat:
>Fix:

	See attached patch


--- py-mimeparse.patch begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-mimeparse/Makefile
#	py-mimeparse/distinfo
#	py-mimeparse/pkg-descr
#	py-mimeparse/pkg-plist
#
echo x - py-mimeparse/Makefile
sed 's/^X//' >py-mimeparse/Makefile << '453156672f6946180c825cc3d181d5f4'
X# New ports collection makefile for:	py-mimeparse
X# Date created:				08 May 2012
X# Whom:					William Grzybowski
X#
X
XPORTNAME=	mimeparse
XPORTVERSION=	0.1.3
XCATEGORIES=	devel python
XMASTER_SITES=	GOOGLE_CODE
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	william88 at gmail.com
XCOMMENT=	Basic functions for handling mime-types in Python
X
XUSE_PYTHON=	2.5+
XUSE_PYDISTUTILS=yes
X
XPLIST_SUB=	VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//}
X
X.include <bsd.port.mk>
453156672f6946180c825cc3d181d5f4
echo x - py-mimeparse/distinfo
sed 's/^X//' >py-mimeparse/distinfo << '98051ec808fcb9556a111759799e6e3c'
XSHA256 (mimeparse-0.1.3.tar.gz) = 534ff6feefe1cd03984f444e6415aacc79c0a85f3b868ec41a2fd5003004c31e
XSIZE (mimeparse-0.1.3.tar.gz) = 4423
98051ec808fcb9556a111759799e6e3c
echo x - py-mimeparse/pkg-descr
sed 's/^X//' >py-mimeparse/pkg-descr << '68e1e457eb87d70cfeb3a68901f56c02'
XThis module provides basic functions for parsing mime-type names and matching 
Xthem against a list of media-ranges.
X
XWWW: http://code.google.com/p/mimeparse/
68e1e457eb87d70cfeb3a68901f56c02
echo x - py-mimeparse/pkg-plist
sed 's/^X//' >py-mimeparse/pkg-plist << '82e10eb1205937c6a8e24cdad0102e86'
X%%PYTHON_SITELIBDIR%%/mimeparse.pyc
X%%PYTHON_SITELIBDIR%%/mimeparse.py
X%%PYTHON_SITELIBDIR%%/mimeparse.pyo
82e10eb1205937c6a8e24cdad0102e86
exit
--- py-mimeparse.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list