Mercurial > hgrepos > FreeBSD > ports > PyPy
annotate files/patch-lib__pypy___curses__build.py @ 55:b1432f2f3bc4
===== Added signature for changeset 15fe0fe1dbb7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 21 Feb 2023 22:20:50 +0100 |
| parents | dd6054092884 |
| children |
| rev | line source |
|---|---|
| 17 | 1 --- lib_pypy/_curses_build.py.orig 2022-03-28 09:50:42 UTC |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 +++ lib_pypy/_curses_build.py |
| 17 | 3 @@ -37,6 +37,8 @@ def find_curses_dir_and_name(): |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 return base, 'ncursesw' |
| 17 | 5 if os.path.exists(os.path.join(base, 'lib', 'libncurses.so')): |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 return base, 'ncurses' |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 + if os.path.exists(os.path.join(base, 'lib', 'libncursesw.so')): |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 + return base, 'ncursesw' |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 return '', None |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 base, name = find_curses_dir_and_name() |
