Ticket #42606: Portfile

File Portfile, 1.4 KB (added by nishant.sharma.007@…, 10 years ago)

Attaching my port file, which seems to work for me

Line 
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
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-scrapy
8version                 0.22.2
9maintainers             perry openmaintainer
10platforms               darwin
11
12description             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.
16long_description        ${description}
17license                 BSD
18homepage                http://pypi.python.org/pypi/Scrapy
19
20distname                Scrapy-${version}
21master_sites            http://pypi.python.org/packages/source/S/Scrapy/
22
23checksums           rmd160  b4b139ac4bc38e18409f0763ad6a154fee490d5a \
24                    sha256  d373de91cdc7bb7b06a4a80c6676b7a72bd14a1350a8064bb64a1ced3504dd7e
25python.versions 26 27
26python.default_version 27
27
28if {${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
33livecheck.regex         {>Scrapy (.+) :}
34livecheck.type          regex
35livecheck.url           ${homepage}