Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 910016

Summary: sci-biology/biopython: needs to use PEP517 build (DistutilsNonPEP517Build)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Science Biology related packages <sci-biology>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 909855    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 06:58:05 UTC
This package still uses the legacy eclass code paths.  These paths are deprecated and pose a significant maintenance cost.  Please update the package to use PEP517 build mode.  For more information, please see the Python Guide, particularly; https://projects.gentoo.org/python/guide/migration.html#migrating-to-pep-517-builds
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 20:40:56 UTC
[Adding this comment en-masse, sorry for the noise, but it's important.)

1. Please take particular care to check file diffs before/after, possibly using `iwdevtools`. Keep a particular eye out for e.g. config files now missing from /etc and instead being in /usr/lib/python*/site-packages, etc.

2. Please make sure to do the migration in a new revision in ~arch, partly because of 1.
Comment 2 Larry the Git Cow gentoo-dev 2023-07-21 08:55:07 UTC
The bug has been closed via the following commit(s):

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

commit 7dabbaaa3f7252e981fe1774c858a79c6ee9be0b
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2023-07-21 08:53:13 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2023-07-21 08:55:03 +0000

    sci-biology/biopython: use PEP517 build
    
    Also apply Fedora patches to get ready for newer reportlab and python3.12
    
    Closes: https://bugs.gentoo.org/910016
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 sci-biology/biopython/biopython-1.81-r1.ebuild     | 59 ++++++++++++++++++++++
 .../files/biopython-1.81-python3.12.patch          | 11 ++++
 .../files/biopython-1.81-reportlab4.patch          | 29 +++++++++++
 3 files changed, 99 insertions(+)