* Add python3 flavor
* Take maintainer

OK ?

-- 
Alexandr Shadchin

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-pathlib/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    23 Oct 2015 11:52:31 -0000      1.2
+++ Makefile    9 Jan 2016 18:22:37 -0000
@@ -5,11 +5,14 @@ COMMENT =             object-oriented filesystem pa
 MODPY_EGG_VERSION =    1.0.1
 DISTNAME =             pathlib-${MODPY_EGG_VERSION}
 PKGNAME =              py-${DISTNAME}
+REVISION =             0
 
 CATEGORIES =           devel
 
 HOMEPAGE =             https://pathlib.readthedocs.org/
 
+MAINTAINER =           Alexandr Shadchin <shadc...@openbsd.org>
+
 # MIT
 PERMIT_PACKAGE_CDROM = Yes
 
@@ -18,7 +21,10 @@ MODULES =            lang/python
 BUILD_DEPENDS =                textproc/py-sphinx
 TEST_DEPENDS =         lang/python/${MODPY_VERSION},-tests
 
-DOCDIR = ${PREFIX}/share/doc/py-pathlib
+FLAVORS =              python3
+FLAVOR ?=
+
+DOCDIR = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}pathlib
 
 post-build:
        cd ${WRKBUILD}/docs && ${MAKE} html
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-pathlib/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   22 Oct 2015 19:41:43 -0000      1.1.1.1
+++ pkg/PLIST   9 Jan 2016 18:22:37 -0000
@@ -1,7 +1,8 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2015/10/22 19:41:43 edd Exp $
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}pathlib.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pathlib-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
 lib/python${MODPY_VERSION}/site-packages/pathlib.py
-lib/python${MODPY_VERSION}/site-packages/pathlib.pyc
 share/doc/${MODPY_PY_PREFIX}pathlib/
 share/doc/${MODPY_PY_PREFIX}pathlib/_images/
 share/doc/${MODPY_PY_PREFIX}pathlib/_images/pathlib-inheritance.png
@@ -31,6 +32,6 @@ share/doc/${MODPY_PY_PREFIX}pathlib/_sta
 share/doc/${MODPY_PY_PREFIX}pathlib/genindex.html
 share/doc/${MODPY_PY_PREFIX}pathlib/index.html
 share/doc/${MODPY_PY_PREFIX}pathlib/objects.inv
-share/doc/${MODPY_PY_PREFIX}pathlib/${MODPY_PY_PREFIX}modindex.html
+share/doc/${MODPY_PY_PREFIX}pathlib/py-modindex.html
 share/doc/${MODPY_PY_PREFIX}pathlib/search.html
 share/doc/${MODPY_PY_PREFIX}pathlib/searchindex.js

Reply via email to