Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2015 20:40:34 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        v@fatpipi.com
Cc:        "Vanilla I. Shu" <vanilla@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>
Subject:   Re: svn commit: r403444 - in head: . comms comms/py-gammu
Message-ID:  <56694892.7000908@FreeBSD.org>
In-Reply-To: <CAB_qb6873TG4aF71NQz0RGLFeceXxO3OAeapbqvoJLHDXVLELQ@mail.gmail.com>
References:  <201512100711.tBA7BokZ005193@repo.freebsd.org> <56692D6D.4000204@FreeBSD.org> <CAB_qb6873TG4aF71NQz0RGLFeceXxO3OAeapbqvoJLHDXVLELQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/12/2015 7:52 PM, Vanilla Hsu wrote:
> 2015-12-10 15:44 GMT+08:00 Kubilay Kocak <koobs@freebsd.org
> <mailto:koobs@freebsd.org>>:
> 
>     On 10/12/2015 6:11 PM, Vanilla I. Shu wrote:
>     >  PKGNAMEPREFIX=       ${PYTHON_PKGNAMEPREFIX}
>     >  DISTNAME=    python-${PORTNAME}-${PORTVERSION}
> 
>     PORTNAME=python-gammu
> 
> Should I rename py-gammu to py-python-gammu?

Until we drop prefixes globally (i dont have a position here), its:

py-<pypi-name> (not setup.py:module= name)

>     >
>     > -USE_PYTHON=          yes
>     > -USE_PYDISTUTILS=     yes
>     > -PYDISTUTILS_PKGNAME= python_${PORTNAME}
>     > +LIB_DEPENDS= libGammu.so:${PORTSDIR}/comms/gammu
>     > +
>     > +USES=                pkgconfig python:2
> 
>     Does it depend on the lang/python2 symlink (what python:2 actually
>     means), or just USES=python:-2.7 ?
> 
> It just a python library, so I think it's ok to set to python:-2.7.

Great :) I have a note to update the docs for what python:2 *really* means.

> 
>     > +USE_PYTHON=  distutils autoplist
> 
> 





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