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

Last change on this file was 151191, checked in by mf2k@…, 16 months ago

d-mode.el gtkglextmm php-mode.el planner py-cssutils speex speex-devel uif2iso: Ports abandoned. (#51782)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151191 2016-08-09 19:24:56Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-cssutils
8version                 1.0
9categories              python www
10maintainers             nomaintainer
11license                 LGPL-3+
12supported_archs         noarch
13
14description             CSS parser and library for Python
15long_description        A Python package to parse and build \
16                        CSS Cascading Style Sheets.
17
18platforms               darwin
19python.versions         26 27 34
20
21homepage                http://cthedot.de/cssutils/
22master_sites            https://bitbucket.org/cthedot/cssutils/downloads/
23distname                cssutils-${version}
24use_zip                 yes
25
26checksums               rmd160  16efd2eca89977a98fb0edb01e17ed5233b43f2e \
27                        sha256  4504762f5d8800b98fa713749c00acfef8419826568f9363c490e45146a891af
28
29if {${name} ne ${subport}} {
30    depends_build-append port:py${python.version}-setuptools
31
32    post-destroot {
33        # We should notify upstream not to install tests.
34        delete ${destroot}${python.pkgd}/tests
35
36        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
37        xinstall -m 644 -W ${worksrcpath} README.txt \
38            ${destroot}${prefix}/share/doc/${subport}
39    }
40    livecheck.type      none
41} else {
42    livecheck.type      regex
43    livecheck.url       [lindex ${master_sites} 0]
44    livecheck.regex     cssutils-(\[0-9.\]+)${extract.suffix}
45}
Note: See TracBrowser for help on using the repository browser.