py-feedgenerator: update to 2.1.0.

FeedGenerator 2.1.0

Modernize and improve tests (#32 & #34 — thanks to @venthur)
Drop support for Python 3.6 and test on 3.10 & 3.11 (#35 — thanks to @hugovk)
Exclude tests_feedgenerator/__pycache__ from distribution (#33 — thanks to @BenSturmfels)

FeedGenerator 2.0.0

Add preliminary support for adding images to feeds
Update code for Python 3.6+
Drop support for Python 2.7
Fix double subtitles if both description & subtitle are provided

FeedGenerator 1.9.2

Use description field as subtitle for Atom feeds, if provided (#23)
Update list of explicitly-supported Python versions to 3.6 – 3.9
This commit is contained in:
wiz 2023-05-05 09:07:23 +00:00
parent 83e34eb7d3
commit 8a031a9559
3 changed files with 14 additions and 12 deletions

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.4 2022/01/04 20:55:24 wiz Exp $
# $NetBSD: Makefile,v 1.5 2023/05/05 09:07:23 wiz Exp $
DISTNAME= feedgenerator-1.9.1
DISTNAME= feedgenerator-2.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/feedgenerator/}
@ -12,9 +11,15 @@ COMMENT= Standalone version of django.utils.feedgenerator, compatible with Py3k
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2015/11/27 16:49:19 nils Exp $
@comment $NetBSD: PLIST,v 1.2 2023/05/05 09:07:23 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@ -26,9 +26,6 @@ ${PYSITELIB}/feedgenerator/django/utils/feedgenerator.pyo
${PYSITELIB}/feedgenerator/django/utils/functional.py
${PYSITELIB}/feedgenerator/django/utils/functional.pyc
${PYSITELIB}/feedgenerator/django/utils/functional.pyo
${PYSITELIB}/feedgenerator/django/utils/six.py
${PYSITELIB}/feedgenerator/django/utils/six.pyc
${PYSITELIB}/feedgenerator/django/utils/six.pyo
${PYSITELIB}/feedgenerator/django/utils/timezone.py
${PYSITELIB}/feedgenerator/django/utils/timezone.pyc
${PYSITELIB}/feedgenerator/django/utils/timezone.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2022/01/14 11:49:44 wiz Exp $
$NetBSD: distinfo,v 1.8 2023/05/05 09:07:23 wiz Exp $
BLAKE2s (feedgenerator-1.9.1.tar.gz) = 96b664dd7824d9b574d825f870c35baadafa02967a21e3e3be933d7c259dca16
SHA512 (feedgenerator-1.9.1.tar.gz) = db3642acb8f0c9fd692f37a79cf5862e60687a1745afbc6593d37a0372adb994de603238a17a8eae95ffcc993195f63037f16122a3cf8771e6922dea492fb5d5
Size (feedgenerator-1.9.1.tar.gz) = 25677 bytes
BLAKE2s (feedgenerator-2.1.0.tar.gz) = a2310a591e852c0e1b0113285ef63ec26b80d5cc25287cd2ce00e23579e720a2
SHA512 (feedgenerator-2.1.0.tar.gz) = b8b41f5b256130166c8dba34dd950782f9acb506e3e37a2fe13b5e1f9d33f7d39b7f862e446f4f6f2f480973617feb70303f78a4fb6741f110166e61b92f0075
Size (feedgenerator-2.1.0.tar.gz) = 20682 bytes