pkgsrc-WIP-changes archive

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

py-grip: update to 4.6.1.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Apr 30 11:12:40 2024 +0200
Changeset:	8be01ece3ec15a99cf5dc0edc888d477ca475038

Modified Files:
	py-grip/Makefile
	py-grip/PLIST
	py-grip/distinfo

Log Message:
py-grip: update to 4.6.1.

- Fix "ImportError: cannot import name 'safe_join' from 'flask'" when using Flask 2.1.0+ ([#360](https://github.com/joeyespo/grip/pull/360) - thanks, [@bryce-carson][]!)

- Update output and **fix style issues**
- Add support for **Python 3.7, 3.8, 3.9, 3.10**
- Improve handling of PDFs and other binary files
- Fix deprecation warnings from newer dependency versions

- End-of-life [Python versions](https://devguide.python.org/#status-of-python-branches) no longer intentionally supported
  - Python 2.6, 2.7 (Python 2 compatibility will be removed entirely in the next major release)
  - Python 3.0, 3.1, 3.2, 3.3 ([#275](https://github.com/joeyespo/grip/pull/275) - thanks, [@svisser][]!), 3.4, 3.5, 3.6
- Current [dependency versions](requirements.txt) (more recent versions will be required in the next major release)

- Fix typo in error message ([#266](https://github.com/joeyespo/grip/pull/266) - thanks, [@Godron629][]!)
- Update HTML/CSS scaffold to match GitHub ([#297](https://github.com/joeyespo/grip/pull/297) - thanks, [@phyllisstein][]!)
- Fix tests by adding a missing `USER_CONTEXT` argument to one of the `GitHubRenderer` calls
- Serve non-`text/` MIME types as raw files for better handling of, e.g. PDF files ([#234](https://github.com/joeyespo/grip/pull/234) - thanks, [@wvspee][]!)
- Fix style parsing, which caused some styles to be missing ([#347](https://github.com/joeyespo/grip/issues/347))

- Readme: Update to correct `--no-inline` option ([#267](https://github.com/joeyespo/grip/issues/267) - thanks, [@TomDLT][]!)
- Readme: Fix links to Grip class ([#276](https://github.com/joeyespo/grip/issues/276) - thanks, [@jacebrowning][]!)
- Readme: Clarify that this sends your markdown to GitHub ([#251](https://github.com/joeyespo/grip/issues/251) - thanks, [@courajs][]!)
- Update `pytest` usages (see [pytest 3.0.0 changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst#300-2016-08-18))
- Add `.pytest_cache` to `.gitignore` ([#287](https://github.com/joeyespo/grip/pull/287) - thanks, [@svisser][]!)
- Add `.venv` and `.idea` to `.gitignore` and clean up
- Add `flake8` test dependency and fix linting errors ([#299](https://github.com/joeyespo/grip/pull/299))
- Add `pytest` test dependency ([#294](https://github.com/joeyespo/grip/pull/294) - thanks, [@Methacrylon][]!)
- License: Distribute LICENSE file ([#274](https://github.com/joeyespo/grip/pull/274) - thanks, [@synapticarbors][]!)
- License: Update year

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8be01ece3ec15a99cf5dc0edc888d477ca475038

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-grip/Makefile | 20 ++++++++++----------
 py-grip/PLIST    | 17 ++++++++++-------
 py-grip/distinfo |  6 +++---
 3 files changed, 23 insertions(+), 20 deletions(-)

diffs:
diff --git a/py-grip/Makefile b/py-grip/Makefile
index 158cdd7640..a639be527b 100644
--- a/py-grip/Makefile
+++ b/py-grip/Makefile
@@ -1,27 +1,27 @@
 # $NetBSD$
 
-DISTNAME=	grip-4.5.2
+DISTNAME=	grip-4.6.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
-MASTER_SITES=   ${MASTER_SITE_PYPI:=g/grip/}
+MASTER_SITES=	${MASTER_SITE_PYPI:=g/grip/}
 
 MAINTAINER=	kamelderouiche%yahoo.com@localhost
-HOMEPAGE=	http://github.com/joeyespo/grip/
+HOMEPAGE=	https://github.com/joeyespo/grip/
 COMMENT=	Render local readme files before sending off to GitHub
 LICENSE=	mit
 
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=	${PYPKGPREFIX}-docopt>=0.4.0:../../devel/py-docopt
-DEPENDS+=	${PYPKGPREFIX}-flask>=1.1.2:../../www/py-flask
+DEPENDS+=	${PYPKGPREFIX}-flask>=0.10.1:../../www/py-flask
+DEPENDS+=	${PYPKGPREFIX}-markdown>=2.5.1:../../textproc/py-markdown
 DEPENDS+=	${PYPKGPREFIX}-path-and-address>=2.0.1:../../wip/py-path-and-address
 DEPENDS+=	${PYPKGPREFIX}-pygments>=1.6:../../textproc/py-pygments
 DEPENDS+=	${PYPKGPREFIX}-requests>=2.4.1:../../devel/py-requests
 
-# FIXME: Does this need to be replaced with another dependency?
-# ERROR: markdown unsupported in PYTHON_VERSIONED_DEPENDENCIES
-# PYTHON_VERSIONED_DEPENDENCIES+=	markdown
-
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-grip/PLIST b/py-grip/PLIST
index cc7a07f93f..b6ba319617 100644
--- a/py-grip/PLIST
+++ b/py-grip/PLIST
@@ -1,18 +1,21 @@
 @comment $NetBSD$
 bin/grip
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.md
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/grip/__init__.py
 ${PYSITELIB}/grip/__init__.pyc
 ${PYSITELIB}/grip/__init__.pyo
 ${PYSITELIB}/grip/__main__.py
 ${PYSITELIB}/grip/__main__.pyc
 ${PYSITELIB}/grip/__main__.pyo
+${PYSITELIB}/grip/_compat.py
+${PYSITELIB}/grip/_compat.pyc
+${PYSITELIB}/grip/_compat.pyo
 ${PYSITELIB}/grip/api.py
 ${PYSITELIB}/grip/api.pyc
 ${PYSITELIB}/grip/api.pyo
diff --git a/py-grip/distinfo b/py-grip/distinfo
index 161bb0cb83..8d83082fe6 100644
--- a/py-grip/distinfo
+++ b/py-grip/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (grip-4.5.2.tar.gz) = efbcfcbb51a66a970c02003b90d0f13d7fb7648f
-SHA512 (grip-4.5.2.tar.gz) = a8937d8ba3633a2d47587eb5c1b0583df7e8a8cacebb87fd50dab3fd2deb91981b38a83a3ed182f4e5e7435c8e2c8d87829e45fa9d32d8823c821f6217c7ccc9
-Size (grip-4.5.2.tar.gz) = 145644 bytes
+BLAKE2s (grip-4.6.1.tar.gz) = a08317a01cf2683451c9678848919064d61ad72267aff89f5db5434b961845a5
+SHA512 (grip-4.6.1.tar.gz) = 73eb80995457faa10ba5f174c8151c821f4bd9cda066099ba249cc5aad668e6adef267410ddd24fefa1d1e444c276a10a0881ec5e528bc616d3c4d98a8427b3d
+Size (grip-4.6.1.tar.gz) = 147894 bytes


Home | Main Index | Thread Index | Old Index