Monday, April 30, 2018

Re: NEW: mail/rss2email3

Kaashif Hymabaccus writes:

> On Tue, Jan 16, 2018 at 12:14:10AM +0000, Kaashif Hymabaccus wrote:
>> Ping with a new tarball. The distinfo in the previous one is wrong.
>>
>> --
>> Kaashif Hymabaccus
>> GPG: 3E810B04
>
> Anyone interested in this? Tarball attached.

make test fails for me

Traceback (most recent call last):
File "test/test.py", line 15, in <module>
import rss2email.feed as _rss2email_feed
File "/home/ports/pobj/rss2email3-3.9/rss2email-3.9/rss2email/feed.py", line 49, in <module>
import feedparser as _feedparser
ModuleNotFoundError: No module named 'feedparser'

a TEST_DEPENDS is needed here


A few changes are needed in pkg/PLIST too

- remove share/doc/rss2email3/README, because the README from pkg/README
will be automatically put there-> share/doc/pkg-readmes/${FULLPKGNAME}
- ${MODPY_COMMENT} should be used for directories containing ${MODPY_PYCACHE}

--- pkg/PLIST.orig Mon Apr 30 17:44:04 2018
+++ pkg/PLIST Mon Apr 30 17:44:27 2018
@@ -3,7 +3,7 @@
lib/python${MODPY_VERSION}/site-packages/rss2email/
lib/python${MODPY_VERSION}/site-packages/rss2email-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/rss2email/__init__.py
-lib/python${MODPY_VERSION}/site-packages/rss2email/${MODPY_PYCACHE}/
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/rss2email/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/rss2email/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rss2email/${MODPY_PYCACHE}command.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rss2email/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
@@ -33,5 +33,3 @@
lib/python${MODPY_VERSION}/site-packages/rss2email/version.py
@man man/man1/r2e3.1
share/doc/pkg-readmes/${FULLPKGNAME}
-share/doc/rss2email3/
-share/doc/rss2email3/README

No comments:

Post a Comment