Tuesday, April 30, 2019

Re: NEW: net/py-siphon

Am 30.04.19 um 10:26 schrieb Stuart Henderson:
> On 2019/04/28 22:16, Stuart Henderson wrote:
>>> Index: pkg/PLIST
>>> ===================================================================
>>> RCS file: pkg/PLIST
>>> diff -N pkg/PLIST
>>> --- /dev/null 1 Jan 1970 00:00:00 -0000
>>> +++ pkg/PLIST 28 Apr 2019 18:52:37 -0000
>>> @@ -0,0 +1,63 @@
>>> +@comment $OpenBSD: PLIST,v$
>>> +lib/python${MODPY_VERSION}/site-packages/siphon/
>>> +lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
>>> +lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
>>> +lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
>>> +lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
>>> +lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
>>> +lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
>>> +lib/python${MODPY_VERSION}/site-packages/siphon/__init__.py
>>> +lib/python${MODPY_VERSION}/site-packages/siphon/${MODPY_PYCACHE}/
>>
>> these "lib/.../${MODPY_PYCACHE}/" lines need to have ${MODPY_COMMENT}
>> inserting at the start, otherwise the py2 version won't package.
>
> Oh I realise this wasn't clear: the lines *ending* in
> lib/.../${MODPY_PYCACHE}/ need MODPY_COMMENT, not the other lines
> containing MODPY_PYCACHE.
>
> This is how the plist should look:
>
> @comment $OpenBSD: PLIST,v$
> lib/python${MODPY_VERSION}/site-packages/siphon/
> lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
> lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
> lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
> lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
> lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
> lib/python${MODPY_VERSION}/site-packages/siphon-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
> lib/python${MODPY_VERSION}/site-packages/siphon/__init__.py
> ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/siphon/${MODPY_PYCACHE}

Ah I see, lesson learned. Please commit at your discretion :)

No comments:

Post a Comment