mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
4942ce5a7d
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# New ports collection makefile for: py-paste
|
|
# Date created: 14 December 2006
|
|
# Whom: Dryice Liu <dryice@dryice.name>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Paste
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://cheeseshop.python.org/packages/source/P/Paste/ \
|
|
${MASTER_SITE_LOCAL} \
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
|
MASTER_SITE_SUBDIR= dryice
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= dryice@FreeBSD.org
|
|
COMMENT= Tools for using a Web Server Gateway Interface stack
|
|
|
|
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_PYTHON= 2.3+
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
|
|
PASTEVER?= ${PORTVERSION}
|
|
PYTHONVER?= ${_PYTHON_VERSION}
|
|
PLIST_SUB= PASTEVER=${PASTEVER} \
|
|
PYTHONVER=${PYTHONVER}
|
|
|
|
SUB_FILES+= pkg-deinstall pkg-install
|
|
SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
|
|
EGG="${PORTNAME}==${PORTVERSION}"
|
|
|
|
PYPASTE_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VERSION:S/^python//}.egg
|
|
|
|
.include <bsd.port.mk>
|