Ticket #46696: 03-rename-py-poppler-qt4.diff
File 03-rename-py-poppler-qt4.diff, 6.2 KB (added by dliessi (Davide Liessi), 10 years ago) |
---|
-
new file python/py-poppler-qt4/Portfile
diff --git python/py-poppler-qt4/Portfile python/py-poppler-qt4/Portfile new file mode 100644 index 0000000..9cd5a16
- + 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$ 3 4 PortSystem 1.0 5 PortGroup python 1.0 6 7 set _name python-poppler-qt4 8 set _n [string index ${_name} 0] 9 10 name py-poppler-qt4 11 version 0.18.2 12 platforms darwin 13 license LGPL-2.1+ 14 maintainers gmail.com:davide.liessi openmaintainer 15 16 description Python binding for Poppler-Qt4 17 long_description ${_name} is a Python binding for Poppler-Qt4. 18 19 homepage https://github.com/wbsoft/${_name} 20 master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ 21 distname ${_name}-${version} 22 23 checksums md5 124593f271a0fd513bc93838e2b66fef \ 24 rmd160 6b16a1b39af4ecc63c1faef8375551d9bded8faa \ 25 sha256 b1d176a0e34252f1ea822ccbfb29bd0b7becb7b1db794256da8bfe4e0e1e98f6 26 27 python.versions 27 34 28 29 if {${name} ne ${subport}} { 30 depends_build-append port:pkgconfig 31 32 # Can use either py*-pyqt4 or py*-pyqt4-devel. 33 depends_lib-append port:poppler-qt4-mac \ 34 port:qt4-mac \ 35 port:py${python.version}-sip \ 36 path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 37 38 post-destroot { 39 set doc_dir ${destroot}${prefix}/share/doc/${subport} 40 xinstall -d ${doc_dir} 41 xinstall -m 644 -W ${worksrcpath} \ 42 ChangeLog \ 43 LICENSE \ 44 README \ 45 ${doc_dir} 46 set examples_dir ${destroot}${prefix}/share/examples/${subport} 47 xinstall -d ${examples_dir} 48 xinstall -m 644 -W ${worksrcpath} demo.py ${examples_dir} 49 } 50 } 51 52 livecheck.type regex 53 livecheck.url https://pypi.python.org/pypi/${_name} 54 livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" 55 56 if {${name} ne ${subport}} { 57 livecheck.type none 58 } -
python/py-python-poppler-qt4/Portfile
diff --git python/py-python-poppler-qt4/Portfile python/py-python-poppler-qt4/Portfile index b15e182..c8a2d8d 100644
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 2 # $Id$ 3 4 3 PortSystem 1.0 5 PortGroup python 1.0 6 7 set _name python-poppler-qt4 8 set _n [string index ${_name} 0] 9 10 name py-${_name} 11 version 0.18.2 12 platforms darwin 13 license LGPL-2.1+ 14 maintainers gmail.com:davide.liessi openmaintainer 15 16 description Python binding for Poppler-Qt4 17 long_description ${_name} is a Python binding for Poppler-Qt4. 18 19 homepage https://github.com/wbsoft/${_name} 20 master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ 21 distname ${_name}-${version} 22 23 checksums md5 b9498b37006c8e3a525ad7cb0d2a3fe8 \ 24 rmd160 f1dda7e851a9cc7dcb9eb39e835395fcd9039a89 \ 25 sha256 bb3ec0f6154903911d759e0d95f6b4b68b8fed39831f1590b4962f012e6453d8 26 27 python.versions 27 34 28 29 if {${name} ne ${subport}} { 30 depends_build-append port:pkgconfig 31 32 # Can use either py*-pyqt4 or py*-pyqt4-devel. 33 depends_lib-append port:poppler-qt4-mac \ 34 port:qt4-mac \ 35 port:py${python.version}-sip \ 36 path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 37 38 post-destroot { 39 set doc_dir ${destroot}${prefix}/share/doc/${subport} 40 xinstall -d ${doc_dir} 41 xinstall -m 644 -W ${worksrcpath} \ 42 ChangeLog \ 43 LICENSE \ 44 README \ 45 ${doc_dir} 46 set examples_dir ${destroot}${prefix}/share/examples/${subport} 47 xinstall -d ${examples_dir} 48 xinstall -m 644 -W ${worksrcpath} demo.py ${examples_dir} 49 } 50 } 51 52 livecheck.type regex 53 livecheck.url https://pypi.python.org/pypi/${_name} 54 livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" 55 56 if {${name} ne ${subport}} { 57 livecheck.type none 4 name py-python-poppler-qt4 5 foreach i {26 27 32 33 34} { 6 subport py${i}-python-poppler-qt4 {} 58 7 } 8 replaced_by [regsub -- {-python} [string map {26 27 32 34 33 34} ${subport}] {}] 9 version 0.18.2 10 revision 1 11 PortGroup obsolete 1.0 -
editors/frescobaldi/Portfile
diff --git editors/frescobaldi/Portfile editors/frescobaldi/Portfile index b6df9c2..c34b350 100644
PortGroup python 1.0 6 6 PortGroup github 1.0 7 7 8 8 github.setup wbsoft frescobaldi 2.17.2 v 9 revision 1 9 10 conflicts frescobaldi-devel 10 11 categories editors python 11 12 maintainers gmail.com:davide.liessi openmaintainer … … depends_run-append port:portmidi 32 33 python.default_version 27 33 34 # Can use either py*-pyqt4 or py*-pyqt4-devel. 34 35 depends_run-append path:share/py${python.default_version}-sip/PyQt4:py${python.default_version}-pyqt4 \ 35 port:py${python.default_version}-p ython-poppler-qt436 port:py${python.default_version}-poppler-qt4 36 37 37 38 variant app description {Make application bundle} { 38 39 depends_build-append port:py${python.default_version}-py2app -
python/py-graveyard/Portfile
diff --git python/py-graveyard/Portfile python/py-graveyard/Portfile index dd7c113..90650b1 100644
py-pyside-tools 0.2.15_1 26 32 33 457 457 py-pysparse 1.1.1_2 26 458 458 py-pysvn 1.7.6_4 25 459 459 py-pytest 2.6.3_1 25 26 32 33 460 py-python-poppler-qt4 0.18.1_3 26 32 33461 460 py-pythonutils 0.4.0_1 25 26 462 461 py-pytools 2013.5.6_1 31 32 463 462 py-pyusb 0.4.3_2 25 26