Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2014 08:29:57 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Ruslan Makhmatkhanov <cvs-src@yandex.ru>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: [PYTHON]: Howto check dependency PyOpenGL in port's Makefile?
Message-ID:  <20140420082957.5b4a1e96.ohartman@zedat.fu-berlin.de>
In-Reply-To: <5353624C.6010607@yandex.ru>
References:  <20140419163506.6eb14cca.ohartman@zedat.fu-berlin.de> <5353624C.6010607@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/J0lu8CR3qW/10qoJ7.bTIh7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 20 Apr 2014 09:59:40 +0400
Ruslan Makhmatkhanov <cvs-src@yandex.ru> wrote:

> Hi,
>=20
> O. Hartmann wrote on 19.04.2014 18:35:
> >
> > I try to port PyOpenCL and one dependency is PyOpenGL and Mako. For Mako
> > (textproc/py-mako) the check for dependecy seems simple as I can check
> >
> > BUILD_DEPENDS+=3D	${PYTHONBASE}/bin/mako-render:${PORTSDIR}/textproc/py=
-mako
> >
> > But how can I check for PyOpenGL? As far as I came, it must be somethin=
g like
> >
> > ${PYTHON_SITELIBDIR}/PyOpenGL-BLABLA-${PYTHON_PKGNAMEPREFIX}, PYTHON_PK=
GNAMEPREFIX
> > expand to py27- (in my case) and NOT py2.7- as requested by the PyOpenG=
L port:
> >
> > /usr/local/lib/python2.7/site-packages/PyOpenGL-3.0.1-py2.7.egg-info/
> >
> > I'd like to have a general solution not nailed down to version 3.0.1 of=
 PyOpenGL and
> > maybe an elegant way to check for the correct file.
> >
> > Is there an official way to do so?
> >
> > Thanks in advance,
> >
> > Oliver
>=20
> It's not recommended to refer some particular file from the dependent=20
> package, use the package name itself like that:
>=20
> ${PYTHON_PKGNAMEPREFIX}mako>0:${PORTSDIR}/textproc/py-mako
> ${PYTHON_PKGNAMEPREFIX}opengl>0:${PORTSDIR}/graphics/py-opengl
>=20

Thanks.

oh

--Sig_/J0lu8CR3qW/10qoJ7.bTIh7
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTU2lpAAoJEOgBcD7A/5N8sn0IAN8ZJ7m+z7OJrunU7j0Ki3FC
Bz9pSDIsJ2DiZZh2B7HsqjdbEOu0iZQyNjyQAS7VkY1duBmWVDrBnTpZz61/NQua
rSJQxojOr0AryN5Z2Emo6UmSqk+3AgfOPRKCYFqgGdPN3Z0BiLA6GdwQqhZFTDsJ
7o9aQfE+NOCoQU7wXrBKfZc4w/qG6IlegoKUm6HRk2r3nVRZ3kUyG5w+6hiCjzqU
ahKHDSrW4ieqx/jqISeQ6MdpHrHnajMMxuOXWr8U8Zo74EclEoZEWyAT18tQXfB4
Q/5AdAKs3KFhRDXrBxEBXN5T8sliyruyxkfuGjXLaTNwH1nns+8fzthpSPBpOhU=
=jwZ0
-----END PGP SIGNATURE-----

--Sig_/J0lu8CR3qW/10qoJ7.bTIh7--



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