Skip to content

Commit

Permalink
py-feedgenerator: update to 2.1.0.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
0-wiz-0 committed May 5, 2023
1 parent 83e34eb commit 8a031a9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
13 changes: 9 additions & 4 deletions www/py-feedgenerator/Makefile
Original file line number Diff line number Diff line change
@@ -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/}

Expand All @@ -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"
5 changes: 1 addition & 4 deletions www/py-feedgenerator/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions www/py-feedgenerator/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8a031a9

Please sign in to comment.