mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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
This commit is contained in:
parent
b414fb975e
commit
95426ee112
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535807
@ -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
|
||||
|
32
devel/py-copier/Makefile
Normal file
32
devel/py-copier/Makefile
Normal file
@ -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>
|
3
devel/py-copier/distinfo
Normal file
3
devel/py-copier/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1589819001
|
||||
SHA256 (copier-3.1.0.tar.gz) = 5ccee68ea6510c617c207a64354737a3c7726fbca1de950aab3bbf87cde7b4f6
|
||||
SIZE (copier-3.1.0.tar.gz) = 33630
|
11
devel/py-copier/files/patch-setup.py
Normal file
11
devel/py-copier/files/patch-setup.py
Normal file
@ -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',
|
8
devel/py-copier/pkg-descr
Normal file
8
devel/py-copier/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user