Date: Tue, 31 Jan 2012 14:46:41 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Ganael LAPLANCHE <martymac@FreeBSD.org> Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/sysutils Makefile ports/sysutils/py-dvdvideo Makefile distinfo pkg-descr pkg-plist ports/sysutils/py-dvdvideo/files patch-dvdvideo-media.py Message-ID: <20120131144641.GA24315@FreeBSD.org> In-Reply-To: <20120131130522.M5326@FreeBSD.org> References: <201201300830.q0U8Udb3054111@repoman.freebsd.org> <20120131093601.GA71175@FreeBSD.org> <20120131130522.M5326@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120131144641.GA24315>