diff options
Diffstat (limited to 'www/py-restclient/Makefile')
-rw-r--r-- | www/py-restclient/Makefile | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/www/py-restclient/Makefile b/www/py-restclient/Makefile index 32a320949dab..f91f698c0257 100644 --- a/www/py-restclient/Makefile +++ b/www/py-restclient/Makefile @@ -14,25 +14,10 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Convenient library for writing REST clients -BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools -RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ - ${PYTHON_SITELIBDIR}/httplib2/__init__.py:${PORTSDIR}/www/py-httplib2 +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/httplib2/__init__.py:${PORTSDIR}/www/py-httplib2 USE_PYTHON= yes -USE_PYDISTUTILS= yes - -EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} - -PYDISTUTILS_BUILD_TARGET= bdist_egg -PYDISTUTILS_INSTALL_TARGET= easy_install -PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYRESTCLIENT_EGG} - -PYRESTCLIENT_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg - -PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ - PYRESTCLIENT_EGG=${PYRESTCLIENT_EGG} \ - PYRESTCLIENT_EGG_VER="${PORTNAME}==${PORTVERSION}" - +USE_PYDISTUTILS= easy_install post-patch: ${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py |