Created attachment 184833 [details] py-pyenet.shar pyenet is a python wrapper for the ENet library by Lee Salzman, http://enet.bespin.org WWW: https://github.com/swalladge/pyenet portlint: OK (looks fine.)
Thank you Ilia. Some review items: - Prefer MASTER_SITES=CHEESESHOP by default (unless important files missing from PyPI sdist). Remove USE_GITHUB/GH_* accordingly. - setup.py (and PyPI) says version is lib_version = "1.3.13" (plus "post3" suffix). Consider using DISTVERSION=1.3.13.post3 to match - cython is listed in both setup.py: setup_requires and install_requires. this makes it both a BUILD_DEPENDS and a RUN_DEPENDS (the latter is missing). - setup.py:description is "A python wrapper for the ENet library". Set COMMENT to match (minus leading "A", for portlint compliance) Please also confirm this port passes poudriere QA if possible. For more information and instructions, see: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html
https://github.com/swalladge/pyenet -- broken (404), port itself no tested. Copy distfile here: https://drive.google.com/file/d/0B40aWdSzJGYvZWlYWklqR1E4UEU/view?usp=sharing (open for all).
Does not build. ===> Configuring for py27-pyenet-1.3.13.post3 pypandoc not available, using plain contents of readme Downloading enet Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 71, in <module> urllib_request.urlretrieve(enet_url, enet_file, reporthook) File "/usr/local/lib/python2.7/urllib.py", line 98, in urlretrieve return opener.retrieve(url, filename, reporthook, data) File "/usr/local/lib/python2.7/urllib.py", line 245, in retrieve fp = self.open(url, data) File "/usr/local/lib/python2.7/urllib.py", line 213, in open return getattr(self, name)(url) File "/usr/local/lib/python2.7/urllib.py", line 350, in open_http h.endheaders(data) File "/usr/local/lib/python2.7/httplib.py", line 1038, in endheaders self._send_output(message_body) File "/usr/local/lib/python2.7/httplib.py", line 882, in _send_output self.send(msg) File "/usr/local/lib/python2.7/httplib.py", line 844, in send self.connect() File "/usr/local/lib/python2.7/httplib.py", line 821, in connect self.timeout, self.source_address) File "/usr/local/lib/python2.7/socket.py", line 557, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): IOError: [Errno socket error] [Errno 8] hostname nor servname provided, or not known Of course it is not allowed to access the network while building.
Created attachment 191560 [details] py-pyenet.shar based on source from PyPI Sorry for the wait, I needed to understand the situation with the removal of the sources from GitHub. According to the information received, swalladge removed his project in favor of PyPI version of pyenet from Piqueserver Team. portlint: OK (looks fine.)
Created attachment 209341 [details] Updated shar Time to finish this. I've updated the shar, how does it look like? Updated to 1.3.13.post7 which bundles enet sources (not that I like it, but it's likely the most painless way to handle it) which allows to simplify the port.
(In reply to Dmitry Marakasov from comment #5) (not tested with unknown horizons yet)
A commit references this bug: Author: amdmi3 Date: Mon Dec 9 15:34:49 UTC 2019 New revision: 519620 URL: https://svnweb.freebsd.org/changeset/ports/519620 Log: - Add net/py-pyenet pyenet is a python wrapper for the ENet library by Lee Salzman, http://enet.bespin.org WWW: https://pypi.python.org/pypi/pyenet PR: 221090 Submitted by: freebsd@skinc.ru Changes: head/net/Makefile head/net/py-pyenet/ head/net/py-pyenet/Makefile head/net/py-pyenet/distinfo head/net/py-pyenet/files/ head/net/py-pyenet/files/patch-README.rst head/net/py-pyenet/pkg-descr