Skip to content

Commit 2861e0d

Browse files
committed
feed2exec: update to 0.20.0. Changes:
* Add matchtitleregex and droptitleregex plugin and tests * implement codespell linting, fixing all found errors * more related software: rss-bridge * isort: sort imports all over * add missing readthedocs configuration file, now mandatory * cross-reference droptitle and droptitle-regex pkgsrc changes: - Convert to wheel.mk - Avoid self-conflicts when installing under multiple pythons
1 parent 3eee8e1 commit 2861e0d

File tree

4 files changed

+26
-19
lines changed

4 files changed

+26
-19
lines changed

mail/feed2exec/ALTERNATIVES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/feed2exec @PREFIX@/bin/feed2exec-@PYVERSSUFFIX@

mail/feed2exec/Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# $NetBSD: Makefile,v 1.24 2023/11/07 22:38:02 wiz Exp $
1+
# $NetBSD: Makefile,v 1.25 2024/01/18 12:09:35 schmonz Exp $
22

3-
DISTNAME= feed2exec-0.19.0
3+
DISTNAME= feed2exec-0.20.0
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5-
PKGREVISION= 3
65
CATEGORIES= mail python
76
MASTER_SITES= ${MASTER_SITE_GITLAB:=anarcat/feed2exec/-/archive/${PKGVERSION_NOREV}/}
87

@@ -35,9 +34,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
3534

3635
USE_LANGUAGES= # none
3736

38-
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
39-
40-
USE_PKG_RESOURCES= yes
37+
PYTHON_VERSIONS_INCOMPATIBLE= 27
4138

4239
SUBST_CLASSES+= version
4340
SUBST_STAGE.version= pre-configure
@@ -50,7 +47,10 @@ post-extract:
5047
do-test:
5148
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
5249

50+
post-install:
51+
cd ${DESTDIR}${PREFIX}/bin && ${MV} -f feed2exec feed2exec-${PYVERSSUFFIX}
52+
5353
.include "../../lang/python/batteries-included.mk"
5454
.include "../../lang/python/application.mk"
55-
.include "../../lang/python/egg.mk"
55+
.include "../../lang/python/wheel.mk"
5656
.include "../../mk/bsd.pkg.mk"

mail/feed2exec/PLIST

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
@comment $NetBSD: PLIST,v 1.6 2023/02/23 15:59:24 schmonz Exp $
2-
bin/feed2exec
3-
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4-
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5-
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6-
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
7-
${PYSITELIB}/${EGG_INFODIR}/requires.txt
8-
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
1+
@comment $NetBSD: PLIST,v 1.7 2024/01/18 12:09:35 schmonz Exp $
2+
bin/feed2exec-${PYVERSSUFFIX}
3+
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst
4+
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
5+
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
6+
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
7+
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
8+
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
99
${PYSITELIB}/feed2exec/__init__.py
1010
${PYSITELIB}/feed2exec/__init__.pyc
1111
${PYSITELIB}/feed2exec/__init__.pyo
@@ -36,6 +36,9 @@ ${PYSITELIB}/feed2exec/plugins/archive.pyo
3636
${PYSITELIB}/feed2exec/plugins/droptitle.py
3737
${PYSITELIB}/feed2exec/plugins/droptitle.pyc
3838
${PYSITELIB}/feed2exec/plugins/droptitle.pyo
39+
${PYSITELIB}/feed2exec/plugins/droptitleregex.py
40+
${PYSITELIB}/feed2exec/plugins/droptitleregex.pyc
41+
${PYSITELIB}/feed2exec/plugins/droptitleregex.pyo
3942
${PYSITELIB}/feed2exec/plugins/echo.py
4043
${PYSITELIB}/feed2exec/plugins/echo.pyc
4144
${PYSITELIB}/feed2exec/plugins/echo.pyo
@@ -63,6 +66,9 @@ ${PYSITELIB}/feed2exec/plugins/json.pyo
6366
${PYSITELIB}/feed2exec/plugins/maildir.py
6467
${PYSITELIB}/feed2exec/plugins/maildir.pyc
6568
${PYSITELIB}/feed2exec/plugins/maildir.pyo
69+
${PYSITELIB}/feed2exec/plugins/matchtitleregex.py
70+
${PYSITELIB}/feed2exec/plugins/matchtitleregex.pyc
71+
${PYSITELIB}/feed2exec/plugins/matchtitleregex.pyo
6672
${PYSITELIB}/feed2exec/plugins/mbox.py
6773
${PYSITELIB}/feed2exec/plugins/mbox.pyc
6874
${PYSITELIB}/feed2exec/plugins/mbox.pyo

mail/feed2exec/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
$NetBSD: distinfo,v 1.9 2023/02/23 15:59:24 schmonz Exp $
1+
$NetBSD: distinfo,v 1.10 2024/01/18 12:09:35 schmonz Exp $
22

3-
BLAKE2s (feed2exec-0.19.0.tar.gz) = 35eb61feb2cbe98a140168ba2889afd146537c3a6d9cc3d4c4d63c36c6abf8f3
4-
SHA512 (feed2exec-0.19.0.tar.gz) = 0b76b220d952356c66128032ab6b2bcfe86de5fcad40e9bb30663f9bea4af324c05b5384aa2172c7caf51f55c9576a89974c2640b95bb9de8ec762238541b1ba
5-
Size (feed2exec-0.19.0.tar.gz) = 688870 bytes
3+
BLAKE2s (feed2exec-0.20.0.tar.gz) = 0fdc2392bc192626eecf6445eba325124b41d15d20f882a3e85e53e6f807d46f
4+
SHA512 (feed2exec-0.20.0.tar.gz) = 0deff6ed5a5de74b3a4893957880587a6cc909022bf669653217e79387e13945bf18070e92877500b31a40da99681ca9e99814e72e3ec5201d8d685a8fac4298
5+
Size (feed2exec-0.20.0.tar.gz) = 690745 bytes
66
SHA1 (patch-feed2exec_____init____.py) = a55c2f1cb1feefc02fd8f7ce233f386e743f7823
77
SHA1 (patch-pyproject.toml) = ccd1f75d51435ffb14156f251145d61a4167c580
88
SHA1 (patch-setup.cfg) = 2f7edeb3df9a40a5b3430b3be5c5a8de46447338

0 commit comments

Comments
 (0)