diff --git python/py-python-poppler-qt4/Portfile python/py-python-poppler-qt4/Portfile
index b40e35e..b15e182 100644
|
|
|
3 | 3 | |
4 | 4 | PortSystem 1.0 |
5 | 5 | PortGroup python 1.0 |
6 | | PortGroup github 1.0 |
7 | 6 | |
8 | | github.setup wbsoft python-poppler-qt4 0.18.2 v |
| 7 | set _name python-poppler-qt4 |
| 8 | set _n [string index ${_name} 0] |
9 | 9 | |
10 | | name py-${github.project} |
| 10 | name py-${_name} |
| 11 | version 0.18.2 |
11 | 12 | platforms darwin |
12 | 13 | license LGPL-2.1+ |
13 | 14 | maintainers gmail.com:davide.liessi openmaintainer |
14 | 15 | |
15 | 16 | description Python binding for Poppler-Qt4 |
16 | | long_description ${github.project} is a Python binding for Poppler-Qt4. |
| 17 | long_description ${_name} is a Python binding for Poppler-Qt4. |
17 | 18 | |
18 | | checksums rmd160 f1dda7e851a9cc7dcb9eb39e835395fcd9039a89 \ |
| 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 \ |
19 | 25 | sha256 bb3ec0f6154903911d759e0d95f6b4b68b8fed39831f1590b4962f012e6453d8 |
20 | 26 | |
21 | 27 | python.versions 27 34 |
… |
… |
if {${name} ne ${subport}} { |
42 | 48 | xinstall -m 644 -W ${worksrcpath} demo.py ${examples_dir} |
43 | 49 | } |
44 | 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 | } |