[UPDATE] net/mygpoclient for net/gpodder

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

[UPDATE] net/mygpoclient for net/gpodder

trondd-2
Also a small update to net/mygpoclient.  Move to python3 as the new python3
gPodder is the only port using it.  Pull the release from GitHub and take
maintainer.

This goes with updates to textproc/py-podcastparser and net/gpodder

Tim.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/mygpoclient/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 16 Nov 2015 13:52:08 -0000 1.3
+++ Makefile 12 Jan 2018 01:49:12 -0000
@@ -2,19 +2,23 @@
 
 COMMENT= gpodder.net client library
 
-MODPY_EGG_VERSION= 1.7
+MODPY_EGG_VERSION= 1.8
 DISTNAME= mygpoclient-${MODPY_EGG_VERSION}
 CATEGORIES= net devel
 
-HOMEPAGE= http://thp.io/2010/mygpoclient/
+GH_ACCOUNT=             gpodder
+GH_PROJECT=             mygpoclient
+GH_TAGNAME=             ${MODPY_EGG_VERSION}
+
+MAINTAINER=             Tim Meunier <[hidden email]>
 
 # GPLv3+
 PERMIT_PACKAGE_CDROM= Yes
 
-MASTER_SITES= ${HOMEPAGE}
-
 MODULES= lang/python
 
-NO_TEST= Yes
+MODPY_VERSION=          ${MODPY_DEFAULT_VERSION_3}
+
+NO_TEST= YES
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/mygpoclient/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 16 Nov 2015 13:52:08 -0000 1.3
+++ distinfo 12 Jan 2018 01:49:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (mygpoclient-1.7.tar.gz) = agt7H+KwRodUVuFO2j5CQw5JO/IlGmRIHPT9Gh4hqA4=
-SIZE (mygpoclient-1.7.tar.gz) = 35890
+SHA256 (mygpoclient-1.8.tar.gz) = ZfyzqyIKK6LTKnf5abQjovZjQTtsSFt7AuWpVbKOaNI=
+SIZE (mygpoclient-1.8.tar.gz) = 43671
Index: patches/patch-setup_py
===================================================================
RCS file: patches/patch-setup_py
diff -N patches/patch-setup_py
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-setup_py 12 Jan 2018 01:49:12 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: setup.py
+--- setup.py.orig
++++ setup.py
+@@ -37,7 +37,7 @@ else:
+ AUTHOR, EMAIL = re.match(r'(.*) <(.*)>', AUTHOR_EMAIL).groups()
+
+ DATA_FILES = [
+-    ('share/man/man1', glob.glob('man/*')),
++    ('man/man1', glob.glob('man/*')),
+ ]
+
+ CLASSIFIERS = [
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/mygpoclient/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 20 Apr 2012 10:50:41 -0000 1.1.1.1
+++ pkg/PLIST 12 Jan 2018 01:49:12 -0000
@@ -1,36 +1,40 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/20 10:50:41 jasper Exp $
-bin/bpsync
+bin/mygpo-bpsync
+bin/mygpo-list-devices
+bin/mygpo-simple-client
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/
 lib/python${MODPY_VERSION}/site-packages/mygpoclient-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/__init__.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}api_test.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}feeds.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}http.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}http_test.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}json.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}json_test.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}locator.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}locator_test.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}public.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}public_test.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}simple.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}simple_test.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}testing.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/api.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/api.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/api_test.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/api_test.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/feeds.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/feeds.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/http.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/http.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/http_test.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/http_test.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/json.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/json.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/json_test.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/json_test.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator_test.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator_test.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/public.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/public.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/public_test.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/public_test.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple_test.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple_test.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/testing.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/testing.pyc
 lib/python${MODPY_VERSION}/site-packages/mygpoclient/util.py
-lib/python${MODPY_VERSION}/site-packages/mygpoclient/util.pyc
+@man man/man1/mygpo-bpsync.1

Reply | Threaded
Open this post in threaded view
|

Re: [UPDATE] net/mygpoclient for net/gpodder

trondd-2
On Fri, January 12, 2018 6:04 pm, trondd wrote:
> Also a small update to net/mygpoclient.  Move to python3 as the new
> python3
> gPodder is the only port using it.  Pull the release from GitHub and take
> maintainer.
>
> This goes with updates to textproc/py-podcastparser and net/gpodder
>
> Tim.
>

Bump.

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/mygpoclient/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile 16 Nov 2015 13:52:08 -0000 1.3
> +++ Makefile 12 Jan 2018 01:49:12 -0000
> @@ -2,19 +2,23 @@
>
>  COMMENT= gpodder.net client library
>
> -MODPY_EGG_VERSION= 1.7
> +MODPY_EGG_VERSION= 1.8
>  DISTNAME= mygpoclient-${MODPY_EGG_VERSION}
>  CATEGORIES= net devel
>
> -HOMEPAGE= http://thp.io/2010/mygpoclient/
> +GH_ACCOUNT=             gpodder
> +GH_PROJECT=             mygpoclient
> +GH_TAGNAME=             ${MODPY_EGG_VERSION}
> +
> +MAINTAINER=             Tim Meunier <[hidden email]>
>
>  # GPLv3+
>  PERMIT_PACKAGE_CDROM= Yes
>
> -MASTER_SITES= ${HOMEPAGE}
> -
>  MODULES= lang/python
>
> -NO_TEST= Yes
> +MODPY_VERSION=          ${MODPY_DEFAULT_VERSION_3}
> +
> +NO_TEST= YES
>
>  .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/net/mygpoclient/distinfo,v
> retrieving revision 1.3
> diff -u -p -r1.3 distinfo
> --- distinfo 16 Nov 2015 13:52:08 -0000 1.3
> +++ distinfo 12 Jan 2018 01:49:12 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (mygpoclient-1.7.tar.gz) =
> agt7H+KwRodUVuFO2j5CQw5JO/IlGmRIHPT9Gh4hqA4=
> -SIZE (mygpoclient-1.7.tar.gz) = 35890
> +SHA256 (mygpoclient-1.8.tar.gz) =
> ZfyzqyIKK6LTKnf5abQjovZjQTtsSFt7AuWpVbKOaNI=
> +SIZE (mygpoclient-1.8.tar.gz) = 43671
> Index: patches/patch-setup_py
> ===================================================================
> RCS file: patches/patch-setup_py
> diff -N patches/patch-setup_py
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-setup_py 12 Jan 2018 01:49:12 -0000
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +
> +Index: setup.py
> +--- setup.py.orig
> ++++ setup.py
> +@@ -37,7 +37,7 @@ else:
> + AUTHOR, EMAIL = re.match(r'(.*) <(.*)>', AUTHOR_EMAIL).groups()
> +
> + DATA_FILES = [
> +-    ('share/man/man1', glob.glob('man/*')),
> ++    ('man/man1', glob.glob('man/*')),
> + ]
> +
> + CLASSIFIERS = [
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/net/mygpoclient/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 20 Apr 2012 10:50:41 -0000 1.1.1.1
> +++ pkg/PLIST 12 Jan 2018 01:49:12 -0000
> @@ -1,36 +1,40 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/20 10:50:41 jasper Exp $
> -bin/bpsync
> +bin/mygpo-bpsync
> +bin/mygpo-list-devices
> +bin/mygpo-simple-client
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/__init__.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/__init__.pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}/
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}api_test.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}feeds.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}http.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}http_test.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}json.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}json_test.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}locator.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}locator_test.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}public.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}public_test.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}simple.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}simple_test.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}testing.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/api.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/api.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/api_test.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/api_test.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/feeds.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/feeds.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/http.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/http.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/http_test.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/http_test.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/json.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/json.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/json_test.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/json_test.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator_test.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator_test.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/public.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/public.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/public_test.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/public_test.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple_test.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple_test.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/testing.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/testing.pyc
>  lib/python${MODPY_VERSION}/site-packages/mygpoclient/util.py
> -lib/python${MODPY_VERSION}/site-packages/mygpoclient/util.pyc
> +@man man/man1/mygpo-bpsync.1
>