svn commit: r480234 - in head/devel: . py-cookiecutter

Matthew Seaman matthew at FreeBSD.org
Fri Sep 21 07:47:36 UTC 2018


Author: matthew
Date: Fri Sep 21 07:47:34 2018
New Revision: 480234
URL: https://svnweb.freebsd.org/changeset/ports/480234

Log:
  Add py-cookiecutter 1.6.0, create projects from cookiecutters (project
  templates).

Added:
  head/devel/py-cookiecutter/
  head/devel/py-cookiecutter/Makefile   (contents, props changed)
  head/devel/py-cookiecutter/distinfo   (contents, props changed)
  head/devel/py-cookiecutter/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Sep 21 07:41:56 2018	(r480233)
+++ head/devel/Makefile	Fri Sep 21 07:47:34 2018	(r480234)
@@ -4460,6 +4460,7 @@
     SUBDIR += py-construct
     SUBDIR += py-construct28
     SUBDIR += py-contextlib2
+    SUBDIR += py-cookiecutter
     SUBDIR += py-coreapi
     SUBDIR += py-coreschema
     SUBDIR += py-country

Added: head/devel/py-cookiecutter/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cookiecutter/Makefile	Fri Sep 21 07:47:34 2018	(r480234)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	cookiecutter
+PORTVERSION=	1.6.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	matthew at FreeBSD.org
+COMMENT=	Create projects from cookiecutters (project templates)
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}binaryornot>=0.2.0:devel/py-binaryornot@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=5.0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}whichcraft>=0.4.0:devel/py-whichcraft@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}poyo>=0.1.0:devel/py-poyo@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jinja2-time>=0.1.0:devel/py-jinja2-time@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.18.0:www/py-requests@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${LOCALBASE}/bin/tox-${PYTHON_VER}
+
+.include <bsd.port.mk>

Added: head/devel/py-cookiecutter/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cookiecutter/distinfo	Fri Sep 21 07:47:34 2018	(r480234)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537435423
+SHA256 (cookiecutter-1.6.0.tar.gz) = 1316a52e1c1f08db0c9efbf7d876dbc01463a74b155a0d83e722be88beda9a3e
+SIZE (cookiecutter-1.6.0.tar.gz) = 181753

Added: head/devel/py-cookiecutter/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cookiecutter/pkg-descr	Fri Sep 21 07:47:34 2018	(r480234)
@@ -0,0 +1,5 @@
+A command-line utility that creates projects from cookiecutters
+(project templates), e.g. creating a Python package project from a
+Python package project template.
+
+WWW: https://pypi.org/project/cookiecutter/


More information about the svn-ports-head mailing list