- Add missed .pyo files on pkg-plist
- Add workaround for the problem when importing ncurses.panel earlier than ncurses.curses module - Chase the modern bsd.python.mk style. PR: 39448 Submitted by: Hye-Shik Chang <perky@fallin.lv> Approved by: maintainer
This commit is contained in:
parent
041df375fc
commit
6259cac885
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61648
@ -5,12 +5,14 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= py-ncurses
|
||||
PORTNAME= ncurses
|
||||
PORTVERSION= 0.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME:S/-//}
|
||||
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pyncurses
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= pyncurses-${PORTVERSION}
|
||||
|
||||
MAINTAINER= adsharma@sharmas.dhs.org
|
||||
|
||||
|
21
devel/py-ncurses/files/patch-setup.py
Normal file
21
devel/py-ncurses/files/patch-setup.py
Normal file
@ -0,0 +1,21 @@
|
||||
--- setup.py.orig Tue Jun 18 08:26:48 2002
|
||||
+++ setup.py Tue Jun 18 08:27:09 2002
|
||||
@@ -44,15 +44,15 @@
|
||||
}),
|
||||
('ncurses._panel',
|
||||
{ 'sources': ['ncurses/_panel_wrap.c'],
|
||||
- 'libraries': ['panel']
|
||||
+ 'libraries': ['panel', 'ncurses']
|
||||
}),
|
||||
('ncurses._menu',
|
||||
{ 'sources': ['ncurses/_menu_wrap.c'],
|
||||
- 'libraries': ['menu']
|
||||
+ 'libraries': ['menu', 'ncurses']
|
||||
}),
|
||||
('ncurses._form',
|
||||
{ 'sources': ['ncurses/_form_wrap.c'],
|
||||
- 'libraries': ['form']
|
||||
+ 'libraries': ['form', 'ncurses']
|
||||
}),
|
||||
]
|
||||
)
|
@ -1,15 +1,20 @@
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/__init__.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/__init__.pyc
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/_curses.so
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/_form.so
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/_menu.so
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/_panel.so
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/curses.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/curses.pyc
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/form.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/form.pyc
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/menu.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/menu.pyc
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/panel.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ncurses/panel.pyc
|
||||
@dirrm lib/%%PYTHON_VERSION%%/site-packages/ncurses
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/_curses.so
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/_form.so
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/_menu.so
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/_panel.so
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/curses.py
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/curses.pyc
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/curses.pyo
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/form.py
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/form.pyc
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/form.pyo
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/menu.py
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/menu.pyc
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/menu.pyo
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/panel.py
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/panel.pyc
|
||||
%%PYTHON_SITELIBDIR%%/ncurses/panel.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/ncurses
|
||||
|
Loading…
Reference in New Issue
Block a user