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:
>>>    Sorry -- I accidentally omitted the following line from pkg-plist:
>>>
>>> bin/nosetests-%%PYTHON_VER%%
>>>
>>>    It 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+=     PYTHON_VER=${PYHON_VER}
>
> in the port Makefile

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

Index: Makefile
===================================================================
RCS file: /usr/local/cvsroot/freebsd/ports/devel/py-nose/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile    11 Feb 2010 06:15:57 -0000      1.11
+++ Makefile    11 Feb 2010 23:26:40 -0000
@@ -14,6 +14,8 @@
 MASTER_SITE_SUBDIR=    dryice
 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

+PLIST_SUB+= PYTHON_VER=${PYTHON_VER}
+
 MAINTAINER=    gcooper@FreeBSD.org
 COMMENT=       A discovery-based unittest extension

Index: pkg-plist
===================================================================
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   11 Feb 2010 06:15:58 -0000      1.6
+++ pkg-plist   11 Feb 2010 23:26:40 -0000
@@ -1,4 +1,5 @@
 bin/nosetests
+bin/nosetests-%%PYTHON_VER%%
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
 %%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>