source: trunk/dports/python/py-scrapy/Portfile

Last change on this file was 149939, checked in by khindenburg@…, 15 months ago

py-scrapy: downgrade to 1.0.6 + add deps to get a working version #51772

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
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 149939 2016-07-06 01:10:53Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-scrapy
8version                 1.0.6
9# Updating to 1.1.x requires a newer version of py-dispatcher (lp-requires bzr)
10# and possiblity other dependencies not in macports.
11# epoch needed due to downgrading version
12epoch                   1
13maintainers             khindenburg openmaintainer
14platforms               darwin
15
16description             Scrapy is a high level scraping and web crawling \
17                        framework for writing spiders to crawl and parse web \
18                        pages for all kinds of purposes, from information \
19                        retrieval to monitoring or testing web sites.
20long_description        ${description}
21license                 BSD
22homepage                http://pypi.python.org/pypi/Scrapy
23
24distname                Scrapy-${version}
25master_sites            https://files.pythonhosted.org/packages/source/S/Scrapy/
26
27checksums               rmd160  1e332efb5d56b092a964520c9d66b7665f58ab28 \
28                        sha256  548999910fcd18216626e569f6362bc390acfda4cfc1dfe2423d56d9f1ad91c5
29
30python.versions 27
31python.default_version 27
32
33if {${name} ne ${subport}} {
34    depends_build-append    port:py${python.version}-setuptools
35    depends_lib-append      port:py${python.version}-lxml \
36                            port:py${python.version}-twisted \
37                            port:py${python.version}-w3lib \
38                            port:py${python.version}-cssselect \
39                            port:py${python.version}-openssl \
40                            port:py${python.version}-queuelib \
41                            port:py${python.version}-service_identity
42
43    livecheck.type          none
44} else {
45    livecheck.type          pypi
46    livecheck.regex         Scrapy-(\[0-9.\]+)${extract.suffix}
47}
Note: See TracBrowser for help on using the repository browser.