ports/186935: [MAINTAINER] www/mitmproxy: update to 0.10

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ports/186935: [MAINTAINER] www/mitmproxy: update to 0.10

Hung-Yi Chen

>Number:         186935
>Category:       ports
>Synopsis:       [MAINTAINER] www/mitmproxy: update to 0.10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 21 01:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD cse.tw 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014
>Description:
- Update to 0.10
Please commit PR.186934 first.

Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- mitmproxy-0.10.patch begins here ---
diff -ruN /usr/ports/www/mitmproxy/Makefile ./Makefile
--- /usr/ports/www/mitmproxy/Makefile 2013-09-21 07:36:50.000000000 +0800
+++ ./Makefile 2014-02-21 08:29:52.000000000 +0800
@@ -2,7 +2,7 @@
 # $FreeBSD: head/www/mitmproxy/Makefile 327776 2013-09-20 23:36:50Z bapt $
 
 PORTNAME= mitmproxy
-PORTVERSION= 0.9.2
+PORTVERSION= 0.10
 CATEGORIES= www python
 MASTER_SITES= http://mitmproxy.org/download/
 
@@ -13,10 +13,10 @@
 
 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>0:${PORTSDIR}/devel/py-asn1 \
  ${PYTHON_PKGNAMEPREFIX}Flask>0:${PORTSDIR}/www/py-flask \
- ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
  ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
  ${PYTHON_PKGNAMEPREFIX}netlib>0:${PORTSDIR}/net/py-netlib \
  ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=2.3.0:${PORTSDIR}/graphics/py-pillow \
  ${PYTHON_PKGNAMEPREFIX}urwid>0:${PORTSDIR}/devel/py-urwid
 
 USE_PYDISTUTILS=easy_install
diff -ruN /usr/ports/www/mitmproxy/distinfo ./distinfo
--- /usr/ports/www/mitmproxy/distinfo 2013-09-10 22:38:14.000000000 +0800
+++ ./distinfo 2014-02-21 08:16:24.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (mitmproxy-0.9.2.tar.gz) = 00b200cd7867ca7b0c907bb6a05075807040318cb32fc6bedcd4cb8363c6d795
-SIZE (mitmproxy-0.9.2.tar.gz) = 3180194
+SHA256 (mitmproxy-0.10.tar.gz) = 524e3e91ec9b63f1aec4fd86c55a43e935808da7d558d806c1212b4ba18deea5
+SIZE (mitmproxy-0.10.tar.gz) = 3408925
diff -ruN /usr/ports/www/mitmproxy/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/www/mitmproxy/files/patch-setup.py 2013-08-22 00:14:48.000000000 +0800
+++ ./files/patch-setup.py 2014-02-21 08:20:06.000000000 +0800
@@ -1,12 +1,12 @@
---- setup.py.orig 2013-07-23 03:08:39.785592808 +0800
-+++ setup.py 2013-07-23 03:09:19.367592415 +0800
+--- setup.py.orig 2014-02-21 08:17:11.000000000 +0800
++++ setup.py 2014-02-21 08:19:43.000000000 +0800
 @@ -1,4 +1,5 @@
  from distutils.core import setup
 +from setuptools import setup
  import fnmatch, os.path
  from libmproxy import version
 
-@@ -92,13 +93,4 @@
+@@ -98,13 +99,4 @@
              "Topic :: Internet :: Proxy Servers",
              "Topic :: Software Development :: Testing"
          ],
@@ -15,7 +15,7 @@
 -            "urwid>=1.1",
 -            "pyasn1>0.1.2",
 -            "pyopenssl>=0.13",
--            "PIL",
+-            "Pillow>=2.3.0,<2.4",
 -            "lxml",
 -            "flask"
 -        ],
diff -ruN /usr/ports/www/mitmproxy/pkg-plist ./pkg-plist
--- /usr/ports/www/mitmproxy/pkg-plist 2013-09-10 22:38:14.000000000 +0800
+++ ./pkg-plist 2014-02-21 08:34:55.000000000 +0800
@@ -108,6 +108,13 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/linux.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/osx.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/pf.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/css/font-awesome.css
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/css/font-awesome.min.css
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/fonts/FontAwesome.otf
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/fonts/fontawesome-webfont.eot
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/fonts/fontawesome-webfont.svg
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/fonts/fontawesome-webfont.ttf
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/fonts/fontawesome-webfont.woff
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/bootstrap.min.css
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/bootstrap.min.js
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/jquery-1.10.1.min.js
@@ -130,6 +137,8 @@
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/css
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static/fontawesome/fonts
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/static
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/templates
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy
--- mitmproxy-0.10.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"