Bug 196049

Summary: [NEW PORT] net/py-pysocks: Python SOCKS module
Product: Ports & Packages Reporter: kyuupichan
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: easy, patch, patch-ready
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
SHAR file of the new port
none
SHAR file of the new port
none
Output requested none

Description kyuupichan 2014-12-17 02:34:21 UTC
Created attachment 150667 [details]
SHAR file of the new port

Derived from SocksiPy - a Python SOCKS module.

This package is a new dependency of upgrading package finance/electrum to 2.0.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2014-12-17 03:00:14 UTC
Thank you for your submission!

For QA, please attach:

* portlint output
* poudriere testport output
* Python unit test output (if available)

Also, it may be worth adding some of the listed Features [1] into pkg-descr

[1] https://github.com/Anorov/PySocks#features
Comment 2 kyuupichan 2014-12-17 10:45:37 UTC
Created attachment 150679 [details]
SHAR file of the new port

Replaced SHAR file after updating pkg-descr as requested
Comment 3 kyuupichan 2014-12-17 10:47:10 UTC
Created attachment 150680 [details]
Output requested

Output of portlint and the make command as requested.

There are no unittests for this package.
Comment 4 kyuupichan 2015-02-02 06:07:08 UTC
Hi - is there anything else, or can this be committed now please?
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-03-22 14:59:43 UTC
A commit references this bug:

Author: sunpoet
Date: Sun Mar 22 14:59:12 UTC 2015
New revision: 381922
URL: https://svnweb.freebsd.org/changeset/ports/381922

Log:
  - Add py-pysocks 1.5.0

  Derived from SocksiPy - a Python SOCKS module.

  - UDP support
  - SocksiPyHandler, courtesy e000, was also added as an example of how
    this module can be used with urllib2. See example code in sockshandler.py.
  - urllib3, which powers the requests module, is working on integrating SOCKS
    proxy support based on this branch

  PR:		196049
  Submitted by:	<kyuupichan@gmail.com>

Changes:
  head/net/Makefile
  head/net/py-pysocks/
  head/net/py-pysocks/Makefile
  head/net/py-pysocks/distinfo
  head/net/py-pysocks/pkg-descr
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-03-22 15:03:48 UTC
Committed. Thanks!