Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2020 05:10:42 +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: r535807 - in head/devel: . py-copier py-copier/files
Message-ID:  <202005190510.04J5AgTP093752@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue May 19 05:10:42 2020
New Revision: 535807
URL: https://svnweb.freebsd.org/changeset/ports/535807

Log:
  Add py-copier 3.1.0
  
  Copier is a library for rendering project templates.
  - Works with local paths and git URLs.
  - Your project can include any file and Copier can dynamically replace values in
    any kind of text file.
  - It generates a beautiful output and takes care of not overwrite existing files
    unless instructed to do so.
  
  WWW: https://github.com/pykong/copier

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue May 19 04:59:26 2020	(r535806)
+++ head/devel/Makefile	Tue May 19 05:10:42 2020	(r535807)
@@ -4278,6 +4278,7 @@
     SUBDIR += py-contextlib2
     SUBDIR += py-convertdate
     SUBDIR += py-cookiecutter
+    SUBDIR += py-copier
     SUBDIR += py-coreapi
     SUBDIR += py-coreschema
     SUBDIR += py-country

Added: head/devel/py-copier/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-copier/Makefile	Tue May 19 05:10:42 2020	(r535807)
@@ -0,0 +1,32 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	copier
+PORTVERSION=	3.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Library for rendering project templates
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0.4.0<1.0.0:devel/py-colorama@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.0<3.0.0:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=20.1<21.0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pathspec>=0.7.0<0.9.0:devel/py-pathspec@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}plumbum>=1.6.0<2.0.0:sysutils/py-plumbum@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydantic>=1.0:devel/py-pydantic@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=5.3<6.0:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyyaml-include>=1.2<2.0:devel/py-pyyaml-include@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}regex>=2020.2.20<2021.0.0:textproc/py-regex@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}semver>=2.10.0<3.0.0:devel/py-semver@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-copier/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-copier/distinfo	Tue May 19 05:10:42 2020	(r535807)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1589819001
+SHA256 (copier-3.1.0.tar.gz) = 5ccee68ea6510c617c207a64354737a3c7726fbca1de950aab3bbf87cde7b4f6
+SIZE (copier-3.1.0.tar.gz) = 33630

Added: head/devel/py-copier/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-copier/files/patch-setup.py	Tue May 19 05:10:42 2020	(r535807)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-05-11 07:54:59 UTC
++++ setup.py
+@@ -11,7 +11,7 @@ install_requires = \
+ ['colorama>=0.4.0,<1.0.0',
+  'jinja2>=2.10.0,<3.0.0',
+  'packaging>=20.1,<21.0',
+- 'pathspec>=0.7.0,<0.8.0',
++ 'pathspec>=0.7.0,<0.9.0',
+  'plumbum>=1.6.0,<2.0.0',
+  'pydantic>=1.0b1',
+  'pyyaml-include>=1.2,<2.0',

Added: head/devel/py-copier/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-copier/pkg-descr	Tue May 19 05:10:42 2020	(r535807)
@@ -0,0 +1,8 @@
+Copier is a library for rendering project templates.
+- Works with local paths and git URLs.
+- Your project can include any file and Copier can dynamically replace values in
+  any kind of text file.
+- It generates a beautiful output and takes care of not overwrite existing files
+  unless instructed to do so.
+
+WWW: https://github.com/pykong/copier



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