summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/py-mimelib/DESCR12
-rw-r--r--net/py-mimelib/Makefile20
-rw-r--r--net/py-mimelib/PLIST45
-rw-r--r--net/py-mimelib/buildlink2.mk7
-rw-r--r--net/py-mimelib/distinfo4
5 files changed, 88 insertions, 0 deletions
diff --git a/net/py-mimelib/DESCR b/net/py-mimelib/DESCR
new file mode 100644
index 00000000000..2d9109cc905
--- /dev/null
+++ b/net/py-mimelib/DESCR
@@ -0,0 +1,12 @@
+The email package is a library for managing email messages,
+including MIME and other RFC 2822-based message documents. It is
+intended to replace most of the functionality in several older
+standard modules such as rfc822, mimetools, multifile, mimify, and
+MIMEWriter, and other non-standard packages such as mimecntl. It
+is compliant with most of the email related RFCs such as 2045-2047
+(the MIME RFCs) and 2231.
+
+This version is identical to the package available in the Python
+2.3 cvs development tree. It is being made available as a
+standalone distutils package for use in older Python releases. A
+minimum of Python 2.1 is required.
diff --git a/net/py-mimelib/Makefile b/net/py-mimelib/Makefile
new file mode 100644
index 00000000000..1d938a25112
--- /dev/null
+++ b/net/py-mimelib/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/11 14:56:54 drochner Exp $
+#
+
+DISTNAME= email-2.5
+PKGNAME= ${PYPKGPREFIX}-mimelib-2.5
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=/mimelib/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://mimelib.sourceforge.net/
+COMMENT= Email package for Python
+
+USE_BUILDLINK2= YES
+PYDISTUTILSPKG= yes
+# This pkg (or an older version of it) comes with 2.2 and later;
+# 2.1 is the primary target (particulary for Zope).
+PYTHON_VERSIONS_ACCEPTED= 21pth 21 22 22pth 23 23pth
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-mimelib/PLIST b/net/py-mimelib/PLIST
new file mode 100644
index 00000000000..ef8a6a596fa
--- /dev/null
+++ b/net/py-mimelib/PLIST
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/11 14:56:54 drochner Exp $
+${PYSITELIB}/email/Charset.py
+${PYSITELIB}/email/Charset.pyc
+${PYSITELIB}/email/Encoders.py
+${PYSITELIB}/email/Encoders.pyc
+${PYSITELIB}/email/Errors.py
+${PYSITELIB}/email/Errors.pyc
+${PYSITELIB}/email/Generator.py
+${PYSITELIB}/email/Generator.pyc
+${PYSITELIB}/email/Header.py
+${PYSITELIB}/email/Header.pyc
+${PYSITELIB}/email/Iterators.py
+${PYSITELIB}/email/Iterators.pyc
+${PYSITELIB}/email/MIMEAudio.py
+${PYSITELIB}/email/MIMEAudio.pyc
+${PYSITELIB}/email/MIMEBase.py
+${PYSITELIB}/email/MIMEBase.pyc
+${PYSITELIB}/email/MIMEImage.py
+${PYSITELIB}/email/MIMEImage.pyc
+${PYSITELIB}/email/MIMEMessage.py
+${PYSITELIB}/email/MIMEMessage.pyc
+${PYSITELIB}/email/MIMEMultipart.py
+${PYSITELIB}/email/MIMEMultipart.pyc
+${PYSITELIB}/email/MIMENonMultipart.py
+${PYSITELIB}/email/MIMENonMultipart.pyc
+${PYSITELIB}/email/MIMEText.py
+${PYSITELIB}/email/MIMEText.pyc
+${PYSITELIB}/email/Message.py
+${PYSITELIB}/email/Message.pyc
+${PYSITELIB}/email/Parser.py
+${PYSITELIB}/email/Parser.pyc
+${PYSITELIB}/email/Utils.py
+${PYSITELIB}/email/Utils.pyc
+${PYSITELIB}/email/__init__.py
+${PYSITELIB}/email/__init__.pyc
+${PYSITELIB}/email/_compat21.py
+${PYSITELIB}/email/_compat21.pyc
+${PYSITELIB}/email/_compat22.py
+${PYSITELIB}/email/_parseaddr.py
+${PYSITELIB}/email/_parseaddr.pyc
+${PYSITELIB}/email/base64MIME.py
+${PYSITELIB}/email/base64MIME.pyc
+${PYSITELIB}/email/quopriMIME.py
+${PYSITELIB}/email/quopriMIME.pyc
+@dirrm ${PYSITELIB}/email
diff --git a/net/py-mimelib/buildlink2.mk b/net/py-mimelib/buildlink2.mk
new file mode 100644
index 00000000000..aaaefd46762
--- /dev/null
+++ b/net/py-mimelib/buildlink2.mk
@@ -0,0 +1,7 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/08/11 14:56:54 drochner Exp $
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_PACKAGES+= pymimelib
+BUILDLINK_DEPENDS.pymimelib?= ${PYPKGPREFIX}-mimelib-[0-9]*
+BUILDLINK_PKGSRCDIR.pymimelib?= ../../net/py-mimelib
diff --git a/net/py-mimelib/distinfo b/net/py-mimelib/distinfo
new file mode 100644
index 00000000000..79c914ea69e
--- /dev/null
+++ b/net/py-mimelib/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/11 14:56:54 drochner Exp $
+
+SHA1 (email-2.5.tar.gz) = e6c4ea7b08df55fdcbd09e915433b12fd62bf95d
+Size (email-2.5.tar.gz) = 1194582 bytes