Certbot / Python problem

Bjarne D Mathiesen macintosh at mathiesen.info
Wed Feb 19 14:34:54 UTC 2025


On 19/02/2025 10.02, Mark Lucas wrote:
> That would probably be helpful, just in case. Thanks.
> 
>>> I've chosen to downgrade :
>>>    certbot   3.2.0 -> fix for paths
>>>    py-acme   3.2.0
>>>    py-josepy 2.0.0 -> 1.15.0
>>> by changing the portfiles and storing my modified portfiles in a local
>>> file:/// repository (see: /opt/local/etc/macports/sources.conf for info)
>>
>> I can give the steps for doing this, if the list is interested

I've tested
    port -cuNn -sd install certbot +docs +python{313,312,311}
python310 fails to build

$=> cat gitRepos/certbotGit
#!/usr/bin/env bash

rm -rf   ./macports-ports ./ports/certbot
mkdir -p ./macports-ports ./ports/certbot/{security,python}

git clone \
    --branch certbot --single-branch \
    https://github.com/BjarneDMat/macports-ports.git \
    ./macports-ports

rsync -aHXv \
    ./macports-ports/security/certbot \
    ./ports/certbot/security/

rsync -aHXv \
    ./macports-ports/python/py-{acme,josepy} \
    ./ports/certbot/python/

( cd ./ports/certbot ; portindex )
----------------------------------

You'll then have to add
    file:///<full-path-to-base-dir>/ports/certbot [nosync]
to your sources.conf

-- 
Bjarne D Mathiesen
Slagelse ; Danmark ; Europa
-----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacPro 2010 5.1 ; OpenCore + macOS 14.7.4 Sonoma
2 x 3,46 GHz 6-Core Intel Xeon ; 192 GB 1333 MHz DDR3 ECC RDIMM
ATI Radeon RX 590 8 GB



More information about the macports-users mailing list