Update: devel/py-icalendar 4.0.0 -> 4.0.3

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Update: devel/py-icalendar 4.0.0 -> 4.0.3

Kurt Mosiejczuk-9
A fairly straightforward update. Slight changes to the PLIST including a
bin/icalendar. First time when I've had that. On the advice of pamela@
I grabbed the post-install for loop construction from py-gunicorn.
Overkill for one file, but it will just work if the package adds any
more in the future.

For the previous version we failed one test, all tests pass for 4.0.3.

Only consumer seems to be khal and its tests pass and fail exactly the
same number of tests as before.

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-icalendar/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 13 Jan 2018 20:12:47 -0000 1.3
+++ Makefile 5 Mar 2019 03:53:34 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = parser/generator of iCalendar files
 
-MODPY_EGG_VERSION = 4.0.0
+MODPY_EGG_VERSION = 4.0.3
 DISTNAME = icalendar-${MODPY_EGG_VERSION}
 PKGNAME = py-icalendar-${MODPY_EGG_VERSION}
 
@@ -29,5 +29,10 @@ TEST_DEPENDS = ${RUN_DEPENDS} \
 
 FLAVORS = python3
 FLAVOR ?=
+
+post-install:
+ for i in ${PREFIX}/bin/*; do \
+ mv $${i} $${i}${MODPY_BIN_SUFFIX} ;\
+ done
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-icalendar/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 13 Jan 2018 20:12:47 -0000 1.3
+++ distinfo 5 Mar 2019 03:53:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (icalendar-4.0.0.tar.gz) = NnpIt3m50Z06WfaBvRWYl1B9cBOCf5EmW/raK/pI10k=
-SIZE (icalendar-4.0.0.tar.gz) = 74369
+SHA256 (icalendar-4.0.3.tar.gz) = B8JEeh1Ey7J8kLjGpcmOiQzBhTxiI+KlIZXN3sJsY1Y=
+SIZE (icalendar-4.0.3.tar.gz) = 77899
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-icalendar/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST 13 Jan 2018 20:12:47 -0000 1.3
+++ pkg/PLIST 5 Mar 2019 03:53:34 -0000
@@ -1,9 +1,11 @@
 @comment $OpenBSD: PLIST,v 1.3 2018/01/13 20:12:47 jung Exp $
+bin/icalendar${MODPY_BIN_SUFFIX}
 lib/python${MODPY_VERSION}/site-packages/icalendar/
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
@@ -12,6 +14,7 @@ ${MODPY_COMMENT}lib/python${MODPY_VERSIO
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}cal.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}caselessdict.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}parser.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}parser_tools.${MODPY_PYC_MAGIC_TAG}pyc
@@ -21,6 +24,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}windows_to_olson.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/cal.py
 lib/python${MODPY_VERSION}/site-packages/icalendar/caselessdict.py
+lib/python${MODPY_VERSION}/site-packages/icalendar/cli.py
 lib/python${MODPY_VERSION}/site-packages/icalendar/compat.py
 lib/python${MODPY_VERSION}/site-packages/icalendar/parser.py
 lib/python${MODPY_VERSION}/site-packages/icalendar/parser_tools.py

Reply | Threaded
Open this post in threaded view
|

Re: Update: devel/py-icalendar 4.0.0 -> 4.0.3

Kurt Mosiejczuk-9
On Mon, Mar 04, 2019 at 10:53:49PM -0500, Kurt Mosiejczuk wrote:
> A fairly straightforward update. Slight changes to the PLIST including a
> bin/icalendar. First time when I've had that. On the advice of pamela@
> I grabbed the post-install for loop construction from py-gunicorn.
> Overkill for one file, but it will just work if the package adds any
> more in the future.

> For the previous version we failed one test, all tests pass for 4.0.3.

> Only consumer seems to be khal and its tests pass and fail exactly the
> same number of tests as before.

ping

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-icalendar/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 13 Jan 2018 20:12:47 -0000 1.3
+++ Makefile 5 Mar 2019 03:53:34 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = parser/generator of iCalendar files
 
-MODPY_EGG_VERSION = 4.0.0
+MODPY_EGG_VERSION = 4.0.3
 DISTNAME = icalendar-${MODPY_EGG_VERSION}
 PKGNAME = py-icalendar-${MODPY_EGG_VERSION}
 
@@ -29,5 +29,10 @@ TEST_DEPENDS = ${RUN_DEPENDS} \
 
 FLAVORS = python3
 FLAVOR ?=
+
+post-install:
+ for i in ${PREFIX}/bin/*; do \
+ mv $${i} $${i}${MODPY_BIN_SUFFIX} ;\
+ done
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-icalendar/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 13 Jan 2018 20:12:47 -0000 1.3
+++ distinfo 5 Mar 2019 03:53:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (icalendar-4.0.0.tar.gz) = NnpIt3m50Z06WfaBvRWYl1B9cBOCf5EmW/raK/pI10k=
-SIZE (icalendar-4.0.0.tar.gz) = 74369
+SHA256 (icalendar-4.0.3.tar.gz) = B8JEeh1Ey7J8kLjGpcmOiQzBhTxiI+KlIZXN3sJsY1Y=
+SIZE (icalendar-4.0.3.tar.gz) = 77899
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-icalendar/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST 13 Jan 2018 20:12:47 -0000 1.3
+++ pkg/PLIST 5 Mar 2019 03:53:34 -0000
@@ -1,9 +1,11 @@
 @comment $OpenBSD: PLIST,v 1.3 2018/01/13 20:12:47 jung Exp $
+bin/icalendar${MODPY_BIN_SUFFIX}
 lib/python${MODPY_VERSION}/site-packages/icalendar/
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 lib/python${MODPY_VERSION}/site-packages/icalendar-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
@@ -12,6 +14,7 @@ ${MODPY_COMMENT}lib/python${MODPY_VERSIO
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}cal.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}caselessdict.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}parser.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}parser_tools.${MODPY_PYC_MAGIC_TAG}pyc
@@ -21,6 +24,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/icalendar/${MODPY_PYCACHE}windows_to_olson.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/icalendar/cal.py
 lib/python${MODPY_VERSION}/site-packages/icalendar/caselessdict.py
+lib/python${MODPY_VERSION}/site-packages/icalendar/cli.py
 lib/python${MODPY_VERSION}/site-packages/icalendar/compat.py
 lib/python${MODPY_VERSION}/site-packages/icalendar/parser.py
 lib/python${MODPY_VERSION}/site-packages/icalendar/parser_tools.py

Reply | Threaded
Open this post in threaded view
|

Re: Update: devel/py-icalendar 4.0.0 -> 4.0.3

Joerg Jung
On Sat, Mar 16, 2019 at 02:33:45PM -0400, Kurt Mosiejczuk wrote:

> On Mon, Mar 04, 2019 at 10:53:49PM -0500, Kurt Mosiejczuk wrote:
> > A fairly straightforward update. Slight changes to the PLIST including a
> > bin/icalendar. First time when I've had that. On the advice of pamela@
> > I grabbed the post-install for loop construction from py-gunicorn.
> > Overkill for one file, but it will just work if the package adds any
> > more in the future.
>
> > For the previous version we failed one test, all tests pass for 4.0.3.
>
> > Only consumer seems to be khal and its tests pass and fail exactly the
> > same number of tests as before.
>
> ping

Committed, thanks!