Opened 2 years ago

Closed 2 years ago

#66419 closed defect (fixed)

py-pypdf2 @2.11.2 - port extract phase does not work using base @2.8.99 (llatest)

Reported by: snowflake (Dave Evans) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.8.99
Keywords: Cc:
Port: py-pypdf2

Description

Note: I am using the latest version of portversion 2.8.99

[ffdb7d9ee9e59e9d69a2f29ac08dfd5090f84759/macports-base]

This ticket is very similar to #66415 cmake @3.24.3 - patch does not work - attempts to patch an empty directory

DEBUG: euid/egid changed to: 502/501
DEBUG: Executing proc-post-org.macports.extract-extract-0
DEBUG: Executing proc-post-org.macports.extract-extract-1
Error: 
Error: 
Error: github PortGroup: Error: ${worksrcpath} does not exist after
 extracting distfiles. This might indicate that the author or
 project is different than set in the Portfile
 due to a rename at GitHub. Please examine the extracted directory in /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_python_py-pypdf2/py310-pypdf2/work
 and try to correct the Portfile by either changing the
 author or project or adding the worksrcdir option with the correct directory name.
Error: 
Error: Failed to extract py310-pypdf2: Unexpected github tarball extract.
DEBUG: Error code: NONE

Change History (3)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

The message is correct; the project has moved from https://github.com/mstamy2/PyPDF2 to https://github.com/py-pdf/PyPDF2. I believe github.tarball_from archive helps to avoid this kind of problem.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Or, GitHub autogenerated tarball troubles could be avoided entirely by downloading from PyPI. https://pypi.org/project/PyPDF2/

comment:3 Changed 2 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In fa079f5c4a7415ed3964d22cb7d4e37137d0e767/macports-ports (master):

py-pypdf2: change to PyPI

Closes: #66419

Note: See TracTickets for help on using tickets.