aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-scrapy/Makefile
blob: 4caa3832366676697c584d86c904efb6198f0b5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    py-scrapy
# Date created:             10 Jul 2009
# Whom:                 Qing Feng <qingfeng@me.com>
#
# $FreeBSD$
#

PORTNAME=   Scrapy
PORTVERSION=    0.8
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP \
        http://scrapy.org/releases/0.8/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= qingfeng@me.com
COMMENT=    A high level scraping and web crawling framework

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}twisted>=8.2.0:${PORTSDIR}/devel/py-twisted \
        ${PYTHON_PKGNAMEPREFIX}libxml2>=2.7.6:${PORTSDIR}/textproc/py-libxml2
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_PYTHON= yes
USE_PYDISTUTILS=easy_install

post-extract:
    ${REINPLACE_CMD} -e 's#Twisted>=2.5##g' ${WRKSRC}/setup.py

.include <bsd.port.mk>