Ticket #46906: patch.Portfile.diff
File patch.Portfile.diff, 2.1 KB (added by jfcaron3, 10 years ago) |
---|
-
Portfile
old new 1 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 125383 2014-09-16 01:49:14Z jmr@macports.org$2 # $Id$ 3 3 4 4 PortSystem 1.0 5 5 PortGroup python 1.0 6 6 7 7 name py-PyRSS2Gen 8 version 1.0.0 9 revision 1 8 version 1.1 10 9 platforms darwin 11 categories-append devel 10 license BSD 12 11 maintainers nomaintainer 13 license BSD14 supported_archs noarch15 12 16 description Python library for generating RSS 2.0 feeds 13 description Generate RSS2 using a Python data structure 14 long_description ${description} 17 15 18 long_description ${name} is a ${description}. 16 homepage http://dalkescientific.com/Python/PyRSS2Gen.html 17 master_sites https://pypi.python.org/packages/source/P/PyRSS2Gen 18 distname PyRSS2Gen-1.1 19 19 20 homepage http://www.dalkescientific.com/Python/PyRSS2Gen.html 21 master_sites http://www.dalkescientific.com/Python/ 22 distname PyRSS2Gen-${version} 20 checksums rmd160 5612ed113a3dd1c0686cefa6666707a47c8d7f1b \ 21 sha256 7960aed7e998d2482bf58716c316509786f596426f879b05f8d84e98b82c6ee7 23 22 24 checksums md5 b37ed0c9cfa4438a73dbbb0207f3aff6 \ 25 sha1 fcea9beb59ca022ed89b254b2362ae5af386f01a \ 26 rmd160 8fe60587c15760dc229c0acc765626a0e1c412d7 23 python.versions 25 26 27 32 33 34 27 24 28 python.versions 26 25 if {${name} ne ${subport}} { 26 depends_build-append \ 27 port:py${python.version}-setuptools 29 28 30 if {$subport ne $name} {31 post-destroot {32 set docdir ${prefix}/share/doc/${subport}33 xinstall -d ${destroot}${docdir}34 xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${docdir}35 }36 29 livecheck.type none 37 30 } else { 38 31 livecheck.type regex 39 livecheck.url ${homepage} 40 livecheck.regex {PyRSS2Gen-(\d+(?:\.\d+)*)} 32 livecheck.url ${master_sites} 41 33 }