Bug 245970 - net/netatalk3: un-depend python 2.7 to avoid deprecation
Summary: net/netatalk3: un-depend python 2.7 to avoid deprecation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-27 12:51 UTC by Dimitry Andric
Modified: 2020-04-27 16:40 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2020-04-27 12:51:23 UTC
I propose the following patch for net/netatalk3, to make it not depend on python 2.7 specifically anymore, and to avoid deprecation.  It seems to work just fine with py37-dbus-1.2.16 and python 3.7:

Index: net/netatalk3/Makefile
===================================================================
--- net/netatalk3/Makefile      (revision 528030)
+++ net/netatalk3/Makefile      (working copy)
@@ -62,7 +62,7 @@ LDAP_CFLAGS=          -I${LOCALBASE}/include -L${LOCALBASE
 LDAP_USE=      OPENLDAP=yes
 LDAP_CONFIGURE_OFF=    --without-ldap
 SENDFILE_CONFIGURE_ENABLE=sendfile
-DBUS_USES=     gnome python:2.7
+DBUS_USES=     gnome python
 DBUS_USE=      GNOME=glib20
 DBUS_LIB_DEPENDS=      libdbus-glib-1.so:devel/dbus-glib \
                        libdbus-1.so:devel/dbus
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-04-27 16:40:02 UTC
A commit references this bug:

Author: marcus
Date: Mon Apr 27 16:39:35 UTC 2020
New revision: 533152
URL: https://svnweb.freebsd.org/changeset/ports/533152

Log:
  Update Python support for 3.x.

  PR:		245970
  Submitted by:	dim (partially)

Changes:
  head/net/netatalk3/Makefile
  head/net/netatalk3/files/patch-contrib_shell__utils_afpstats
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2020-04-27 16:40:22 UTC
Committed, thanks!