[UPDATE] textproc/py-podcastparser for net/gpodder update

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[UPDATE] textproc/py-podcastparser for net/gpodder update

trondd-2
Small update to py-podcastparser used by gPodder.  Also convert to python3
and pull the release from git.

gPodder is the only user of py-podcastparser so instead of flavoring it,
I'm going python3 only as the new gPodder is also python3 only.  Correct
me if it's prefered to flavor this port instead.

Also with this update will be net/mygpoclient and net/gpodder.

Tim,


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/py-podcastparser/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 18 Apr 2017 02:13:26 -0000 1.1.1.1
+++ Makefile 12 Jan 2018 01:32:20 -0000
@@ -2,26 +2,28 @@
 
 COMMENT= simple, fast and efficient podcast parser
 
-MODPY_EGG_VERSION= 0.6.1
+MODPY_EGG_VERSION= 0.6.2
 DISTNAME= podcastparser-${MODPY_EGG_VERSION}
 PKGNAME= py-${DISTNAME}
 CATEGORIES= textproc
 
-HOMEPAGE= http://gpodder.org/podcastparser/
+GH_ACCOUNT=             gpodder
+GH_PROJECT=             podcastparser
+GH_TAGNAME=             ${MODPY_EGG_VERSION}
 
 MAINTAINER= Tim Meunier <[hidden email]>
 
 # ISC
 PERMIT_PACKAGE_CDROM= Yes
 
-MASTER_SITES= ${HOMEPAGE}
-
 MODULES= lang/python
 
-BUILD_DEPENDS= textproc/py-sphinx
+MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
+
+BUILD_DEPENDS= textproc/py-sphinx${MODPY_FLAVOR}
 
-TEST_DEPENDS= devel/py-nose \
- devel/py-coverage
+TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR} \
+ devel/py-coverage${MODPY_FLAVOR}
 
 MAKE_FILE= makefile
 MAKE_ENV= PYTHON=${MODPY_BIN}
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/py-podcastparser/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 18 Apr 2017 02:13:26 -0000 1.1.1.1
+++ distinfo 12 Jan 2018 01:32:20 -0000
@@ -1,2 +1,2 @@
-SHA256 (podcastparser-0.6.1.tar.gz) = o0eQqUC8WC99Y4jEO2mvchRDK6G9fUANGZxjvS2hPRQ=
-SIZE (podcastparser-0.6.1.tar.gz) = 18006
+SHA256 (podcastparser-0.6.2.tar.gz) = jmsz2I14v0yoCF4TX2xzYDkWmRZYC5wla4C2r1Ns55s=
+SIZE (podcastparser-0.6.2.tar.gz) = 22450
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/py-podcastparser/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 18 Apr 2017 02:13:26 -0000 1.1.1.1
+++ pkg/PLIST 12 Jan 2018 01:32:20 -0000
@@ -1,5 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2017/04/18 02:13:26 danj Exp $
+lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}podcastparser.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/podcastparser-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
 lib/python${MODPY_VERSION}/site-packages/podcastparser.py
-lib/python${MODPY_VERSION}/site-packages/podcastparser.pyc
 @man man/man1/podcastparser.1

Reply | Threaded
Open this post in threaded view
|

Re: [UPDATE] textproc/py-podcastparser for net/gpodder update

trondd-2
On Fri, January 12, 2018 6:08 pm, trondd wrote:

> Small update to py-podcastparser used by gPodder.  Also convert to python3
> and pull the release from git.
>
> gPodder is the only user of py-podcastparser so instead of flavoring it,
> I'm going python3 only as the new gPodder is also python3 only.  Correct
> me if it's prefered to flavor this port instead.
>
> Also with this update will be net/mygpoclient and net/gpodder.
>
> Tim,
>

Bumping for feedback on these.  It's a few ports upgrading together.

Tim.

>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/textproc/py-podcastparser/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile
> --- Makefile 18 Apr 2017 02:13:26 -0000 1.1.1.1
> +++ Makefile 12 Jan 2018 01:32:20 -0000
> @@ -2,26 +2,28 @@
>
>  COMMENT= simple, fast and efficient podcast parser
>
> -MODPY_EGG_VERSION= 0.6.1
> +MODPY_EGG_VERSION= 0.6.2
>  DISTNAME= podcastparser-${MODPY_EGG_VERSION}
>  PKGNAME= py-${DISTNAME}
>  CATEGORIES= textproc
>
> -HOMEPAGE= http://gpodder.org/podcastparser/
> +GH_ACCOUNT=             gpodder
> +GH_PROJECT=             podcastparser
> +GH_TAGNAME=             ${MODPY_EGG_VERSION}
>
>  MAINTAINER= Tim Meunier <[hidden email]>
>
>  # ISC
>  PERMIT_PACKAGE_CDROM= Yes
>
> -MASTER_SITES= ${HOMEPAGE}
> -
>  MODULES= lang/python
>
> -BUILD_DEPENDS= textproc/py-sphinx
> +MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
> +
> +BUILD_DEPENDS= textproc/py-sphinx${MODPY_FLAVOR}
>
> -TEST_DEPENDS= devel/py-nose \
> - devel/py-coverage
> +TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR} \
> + devel/py-coverage${MODPY_FLAVOR}
>
>  MAKE_FILE= makefile
>  MAKE_ENV= PYTHON=${MODPY_BIN}
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/textproc/py-podcastparser/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo 18 Apr 2017 02:13:26 -0000 1.1.1.1
> +++ distinfo 12 Jan 2018 01:32:20 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (podcastparser-0.6.1.tar.gz) =
> o0eQqUC8WC99Y4jEO2mvchRDK6G9fUANGZxjvS2hPRQ=
> -SIZE (podcastparser-0.6.1.tar.gz) = 18006
> +SHA256 (podcastparser-0.6.2.tar.gz) =
> jmsz2I14v0yoCF4TX2xzYDkWmRZYC5wla4C2r1Ns55s=
> +SIZE (podcastparser-0.6.2.tar.gz) = 22450
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/textproc/py-podcastparser/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 18 Apr 2017 02:13:26 -0000 1.1.1.1
> +++ pkg/PLIST 12 Jan 2018 01:32:20 -0000
> @@ -1,5 +1,6 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2017/04/18 02:13:26 danj Exp $
> +lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
> +lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}podcastparser.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/podcastparser-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
>  lib/python${MODPY_VERSION}/site-packages/podcastparser.py
> -lib/python${MODPY_VERSION}/site-packages/podcastparser.pyc
>  @man man/man1/podcastparser.1
>