Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2017 13:45:31 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456977 - in head/devel: . py-pyfcm py-pyfcm/files
Message-ID:  <201712221345.vBMDjVCf058249@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Fri Dec 22 13:45:31 2017
New Revision: 456977
URL: https://svnweb.freebsd.org/changeset/ports/456977

Log:
  Add devel/py-pyfcm, a Python client for Firebase Cloud Messaging.

Added:
  head/devel/py-pyfcm/
  head/devel/py-pyfcm/Makefile   (contents, props changed)
  head/devel/py-pyfcm/distinfo   (contents, props changed)
  head/devel/py-pyfcm/files/
  head/devel/py-pyfcm/files/patch-README.rst   (contents, props changed)
  head/devel/py-pyfcm/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Dec 22 12:27:14 2017	(r456976)
+++ head/devel/Makefile	Fri Dec 22 13:45:31 2017	(r456977)
@@ -4720,6 +4720,7 @@
     SUBDIR += py-pyelftools
     SUBDIR += py-pyev
     SUBDIR += py-pyface
+    SUBDIR += py-pyfcm
     SUBDIR += py-pyflakes
     SUBDIR += py-pygdbmi
     SUBDIR += py-pygit2

Added: head/devel/py-pyfcm/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyfcm/Makefile	Fri Dec 22 13:45:31 2017	(r456977)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME=	pyfcm
+PORTVERSION=	1.4.3
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	olgeni@FreeBSD.org
+
+COMMENT=	Python client for Firebase Cloud Messaging
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-pyfcm/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyfcm/distinfo	Fri Dec 22 13:45:31 2017	(r456977)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513940242
+SHA256 (pyfcm-1.4.3.tar.gz) = dd66f890ea20178eaaa274d781809b672187d76b10f56cf7cbe4d54c8b6a01b0
+SIZE (pyfcm-1.4.3.tar.gz) = 15209

Added: head/devel/py-pyfcm/files/patch-README.rst
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyfcm/files/patch-README.rst	Fri Dec 22 13:45:31 2017	(r456977)
@@ -0,0 +1,13 @@
+--- README.rst.orig	2017-10-18 23:26:43 UTC
++++ README.rst
+@@ -119,8 +119,8 @@ Send a data message.
+     # To send extra kwargs (keyword arguments not provided in any of the methods),
+     # pass it as a key value in a dictionary to the method being used
+     extra_kwargs = {
+-        'priority': 'high'
+-    }
++        'priority': 'high'
++    }
+     result = push_service.notify_single_device(registration_id=registration_id, data_message=data_message, extra_kwargs=extra_kwargs)
+ 
+     # To process background notifications in iOS 10, set content_available

Added: head/devel/py-pyfcm/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyfcm/pkg-descr	Fri Dec 22 13:45:31 2017	(r456977)
@@ -0,0 +1,3 @@
+Python client for FCM - Firebase Cloud Messaging (Android & iOS)
+
+WWW: http://olucurious.github.io/PyFCM/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712221345.vBMDjVCf058249>