Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2010 09:18:21 -0800
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   Fwd: cvs commit: ports/devel/py-nose Makefile distinfo pkg-plist
Message-ID:  <7d6fde3d1002120918s6edd358dr162130383a50158b@mail.gmail.com>
In-Reply-To: <7d6fde3d1002111529r2cedb879g2393caeb985a5abb@mail.gmail.com>
References:  <201002110615.o1B6FwXf053084@repoman.freebsd.org> <20100211084906.919FB5A9009@jester1b.ixsystems.com> <364299f41002110311i1941c611v16712a3f313db9ac@mail.gmail.com> <7d6fde3d1002110857g361ab86dwa9a717a2f0d62846@mail.gmail.com> <4B743E7E.7070506@p6m7g8.com> <7d6fde3d1002111529r2cedb879g2393caeb985a5abb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(Expanding to a wider audience again)

On Thu, Feb 11, 2010 at 9:29 AM, Philip M. Gollucci
<pgollucci@p6m7g8.com> wrote:
> On 2/11/2010 11:57 AM, Garrett Cooper wrote:
>>> =A0 =A0Sorry -- I accidentally omitted the following line from pkg-plis=
t:
>>>
>>> bin/nosetests-%%PYTHON_VER%%
>>>
>>> =A0 =A0It wasn't picked up in the last version either and deinstalls
>>> cleanly because it's in ${PREFIX}/usr/local/bin
>>
>> Except the variable `%%PYTHON_VER%%' isn't exported via
>> bsd.python.mk... what's the equivalent to 2.5, 2.6, etc that's
>> accessible via pkg-plist?
>> -Garrett
>
> Sure it is
> $ make -V PYTHON_VER
>
> You just need to add
> PLIST_SUB+=3D =A0 =A0 PYTHON_VER=3D${PYHON_VER}
>
> in the port Makefile

=A0 =A0Awesome -- thanks for the info Philip ;)!!! This patch will fix
the cleanup issue...
Cheers,
-Garrett

Index: Makefile
=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
RCS file: /usr/local/cvsroot/freebsd/ports/devel/py-nose/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile =A0 =A011 Feb 2010 06:15:57 -0000 =A0 =A0 =A01.11
+++ Makefile =A0 =A011 Feb 2010 23:26:40 -0000
@@ -14,6 +14,8 @@
=A0MASTER_SITE_SUBDIR=3D =A0 =A0dryice
=A0PKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX}

+PLIST_SUB+=3D PYTHON_VER=3D${PYTHON_VER}
+
=A0MAINTAINER=3D =A0 =A0gcooper@FreeBSD.org
=A0COMMENT=3D =A0 =A0 =A0 A discovery-based unittest extension

Index: pkg-plist
=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
RCS file: /usr/local/cvsroot/freebsd/ports/devel/py-nose/pkg-plist,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist
--- pkg-plist =A0 11 Feb 2010 06:15:58 -0000 =A0 =A0 =A01.6
+++ pkg-plist =A0 11 Feb 2010 23:26:40 -0000
@@ -1,4 +1,5 @@
=A0bin/nosetests
+bin/nosetests-%%PYTHON_VER%%
=A0%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.tx=
t
=A0%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
=A0%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe

    The patch listed immediately above this will resolve the `tidiness
issue' that QAT was warning about in the original email sent out.
Could someone help me please commit this as I don't have a commit bit?
Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d1002120918s6edd358dr162130383a50158b>