diff --git a/python/py-gnureadline/Portfile b/python/py-gnureadline/Portfile
index f03455f729..793d077ac2 100644
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup python 1.0 |
5 | | PortGroup github 1.0 |
6 | 5 | |
7 | | github.setup ludwigschwardt python-gnureadline 38f917de65ff089a22d551775f41a7300eb13010 |
8 | 6 | name py-gnureadline |
9 | | version 6.3.3-20151013 |
| 7 | version 6.3.8 |
10 | 8 | platforms darwin |
11 | 9 | license GPL-3+ PSF |
12 | 10 | |
… |
… |
description Python readline extension. |
18 | 16 | long_description ${description} |
19 | 17 | |
20 | 18 | homepage https://github.com/ludwigschwardt/python-gnureadline |
21 | | #master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} |
| 19 | master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} |
22 | 20 | |
23 | | #distname ${python.rootname}-${version} |
| 21 | distname ${python.rootname}-${version} |
24 | 22 | |
25 | | checksums rmd160 e3b7deebaffdea0a35720bf3b49c1c94f73d13bf \ |
26 | | sha256 2853f006fca2532ea48a9fadf594590b7b3bc43f494ad5c4d53652961eb38519 |
| 23 | checksums rmd160 ac18527b4dd2de0abc12e5744459370133edbb87 \ |
| 24 | sha256 58e208ed34a53456ecf58bc11eacbe332c50d322b329457e2c645bd15192b035 |
27 | 25 | |
28 | 26 | if {${name} ne ${subport}} { |
29 | 27 | depends_build-append \ |
… |
… |
if {${name} ne ${subport}} { |
33 | 31 | patchfiles build.sh.patch \ |
34 | 32 | setup.py.patch |
35 | 33 | |
| 34 | post-patch { |
| 35 | reinplace "s|__OPTFLAGS__|${configure.optflags}|" ${worksrcpath}/rl/build.sh |
| 36 | } |
| 37 | |
36 | 38 | post-destroot { |
37 | 39 | copy -force ${filespath}/readline.pth ${filespath}/readline_path.py \ |
38 | 40 | ${destroot}${python.pkgd} |