mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 04:30:56 +02:00
libsmdev: good bye, py2
This commit is contained in:
parent
8641f9bf36
commit
c6eff57c38
1 changed files with 6 additions and 3 deletions
|
|
@ -28,6 +28,12 @@ DEPEND="python? ( ${PYTHON_DEPS} )
|
|||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
|
@ -43,8 +49,6 @@ src_configure() {
|
|||
)
|
||||
|
||||
if use python ; then
|
||||
#todo: make python2 optional
|
||||
myconf+=( --enable-python2 )
|
||||
prepare_python() {
|
||||
if python_is_python3; then
|
||||
myconf+=( --enable-python3 )
|
||||
|
|
@ -54,5 +58,4 @@ src_configure() {
|
|||
fi
|
||||
|
||||
econf ${myconf[@]}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue