Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2019 21:21:57 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489906 - in head/devel: . py-jaraco
Message-ID:  <201901102121.x0ALLvSU061691@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jan 10 21:21:57 2019
New Revision: 489906
URL: https://svnweb.freebsd.org/changeset/ports/489906

Log:
  Add py-jaraco 1 (copied from py-backports)
  
  This port is the shared namespace shim for py-jaraco.* ports.
  
  py-jaraco provides a common jaraco/__init__.py, which is shared among all
  py-jaraco.* ports.

Added:
  head/devel/py-jaraco/
     - copied from r489477, head/devel/py-backports/
Modified:
  head/devel/Makefile
  head/devel/py-jaraco/Makefile
  head/devel/py-jaraco/pkg-descr

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Jan 10 21:21:51 2019	(r489905)
+++ head/devel/Makefile	Thu Jan 10 21:21:57 2019	(r489906)
@@ -4608,6 +4608,7 @@
     SUBDIR += py-isort
     SUBDIR += py-iterpipes
     SUBDIR += py-itypes
+    SUBDIR += py-jaraco
     SUBDIR += py-jaraco.classes
     SUBDIR += py-jaraco.functools
     SUBDIR += py-jaraco.itertools

Modified: head/devel/py-jaraco/Makefile
==============================================================================
--- head/devel/py-backports/Makefile	Sun Jan  6 12:21:02 2019	(r489477)
+++ head/devel/py-jaraco/Makefile	Thu Jan 10 21:21:57 2019	(r489906)
@@ -1,38 +1,31 @@
 # $FreeBSD$
 
-PORTNAME=	backports
+PORTNAME=	jaraco
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 PORTVERSION=	1
 CATEGORIES=	devel python
-DISTFILES=
+DISTFILES=	# empty
 
-MAINTAINER=	lifanov@FreeBSD.org
-COMMENT=	Shared namespace shim for py-backports.* ports
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Shared namespace shim for py-jaraco.* ports
 
 LICENSE=	MIT
 
-NO_FETCH=	yes
-NO_BUILD=	yes
-NO_ARCH=	yes
 USES=		python
-USE_PYTHON=	flavors
+USE_PYTHON=	flavors py3kplist
 
-.include <bsd.port.pre.mk>
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_FETCH=	yes
 
-.if ${PYTHON_MAJOR_VER} == 2
-PLIST_FILES=	${PYTHON_SITELIBDIR}/backports/__init__.py \
-		${PYTHON_SITELIBDIR}/backports/__init__.pyc \
-		${PYTHON_SITELIBDIR}/backports/__init__.pyo
-.else
-PLIST_FILES=	${PYTHON_SITELIBDIR}/backports/__init__.py \
-		${PYTHON_SITELIBDIR}/backports/__pycache__/__init__.cpython-${PYTHON_SUFFIX}.pyc \
-		${PYTHON_SITELIBDIR}/backports/__pycache__/__init__.cpython-${PYTHON_SUFFIX}.${PYTHON_PYOEXTENSION}
-.endif
+PLIST_FILES=	${PYTHON_SITELIBDIR}/jaraco/__init__.py \
+		${PYTHON_SITELIBDIR}/jaraco/__init__.pyc \
+		${PYTHON_SITELIBDIR}/jaraco/__init__.pyo
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports
-	${ECHO_CMD} "__path__ = __import__('pkgutil').extend_path(__path__, __name__)" > ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py
+	${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco
+	${ECHO_CMD} "__path__ = __import__('pkgutil').extend_path(__path__, __name__)" > ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__init__.py
 	${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
 	${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/py-jaraco/pkg-descr
==============================================================================
--- head/devel/py-backports/pkg-descr	Sun Jan  6 12:21:02 2019	(r489477)
+++ head/devel/py-jaraco/pkg-descr	Thu Jan 10 21:21:57 2019	(r489906)
@@ -1,4 +1,4 @@
-shared namespace shim for py-backports.* ports
+This port is the shared namespace shim for py-jaraco.* ports.
 
-py-backports provides a common backports/__init__.py,
-which is shared among all py-backports.* ports.
+py-jaraco provides a common jaraco/__init__.py, which is shared among all
+py-jaraco.* ports.



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