[143364] trunk/dports/python

aronnax at macports.org aronnax at macports.org
Sat Dec 12 09:40:26 PST 2015


Revision: 143364
          https://trac.macports.org/changeset/143364
Author:   aronnax at macports.org
Date:     2015-12-11 06:26:14 -0800 (Fri, 11 Dec 2015)
Log Message:
-----------
py-socks: new port to replace obsolete py-socksipy-branch

Modified Paths:
--------------
    trunk/dports/python/py-socksipy-branch/Portfile

Added Paths:
-----------
    trunk/dports/python/py-socks/
    trunk/dports/python/py-socks/Portfile

Added: trunk/dports/python/py-socks/Portfile
===================================================================
--- trunk/dports/python/py-socks/Portfile	                        (rev 0)
+++ trunk/dports/python/py-socks/Portfile	2015-12-11 14:26:14 UTC (rev 143364)
@@ -0,0 +1,33 @@
+# $Id$
+
+PortSystem        1.0
+PortGroup         python 1.0
+
+set realname      PySocks
+name              py-socks
+version           1.5.6
+categories-append devel net
+license           BSD
+platforms         darwin
+maintainers       aronnax openmaintainer
+
+description       python SOCKS client module
+long_description  PySOCKS is a SOCKS client module, branched off several \
+                  earlier abandoned projects
+
+homepage          http://pypi.python.org/pypi/${realname}/
+master_sites      pypi:[string index ${realname} 0]/${realname}
+distname          ${realname}-${version}
+
+python.versions   26 27 33 34 35
+
+checksums         md5    c825c7c52b2c79dde73cac8d04bd25cb \
+                  rmd160 e66e508485ed4ad89e1333ef5029c81102123ef0 \
+                  sha256 a62b35b13968ba3642a973d115ae6a11be886b5f5ae0841a3ecad4b4f1d7deb1
+
+if {${name} ne ${subport}} {
+  livecheck.type    none
+} else {
+  livecheck.name    ${realname}
+  livecheck.type    pypi
+}


Property changes on: trunk/dports/python/py-socks/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Modified: trunk/dports/python/py-socksipy-branch/Portfile
===================================================================
--- trunk/dports/python/py-socksipy-branch/Portfile	2015-12-11 14:23:51 UTC (rev 143363)
+++ trunk/dports/python/py-socksipy-branch/Portfile	2015-12-11 14:26:14 UTC (rev 143364)
@@ -2,35 +2,9 @@
 # $Id$
 
 PortSystem          1.0
+replaced_by         py-socks
+PortGroup           obsolete 1.0
 PortGroup           python 1.0
-
 name                py-socksipy-branch
 version             1.02
-
-categories-append   devel net
-maintainers         nomaintainer
-
-description         python SOCKS client module
-long_description    SocksiPy is a SOCKS client module, branched off the abandoned \
-                    original socksipy
-
-platforms           darwin
-license             BSD
-supported_archs     noarch
-
-homepage            http://socksipy-branch.googlecode.com/
-master_sites        googlecode:socksipy-branch
-
-distname            SocksiPy-branch-${version}
-
 python.versions     26 27 33 34
-
-checksums           rmd160  7b4db2d555db971855c2161fbf7ed0a7ad18f52a \
-                    sha256  9a6e201fb02c998c3c4d289b7805eadd0ee192ed8b9fa084b69201b589b17773
-
-post-patch {
-    # Set directories to 755, *.py to 755, other files to 644
-    system "find ${workpath} -type d -exec chmod 755 {} \\;"
-    system "find ${workpath} -type f -name '*.py' -exec chmod 775 {} \\;"
-    system "find ${workpath} -type f -not -name '*.py' -exec chmod 644 {} \\;"
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/c5a0eccd/attachment.html>


More information about the macports-changes mailing list