Bug 243019

Summary: security/denyhosts: Should it be using PYTHON_PKGNAMEPREFIX?
Product: Ports & Packages Reporter: Jason W. Bacon <jwb>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed Works As Intended    
Severity: Affects Some People Flags: koobs: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jason W. Bacon freebsd_committer freebsd_triage 2020-01-01 17:23:23 UTC
I'm wondering if there is a reason that security/denyhosts uses

PKGNAMESUFFIX=  ${PYTHON_PKGNAMESUFFIX}

instead of the usual

PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

This was introduced in r508909.

<<<ROOT@coral.acadix>>> /usr/ports/security/denyhosts 1063 # pkg info|grep py37
denyhosts-py37-3.1             Script to thwart ssh and imap attacks
py37-bz2file-0.98              Read and write bzip2-compressed files
py37-cairo-1.18.1_1            Python 2 bindings for Cairo
py37-cutadapt-2.7              Trim adapters from high-throughput sequencing reads
py37-dbus-1.2.14               Python bindings for the D-BUS messaging system
py37-dnaio-0.4.1               Read and write FASTQ and FASTA
py37-evdev-0.8.1_1             Bindings to the Linux input handling subsystem
py37-gobject3-3.28.3           Common files for the Python bindings for GObject

I can't find anything in the porter's handboook or Uses/python.mk indicating where SUFFIX should be used instead of PREFIX in PKGNAME.

Was this just a typo?
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2020-01-12 09:41:19 UTC
That's intended. It depends on how the port being used. I use prefix for python libraries and suffix for applications written in python.
Comment 2 Jason W. Bacon freebsd_committer freebsd_triage 2020-01-12 15:40:08 UTC
OK, as long as I know PKGNAME is stable, I'm cool with whatever.  I maintain scripts that do pkg installs, so I wanted to make sure this is not a bug that's going to be fixed in a way that breaks a script.
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2020-01-13 15:28:36 UTC
Hmm, I don't understand why it's maintainer-feedback+.