annotate files/patch-lib__pypy___curses__build.py @ 2:5797a1bc38cb origin

ADD: the latest easily available port of lang/pypy
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 28 Sep 2022 22:14:32 +0200
parents
children dd6054092884 913b7ccce398
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 --- lib_pypy/_curses_build.py.orig 2020-03-25 12:13:59 UTC
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
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3 @@ -31,6 +31,8 @@ def find_curses_dir_and_name():
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 return base, 'ncursesw'
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 if os.path.exists(os.path.join(base, 'include', 'ncurses')):
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()