Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jun 2019 13:44:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 234311] net/py-gntp: Update to 1.0.3
Message-ID:  <bug-234311-21822-M1v0VoB2pL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234311-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234311-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234311

Kai Knoblich <kai@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nivit@FreeBSD.org
 Attachment #204806|                            |maintainer-approval?(nivit@
              Flags|                            |FreeBSD.org)

--- Comment #4 from Kai Knoblich <kai@FreeBSD.org> ---
Created attachment 204806
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204806&action=
=3Dedit
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@r348350 amd64 + i386) for ea=
ch
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_resour=
ce)
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

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234311-21822-M1v0VoB2pL>