cvs commit: ports/sysutils Makefile ports/sysutils/py-dvdvideo
Makefile distinfo pkg-descr pkg-plist
danfe at FreeBSD.org
Tue Jan 31 14:46:41 UTC 2012
On Tue, Jan 31, 2012 at 02:18:47PM +0100, Ganael LAPLANCHE wrote:
> Hmmmm... We can read the following in the porter's handbook :
> "Ports that install files under PYTHON_SITELIBDIR should use the pyXY-
> package name prefix, so their package name embeds the version of Python
> they are installed into."
This is not the first time this passage causes confusion. It is certainly
correct for plethora of Python extensions, which are usually used as
dependencies and rarely installed by end-users as leaf ports. It also makes
sence to specify pyXY- since they often are Python API dependent, and it
might be necessary even to install packages that differ only in Python
version (quite possible for Python developer machine).
On the other hand, there are lots of software that being written in Python,
install their stuff into PYTHON_SITELIBDIR, but it is used solely for the
purpose of software; it is not a dependency in any way and there is little
to none sence to account for exact Python version in package name: I view
these ports just as any other leaf port. Yes, they are written in Python,
but 1) user does not care; 2) these files under PYTHON_SITELIBDIR exist for
port "personal consumption". Why should anyone know if they are for 27 or
31? I just want to backup my DVDs. ;-)
> For consistency, I've just named the port directory the same way. But
> you're right, this may be overkill (I originally named it
> python-dvdvideo before I changed my mind). Do you think it should be
> changed to, e.g. sysutils/dvdvideo (but, of course, keeping the pyXY-
> prefix for package name) ? Others, any comment on that ?
Well, I believe that "sysutils/dvdvideo" is definitely a better name, and
per quoted above, I don't see the necessity for keeping the pyXY- prefix for
package name either.
More information about the cvs-ports