Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-cookiecutter py-cookiecutter: updated to 1.7.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8dea89d93558
branches:  trunk
changeset: 433538:8dea89d93558
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jun 03 16:40:09 2020 +0000

description:
py-cookiecutter: updated to 1.7.2

1.7.2:

Fixed: Jinja2&Six version limits causing build errors with ansible project


1.7.1:

This release was focused on internal code and CI/CD changes. During this release all code was verified to match pep8, pep257 and other code-styling guides.
Project CI/CD was significantly changed, Windows platform checks based on Appveyor engine was replaced by GitHub actions tests. Appveyor was removed. Also our CI/CD was extended with Mac builds, to 
verify project builds on Apple devices.

Important Changes:

Added: Added debug messages for get_user_config
Multiple templates per one repository feature added.
Update replay.py json.dump indent for easy viewing
'future' library replaced with 'six' as a more lightweight python porting library
Added extension: Slugify template filter
Added command line option: --skip-if-file-exists, allow to skip the existing files when doing overwrite_if_exists.
Some packages versions limited to be compatible with python2.7 and python 3.5

Internal CI/CD and tests changes:

Coverage comment in future merge requests disabled
Fixed Python 3.8 travis tests and setup.py message
Travis builds extended with Windows setup for all supported python versions
Update .travis.yml to be compatible with latest travis cfg specs
Added new test to improve tests coverage
Added missed coverage lines highlight to pytest-coverage report
pytest-catchlog package removed from test_requirements, as now it is included in pytest
Fixed cov-report tox invocation environment
Added: Release drafter support and configuration to exclude changelog update work and focus on development
Added: CI/CD steps for Github actions to speedup CI/CD
Removed: Appveyor CI/CD completely removed

Code style and docs changes:

Added black formatting verification on lint stage + project files reformatting
Added pep257 docstring for tests/* files
Added pep257 docstring for tests/conftests.py
Added pep257 docstring for tests/replay/conftest.py
Added pep257 docstring for docs/init.py
Added missing docstring headers to all files
Gitter links replaced by Slack in README
flake8-docstrings tests added to CI/CD
Activated pydocstyle rule: D401 - First line should be in imperative mood
Activated pydocstyle rule: D200 - One-line docstring should fit on one line with quotes
Activated pydocstyle rule: D202 - No blank lines allowed after function docstring
Activated pydocstyle rule: D205 - 1 blank line required between summary line and description
Activated pydocstyle rule: ABS101
Replaced click documentation links to point to version 7
Updated submodule link to latest version with documentation links fix
Fixed links in main README file.
Fix indentation of .cookiecutterrc in README.md
Changed format of loggers invocation

diffstat:

 devel/py-cookiecutter/Makefile |  17 +++++++++--------
 devel/py-cookiecutter/distinfo |  10 +++++-----
 2 files changed, 14 insertions(+), 13 deletions(-)

diffs (51 lines):

diff -r e014630526ab -r 8dea89d93558 devel/py-cookiecutter/Makefile
--- a/devel/py-cookiecutter/Makefile    Wed Jun 03 16:37:25 2020 +0000
+++ b/devel/py-cookiecutter/Makefile    Wed Jun 03 16:40:09 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2020/01/14 21:37:58 adam Exp $
+# $NetBSD: Makefile,v 1.7 2020/06/03 16:40:09 adam Exp $
 
-DISTNAME=      cookiecutter-1.7.0
+DISTNAME=      cookiecutter-1.7.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cookiecutter/}
@@ -10,16 +10,17 @@
 COMMENT=       Command-line utility that creates projects from project templates
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-binaryornot>=0.2.0:../../devel/py-binaryornot
+DEPENDS+=      ${PYPKGPREFIX}-binaryornot>=0.4.4:../../devel/py-binaryornot
 DEPENDS+=      ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
-DEPENDS+=      ${PYPKGPREFIX}-future>=0.15.2:../../devel/py-future
 DEPENDS+=      ${PYPKGPREFIX}-jinja2>=2.7:../../textproc/py-jinja2
-DEPENDS+=      ${PYPKGPREFIX}-jinja2-time>=0.1.0:../../time/py-jinja2-time
-DEPENDS+=      ${PYPKGPREFIX}-poyo>=0.1.0:../../textproc/py-poyo
-DEPENDS+=      ${PYPKGPREFIX}-requests>=2.18.0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-jinja2-time>=0.2.0:../../time/py-jinja2-time
+DEPENDS+=      ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
+DEPENDS+=      ${PYPKGPREFIX}-poyo>=0.5.0:../../textproc/py-poyo
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.23.0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.10:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-slugify>=4.0.0:../../devel/py-slugify
 DEPENDS+=      ${PYPKGPREFIX}-whichcraft>=0.4.0:../../devel/py-whichcraft
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.3.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
diff -r e014630526ab -r 8dea89d93558 devel/py-cookiecutter/distinfo
--- a/devel/py-cookiecutter/distinfo    Wed Jun 03 16:37:25 2020 +0000
+++ b/devel/py-cookiecutter/distinfo    Wed Jun 03 16:40:09 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2020/01/14 21:37:58 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/06/03 16:40:09 adam Exp $
 
-SHA1 (cookiecutter-1.7.0.tar.gz) = dbcc5b322a7aa268505c8fd0a0000b6726d87496
-RMD160 (cookiecutter-1.7.0.tar.gz) = 1c57b9ebf90dd89733b78709a71aaccd7c32b15d
-SHA512 (cookiecutter-1.7.0.tar.gz) = c57315251085ed55494d09564a43dd6348971f8b78e5755642cd64473a73b03c00a7c513f5dd05d098db9fd7a74aef90f115975386084f3df8abc08fd318922c
-Size (cookiecutter-1.7.0.tar.gz) = 148363 bytes
+SHA1 (cookiecutter-1.7.2.tar.gz) = dc7bb710f4205eeadde23a758e1123a937a36194
+RMD160 (cookiecutter-1.7.2.tar.gz) = 49f5289f60798c5fd1b30c108547e9e7789fa749
+SHA512 (cookiecutter-1.7.2.tar.gz) = 8fb6db75703a2c6276d275817b81c0e5d5f15226236e8c5442fbda6198aaec19c3fd68c030f79f6bca55258c0c248660b32d1344f7d6b06ecf5563b43474d877
+Size (cookiecutter-1.7.2.tar.gz) = 142970 bytes



Home | Main Index | Thread Index | Old Index