Am 04.05.19 um 16:10 schrieb Martin Reindl:
> Am 03.05.19 um 20:04 schrieb Martin Reindl:
>> Am 03.05.19 um 19:39 schrieb Kurt Mosiejczuk:
>>> On Fri, May 03, 2019 at 06:43:06PM +0200, Landry Breuil wrote:
>>>
>>>>> Note the port packages three scripts into bin/, leading to collisions
>>>>> when installing the python3 flavor. Any hint on how to handle this is
>>>>> very much appreciated.
>>>
>>>> See geo/py-rasterio/Makefile for an example (check the corresponding
>>>> PLIST):
>>>
>>>> post-install:
>>>> mv ${PREFIX}/bin/rio{,${MODPY_BIN_SUFFIX}}
>>>
>>> Pamela once pointed me at www/py-gunicorn for an excellent source of
>>> code for many special cases.
>>>
>>> It has:
>>>
>>> post-install:
>>> for i in ${PREFIX}/bin/*; do \
>>> mv $${i} $${i}${MODPY_BIN_SUFFIX} ;\
>>> done
>>>
>>> Which is nice and generic, so even if the name of binaries in a port
>>> changes, you are fine.
>>
>> Looks good and works for me, thanks. Updated tarball attached.
>>
>
> New tarball with up-to-date 1.5.1.1 release just out.
>
> -m
> Bump. Tested on macppc and arm64 in the meantime. Fresh tarball with 1.5.1.2 attached, needs py-cftime. -m
py-netcdf4.tgz
Description: GNU Zip compressed data
