1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-scrapy |
---|
8 | version 0.22.2 |
---|
9 | maintainers perry openmaintainer |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Scrapy is a high level scraping and web crawling \ |
---|
13 | framework for writing spiders to crawl and parse web \ |
---|
14 | pages for all kinds of purposes, from information \ |
---|
15 | retrieval to monitoring or testing web sites. |
---|
16 | long_description ${description} |
---|
17 | license BSD |
---|
18 | homepage http://pypi.python.org/pypi/Scrapy |
---|
19 | |
---|
20 | distname Scrapy-${version} |
---|
21 | master_sites http://pypi.python.org/packages/source/S/Scrapy/ |
---|
22 | |
---|
23 | checksums rmd160 b4b139ac4bc38e18409f0763ad6a154fee490d5a \ |
---|
24 | sha256 d373de91cdc7bb7b06a4a80c6676b7a72bd14a1350a8064bb64a1ced3504dd7e |
---|
25 | python.versions 26 27 |
---|
26 | python.default_version 27 |
---|
27 | |
---|
28 | if {${name} ne ${subport}} { |
---|
29 | depends_build-append port:py${python.version}-setuptools |
---|
30 | depends_lib-append port:py${python.version}-lxml port:py${python.version}-twisted |
---|
31 | } |
---|
32 | |
---|
33 | livecheck.regex {>Scrapy (.+) :} |
---|
34 | livecheck.type regex |
---|
35 | livecheck.url ${homepage} |
---|