svn commit: r358741 - in head/net-im/py-skype4py: . files

Marcus von Appen mva at FreeBSD.org
Sat Jun 21 20:33:24 UTC 2014


Author: mva
Date: Sat Jun 21 20:33:23 2014
New Revision: 358741
URL: http://svnweb.freebsd.org/changeset/ports/358741
QAT: https://qat.redports.org/buildarchive/r358741/

Log:
  - Remove easy_install dependency
  - Fix file removal, so that recording the plist works properly with distutils
  - Bump PORTREVISION to enforce a cleanup for the easy_install references
  
  With hat:	python@
  Approved by:	portmgr (implicit)

Added:
  head/net-im/py-skype4py/files/
  head/net-im/py-skype4py/files/patch-setup.py   (contents, props changed)
Modified:
  head/net-im/py-skype4py/Makefile

Modified: head/net-im/py-skype4py/Makefile
==============================================================================
--- head/net-im/py-skype4py/Makefile	Sat Jun 21 20:18:33 2014	(r358740)
+++ head/net-im/py-skype4py/Makefile	Sat Jun 21 20:33:23 2014	(r358741)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Skype4Py
 PORTVERSION=	1.0.35
-#PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	net-im devel
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +11,11 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	nivit at FreeBSD.org
 COMMENT=	Skype (TM) API wrapper for Python
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
+USE_PYTHON=		2
+USE_PYDISTUTILS=	yes
 PYDISTUTILS_AUTOPLIST=	yes
-
-USE_PYDISTUTILS=	easy_install
-USE_PYTHON=	2
 USES=		zip
 
 .include <bsd.port.mk>

Added: head/net-im/py-skype4py/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/py-skype4py/files/patch-setup.py	Sat Jun 21 20:33:23 2014	(r358741)
@@ -0,0 +1,26 @@
+--- setup.py.orig	2013-05-25 11:00:56.000000000 +0200
++++ setup.py	2014-06-21 22:27:11.000000000 +0200
+@@ -129,11 +129,21 @@
+             print >>sys.stderr, 'epydoc not installed, skipping build_doc.'
+ 
+ 
+-commands = {'build_doc': build_doc,
+-            'install_lib': install_lib}
++commands = {'build_doc': build_doc}
+ 
+ desc = open("README.rst").read() + "\n" + open("CHANGES.rst").read()
+ 
++if sys.platform[:3] == 'win':
++    platform = 'windows'
++elif sys.platform == 'darwin':
++    platform = 'darwin'
++else:
++    platform = 'posix'
++path = os.path.join('Skype4Py', 'api')
++for name in os.listdir(path):
++    if not (name.startswith('__') or name.startswith(platform)):
++        os.remove(os.path.join(path, name))
++
+ # start the distutils setup
+ setup(name='Skype4Py',
+       version=VERSION,


More information about the svn-ports-head mailing list