pkgsrc/net/py-mimelib/Makefile
recht 367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00

28 lines
732 B
Makefile

# $NetBSD: Makefile,v 1.7 2005/01/23 20:41:48 recht Exp $
#
DISTNAME= email-2.5
PKGNAME= ${PYPKGPREFIX}-mimelib-2.5
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=/mimelib/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://mimelib.sourceforge.net/
COMMENT= Email package for Python
USE_BUILDLINK3= 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= 21 22 23
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
# _compat22.py is not byte-compiled if built with 2.1(-)
.if !empty(PYPKGPREFIX:Mpy21*)
NOT21= "@comment "
.else
NOT21= #empty
.endif
PLIST_SUBST+= NOT21=${NOT21}