Hi,

I wanted to add a py3 flavor to net/py-ripe.atlas.tools which depends
on net/py-ripe.atlas.cousteau, hence this diff. 

I only tried py-ripe.atlas.tools so please test it, thanks.

Cheers,
Daniel

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/py-ripe.atlas.cousteau/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    17 Nov 2015 20:54:15 -0000      1.1.1.1
+++ Makefile    4 Dec 2015 20:48:47 -0000
@@ -5,6 +5,7 @@ COMMENT =               python bindings for the RIPE 
 MODPY_EGG_VERSION =    1.0.4
 DISTNAME =             ripe.atlas.cousteau-${MODPY_EGG_VERSION}
 PKGNAME =              py-${DISTNAME}
+REVISION =             0
 
 CATEGORIES =           net
 
@@ -20,9 +21,12 @@ MODPY_SETUPTOOLS =   Yes
 
 MODULES =              lang/python
 
-RUN_DEPENDS =          devel/py-dateutil \
-                       net/py-socketio-client \
-                       www/py-requests
+FLAVORS =              python3
+FLAVOR ?=
+
+RUN_DEPENDS =          devel/py-dateutil${MODPY_FLAVOR} \
+                       net/py-socketio-client${MODPY_FLAVOR} \
+                       www/py-requests${MODPY_FLAVOR}
 
 # unported dep: pbr (also need py-functools32, py-jsonschema)
 NO_TEST =              Yes
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/py-ripe.atlas.cousteau/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   17 Nov 2015 20:54:15 -0000      1.1.1.1
+++ pkg/PLIST   4 Dec 2015 20:48:47 -0000
@@ -9,10 +9,29 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/ripe.atlas.cousteau-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/pbr.json
 
lib/python${MODPY_VERSION}/site-packages/ripe.atlas.cousteau-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 
lib/python${MODPY_VERSION}/site-packages/ripe.atlas.cousteau-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
+lib/python${MODPY_VERSION}/site-packages/ripe/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/ripe/${MODPY_PYCACHE}__init__.py${MODPY_PY_PREFIX}24.pyc
 lib/python${MODPY_VERSION}/site-packages/ripe/atlas/
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/${MODPY_PYCACHE}__init__.py${MODPY_PY_PREFIX}24.pyc
 lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/
 lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/__init__.py
 lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}__init__.py${MODPY_PY_PREFIX}24.pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}exceptions.py${MODPY_PY_PREFIX}24.pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}measurement.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}measurement.py${MODPY_PY_PREFIX}24.pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}request.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}request.py${MODPY_PY_PREFIX}24.pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}source.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}source.py${MODPY_PY_PREFIX}24.pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}stream.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}stream.py${MODPY_PY_PREFIX}24.pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/${MODPY_PYCACHE}version.py${MODPY_PY_PREFIX}24.pyc
 lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/exceptions.py
 lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/exceptions.pyc
 lib/python${MODPY_VERSION}/site-packages/ripe/atlas/cousteau/measurement.py

Reply via email to