Magellan Linux

Diff of /trunk/extras/pygobject3/pygobject3-3.34.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 33234 by niro, Mon Oct 21 08:58:56 2019 UTC revision 33235 by niro, Mon Oct 21 09:13:19 2019 UTC
# Line 27  SDEPEND="${PYTHON2_DEPEND} Line 27  SDEPEND="${PYTHON2_DEPEND}
27  SRCFILE="${PNAME/3/}-${PVER}.tar.xz"  SRCFILE="${PNAME/3/}-${PVER}.tar.xz"
28  SRCDIR="${BUILDDIR}/${PNAME/3/}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME/3/}-${PVER}"
29    
30  sminclude python2 python3  sminclude meson python2 python3
31  msetfeature "!check"  msetfeature "!check"
32    
33  SRC_URI=(  SRC_URI=(
# Line 67  src_prepare() Line 67  src_prepare()
67   python2_src_prepare || die   python2_src_prepare || die
68   python3_src_prepare || die   python3_src_prepare || die
69    
70   # enforce make install method   # enforce meson method
71   rm ${MAGE_PYTHON2_SRCSUBDIR}/$(basename ${SRCDIR})/setup.py || die   rm ${MAGE_PYTHON2_SRCSUBDIR}/$(basename ${SRCDIR})/setup.py || die
72   rm ${MAGE_PYTHON3_SRCSUBDIR}/$(basename ${SRCDIR})/setup.py || die   rm ${MAGE_PYTHON3_SRCSUBDIR}/$(basename ${SRCDIR})/setup.py || die
73  }  }
74    
75  src_compile()  src_compile()
76  {  {
77   python2_src_compile --with-python=${MAGE_PYTHON2_EXEC} || die   MAGE_PYTHON_EXEC=${MAGE_PYTHON2_EXEC} python2_src_compile || die
78   python3_src_compile --with-python=${MAGE_PYTHON3_EXEC} || die   MAGE_PYTHON_EXEC=${MAGE_PYTHON3_EXEC} python3_src_compile || die
79  }  }
80    
81  src_install_python2-gobject3()  src_install_python2-gobject3()

Legend:
Removed from v.33234  
changed lines
  Added in v.33235