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

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem                  1.0
5PortGroup                   python 1.0
6
7name                        py-pyquery
8version                     1.2.4
9categories-append           devel
10platforms                   darwin
11supported_archs             noarch
12license                     BSD
13maintainers                 nomaintainer
14
15description                 A jQuery-like library for Python
16long_description            Pyquery allows you to make jQuery queries on XML \
17                            documents.
18
19homepage                    http://pypi.python.org/pypi/pyquery
20master_sites                pypi:p/pyquery
21distname                    pyquery-${version}
22checksums                   rmd160  bce4fef874ecdefcb98b1af3d15e4972e613e068 \
23                            sha256  1c39f786c42430279eadf787f1ef06873f15c9acba2698c23dfd925ac7b169d7
24
25python.versions             27 34
26
27if {${name} ne ${subport}} {
28    depends_build-append    port:py${python.version}-setuptools
29    depends_run-append      port:py${python.version}-lxml \
30                            port:py${python.version}-cssselect
31    post-destroot {
32        set doc ${destroot}${prefix}/share/doc/${subport}
33        xinstall -m 644 -W ${worksrcpath} CHANGES.rst README.rst ${doc}
34        xinstall -m 644 -W ${worksrcpath}/docs ajax.txt api.txt \
35          attributes.txt changes.txt css.txt future.txt index.txt \
36          manipulating.txt scrap.txt testing.txt tips.txt traversing.txt \
37          ${doc}
38    }
39    livecheck.type          none
40} else {
41    livecheck.type          regex
42    livecheck.url           ${homepage}
43    livecheck.regex         "pyquery-(\\d+(?:\\.\\d+)*)${extract.suffix}"
44}
Note: See TracBrowser for help on using the repository browser.