pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47275 (pkgsrc/devel/py-gobject3 has problems including gettext and PLIST)



The following reply was made to PR pkg/47275; it has been noted by GNATS.

From: RichardPALO <richard.palo%baou.fr@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: pkg/47275 (pkgsrc/devel/py-gobject3 has problems including
 gettext and PLIST)
Date: Tue, 04 Dec 2012 13:06:28 +0100

 --=_6bfc398912b68dc8ba9044291338c36a
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain; charset=UTF-8
 
   
 
 For the PLIST issue, after looking at configure and Makefile
 scripts of the source package, this seems to work on my installation:
 
 
 richard@devzone:~/src/pkgsrc/devel/py-gobject3$ cvs diff
 Index:
 Makefile
 ===================================================================
 RCS
 file: /cvsroot/pkgsrc/devel/py-gobject3/Makefile,v
 retrieving revision
 1.9
 diff -u -p -r1.9 Makefile
 --- Makefile 26 Oct 2012 10:18:42 -0000
 1.9
 +++ Makefile 4 Dec 2012 12:02:41 -0000
 @@ -33,8 +33,8 @@
 REPLACE_PYTHON+= docs/xsl/fixxref.py.in
  TEST_TARGET= check
 
  # for the
 egg
 -UNAME_M!= uname -m
 -PLIST_SUBST+= UNAME_M=${UNAME_M:Q}
 +PLATFORM!=
 $(PYTHON) -c "import sys; from distutils import util;
 sys.stdout.write(util.get_platform())"
 +PLIST_SUBST+=
 PLATFORM=${PLATFORM:Q}
 
  .include "../../lang/python/extension.mk"
 
 .include "../../lang/python/application.mk"
 Index:
 PLIST
 ===================================================================
 RCS
 file: /cvsroot/pkgsrc/devel/py-gobject3/PLIST,v
 retrieving revision
 1.3
 diff -u -p -r1.3 PLIST
 --- PLIST 26 Oct 2012 10:18:42 -0000 1.3
 +++
 PLIST 4 Dec 2012 12:02:41 -0000
 @@ -66,4 +66,4 @@
 ${PYSITELIB}/gi/repository/__init__.pyo
  ${PYSITELIB}/gi/types.py
 
 ${PYSITELIB}/gi/types.pyc
 
 ${PYSITELIB}/gi/types.pyo
 
-${PYSITELIB}/pygobject-3.4.1.1-py${PYVERSSUFFIX}-${LOWER_OPSYS}-${OS_VERSION}-${UNAME_M}.egg-info
 +${PYSITELIB}/pygobject-${PKGVERSION}-py${PYVERSSUFFIX}-${PLATFORM}.egg-info
 
 
 Perhaps somebody more pkgsrc knowledgeable could check out the
 PLIST_SUBST python part?
 
   
 --=_6bfc398912b68dc8ba9044291338c36a
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html; charset=UTF-8
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
 <html><body>
 <p>For the PLIST issue, after looking at&nbsp; configure and Makefile scrip=
 ts of the source package, this seems to work on my installation:</p>
 <p>richard@devzone:~/src/pkgsrc/devel/py-gobject3$ cvs diff<br />Index: Mak=
 efile<br />=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br />RCS fi=
 le: /cvsroot/pkgsrc/devel/py-gobject3/Makefile,v<br />retrieving revision 1=
 =2E9<br />diff -u -p -r1.9 Makefile<br />--- Makefile&nbsp;&nbsp;&nbsp; 26 =
 Oct 2012 10:18:42 -0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.9<br />+++ Makefile=
 &nbsp;&nbsp;&nbsp; 4 Dec 2012 12:02:41 -0000<br />@@ -33,8 +33,8 @@ REPLACE=
 _PYTHON+=3D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; docs/xsl/fixxref.py.in<br />&nbsp=
 ;TEST_TARGET=3D&nbsp;&nbsp;&nbsp; check<br />&nbsp;<br />&nbsp;# for the eg=
 g<br />-UNAME_M!=3D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uname -m<br />-PLIST_SUBS=
 T+=3D&nbsp; UNAME_M=3D${UNAME_M:Q}<br />+PLATFORM!=3D&nbsp;&nbsp;&nbsp;&nbs=
 p; $(PYTHON) -c "import sys; from distutils import util; sys.stdout.write(u=
 til.get_platform())"<br />+PLIST_SUBST+=3D&nbsp; PLATFORM=3D${PLATFORM:Q}<b=
 r />&nbsp;<br />&nbsp;.include "../../lang/python/extension.mk"<br />&nbsp;=
 =2Einclude "../../lang/python/application.mk"<br />Index: PLIST<br />=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br />RCS file: /cvsroot/pkgsr=
 c/devel/py-gobject3/PLIST,v<br />retrieving revision 1.3<br />diff -u -p -r=
 1.3 PLIST<br />--- PLIST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 26 Oct 2012 10=
 :18:42 -0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.3<br />+++ PLIST&nbsp;&nbsp;&n=
 bsp;&nbsp;&nbsp;&nbsp; 4 Dec 2012 12:02:41 -0000<br />@@ -66,4 +66,4 @@ ${P=
 YSITELIB}/gi/repository/__init__.pyo<br />&nbsp;${PYSITELIB}/gi/types.py<br=
  />&nbsp;${PYSITELIB}/gi/types.pyc<br />&nbsp;${PYSITELIB}/gi/types.pyo<br =
 />-${PYSITELIB}/pygobject-3.4.1.1-py${PYVERSSUFFIX}-${LOWER_OPSYS}-${OS_VER=
 SION}-${UNAME_M}.egg-info<br />+${PYSITELIB}/pygobject-${PKGVERSION}-py${PY=
 VERSSUFFIX}-${PLATFORM}.egg-info</p>
 <p>&nbsp;</p>
 <p>Perhaps somebody more pkgsrc knowledgeable could check out the PLIST_SUB=
 ST python part?<br /><br /></p>
 <div>&nbsp;</div>
 </body></html>
 
 --=_6bfc398912b68dc8ba9044291338c36a--
 


Home | Main Index | Thread Index | Old Index