mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
b662c38326
- Convert to PYDISTUTILS_AUTOPLIST - Bump PORTREVISION
36 lines
847 B
Makefile
36 lines
847 B
Makefile
# Created by: Qing Feng <qingfeng@douban.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Scrapy
|
|
PORTVERSION= 0.16.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= High level scraping and web crawling framework
|
|
|
|
LICENSE= BSD
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.0:${PORTSDIR}/devel/py-lxml \
|
|
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
|
|
${PYTHON_PKGNAMEPREFIX}w3lib>=1.2:${PORTSDIR}/www/py-w3lib
|
|
|
|
USE_PYTHON= 2
|
|
USES= twisted:run
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
OPTIONS_DEFINE= SSL
|
|
OPTIONS_DEFAULT=SSL
|
|
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSSL}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|