Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704200 - net-dns/avahi[python] should be ported to python3
Summary: net-dns/avahi[python] should be ported to python3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL: https://github.com/lathiat/avahi/issu...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2019-12-29 18:31 UTC by Andreas Sturmlechner
Modified: 2020-01-15 12:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2019-12-29 18:31:20 UTC
It seems there is already support in git master, but there was no release in ages.

https://github.com/lathiat/avahi/pull/134
https://github.com/lathiat/avahi/pull/178

It might even fix bug 671164.
Comment 1 Larry the Git Cow gentoo-dev 2020-01-13 17:36:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecb1d2b716b08a3ea9d7aaaf5afc3fcaabbb55ef

commit ecb1d2b716b08a3ea9d7aaaf5afc3fcaabbb55ef
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-12-29 18:41:08 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2020-01-13 17:36:19 +0000

    net-dns/avahi: python3_7 support, drop obsolete eutils and multilib
    
    Drop >py-compile, seemingly not necessary anymore.
    Make more use of myconf array.
    Tests passed, fwiw.
    
    Closes: https://bugs.gentoo.org/704200
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 net-dns/avahi/avahi-0.7-r5.ebuild                  | 217 +++++++++++++++++++
 net-dns/avahi/files/avahi-0.7-python3-gdbm.patch   | 234 +++++++++++++++++++++
 .../avahi/files/avahi-0.7-python3-unittest.patch   | 151 +++++++++++++
 net-dns/avahi/files/avahi-0.7-python3.patch        |  94 +++++++++
 .../avahi-0.7-remove-empty-avahi_discover.patch    |  77 +++++++
 5 files changed, 773 insertions(+)
Comment 2 Anthony Basile gentoo-dev 2020-01-13 17:37:09 UTC
(In reply to Andreas Sturmlechner from comment #0)
> It seems there is already support in git master, but there was no release in
> ages.
> 
> https://github.com/lathiat/avahi/pull/134
> https://github.com/lathiat/avahi/pull/178
> 
> It might even fix bug 671164.

Sorry for the delay, please feel free to ping me in IRC if I'm every being slow.

Anyhow this is in the tree.
Comment 3 MarisN 2020-01-14 11:45:27 UTC
Does it really needs Python 3.7 only? AFAIK default targets still list 3.6 and not 3.7.
Comment 4 Andreas Sturmlechner gentoo-dev 2020-01-14 22:09:03 UTC
(In reply to MarisN from comment #3)
> Does it really needs Python 3.7 only? AFAIK default targets still list 3.6
> and not 3.7.

It has python3_7 for the simple reason that I tested 3_7 only, and do not have 3_6 available anymore. I'll add 3_6 but please report back in case of issues.
Comment 5 Craig Andrews gentoo-dev 2020-01-14 22:13:03 UTC
Can we please get Python 3.8 listed as well?
Comment 6 Andreas Sturmlechner gentoo-dev 2020-01-15 12:30:38 UTC
(In reply to Craig Andrews from comment #5)
> Can we please get Python 3.8 listed as well?

Quick answer is no, not unless you manage to get py38 support in at least dev-python/twisted.