Bug 243019 - security/denyhosts: Should it be using PYTHON_PKGNAMEPREFIX?
Summary: security/denyhosts: Should it be using PYTHON_PKGNAMEPREFIX?
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sunpoet Po-Chuan Hsieh
Depends on:
Reported: 2020-01-01 17:23 UTC by Jason W. Bacon
Modified: 2020-01-13 15:28 UTC (History)
0 users

See Also:
koobs: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer 2020-01-01 17:23:23 UTC
I'm wondering if there is a reason that security/denyhosts uses


instead of the usual


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 Sunpoet Po-Chuan Hsieh freebsd_committer 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 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 Sunpoet Po-Chuan Hsieh freebsd_committer 2020-01-13 15:28:36 UTC
Hmm, I don't understand why it's maintainer-feedback+.