[Bug 234311] net/py-gntp: Update to 1.0.3
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 3 13:44:21 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234311
Kai Knoblich <kai at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nivit at FreeBSD.org
Attachment #204806| |maintainer-approval?(nivit@
Flags| |FreeBSD.org)
--- Comment #4 from Kai Knoblich <kai at FreeBSD.org> ---
Created attachment 204806
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204806&action=edit
py-gntp-1.0.3.patch
Created a new patch based on the initial patch from Kes Calhoun and the
suggestions from koobs@ :
- Add the ports to the "python" virtual category
- Enable for all Python versions
- Add "concurrent" keyword to USE_PYTHON
QA:
~~~
- poudriere (11.2-, 12.0-RELEASE, 13.0-CURRENT at r348350 amd64 + i386) for each
py27, py35, py36 and py37 flavor -> OK
- portlint -> OK
Results with devel/py-pytest (for each flavor):
Two tests from test_resources.py (test_double_resource + test_single_resource)
always fail because it seems that deskutils/growl-for-linux isn't capable to
handle messages with embedded icons. This might work with the native Growl
under MacOS but I have not a Mac so I can't fully test it.
To get at least nine tests with following prerequisites must be met:
- Install and start deskutils/growl-for-linux
- Create an empty ~/.gntp file
> cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v
> 2 failed, 9 passed in 0.41 seconds
Overall test results:
> gntp/test/test_config.py::ConfigTests::test_missing_config PASSED
> gntp/test/test_custom.py::TestCustom::test_custom_values PASSED
> gntp/test/test_errors.py::TestErrors::test_connection_error PASSED
> gntp/test/test_hash.py::TestHash::test_config PASSED
> gntp/test/test_hash.py::TestHash::test_fake PASSED
> gntp/test/test_hash.py::TestHash::test_md5 PASSED
> gntp/test/test_hash.py::TestHash::test_sha1 PASSED
> gntp/test/test_hash.py::TestHash::test_sha256 PASSED
> gntp/test/test_hash.py::TestHash::test_sha512 PASSED
> gntp/test/test_resources.py::ResourceTest::test_double_resource FAILED
> gntp/test/test_resources.py::ResourceTest::test_single_resource FAILED
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list