Opened 3 years ago

Closed 3 years ago

#65086 closed defect (fixed)

py310-black @22.3.0_0: cannot select

Reported by: hexadecagram ({16/7}) Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: py-black

Description

# port select --set black black310
Selecting 'black310' for 'black' failed: could not create new link "/opt/local/bin/black-primer": target "/opt/local/bin/black-primer-3.10" doesn't exist

Change History (3)

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

Owner: set to danchr
Port: py-black added; py310-black removed
Status: newassigned

comment:2 Changed 3 years ago by hexadecagram ({16/7})

black-primer has been moved to a separate repository: https://github.com/psf/black/pull/2924

I have forked a copy of the macports-ports repo, made a branch for this PR, worked this change into ${filesdir}, and can build py-black but I'm not sure how to build py310-black:

% sudo port clean; sudo port build
--->  Cleaning py-black
--->  Computing dependencies for py-black
--->  Fetching distfiles for py-black
--->  Verifying checksums for py-black
--->  Extracting py-black
--->  Configuring py-black
--->  Building py-black
% ls work/
compwrap
% sudo port clean; sudo port build py310-black
--->  Cleaning py-black
--->  Computing dependencies for py310-black
% ls work/
ls: work/: No such file or directory

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

Resolution: fixed
Status: assignedclosed

In 458e2c4c4821f9d2b357a74f94f6caa863c2c014/macports-ports (master):

py-black,black_select: fix select files

Closes: #65086

Note: See TracTickets for help on using tickets.