"trondd" <tro...@kagu-tsuchi.com> wrote:

> 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,
> >
> 

Reposting using MODPY_PI to pull the package from PyPi instead of GitHub.

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    26 Jan 2018 00:58:16 -0000
@@ -2,32 +2,32 @@
 
 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/
-
 MAINTAINER=    Tim Meunier <tro...@kagu-tsuchi.com>
 
 # ISC
 PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES=  ${HOMEPAGE}
-
 MODULES=       lang/python
 
-BUILD_DEPENDS= textproc/py-sphinx
+MODPY_PI=      Yes
+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}
 
 post-build:
-       cd ${WRKSRC}/doc && ${MAKE_ENV} ${MAKE_PROGRAM} man
+       cd ${WRKSRC}/doc && ${MAKE_ENV} ${MAKE_PROGRAM} man \
+               SPHINXBUILD=sphinx-build${MODPY_BIN_SUFFIX}
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/doc/_build/man/*.1 ${PREFIX}/man/man1/
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    26 Jan 2018 00:58:16 -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) = 
i5FSJMAPK/JIETn4C/Nl7SB0KjkH9DdxHJawqGqHiWg=
+SIZE (podcastparser-0.6.2.tar.gz) = 21871
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   26 Jan 2018 00:58:16 -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 via email to