Update to py-mpd 0.3.0 from maintainer Martin Pieuchot.

This commit is contained in:
landry 2011-04-05 19:56:11 +00:00
parent 11e4a69dc4
commit 1c24641ace
3 changed files with 22 additions and 34 deletions

View File

@ -1,30 +1,30 @@
# $OpenBSD: Makefile,v 1.4 2010/08/30 21:36:14 fgsch Exp $
# $OpenBSD: Makefile,v 1.5 2011/04/05 19:56:11 landry Exp $
COMMENT= Python MPD client library
COMMENT = Python MPD client library
MODPY_EGG_VERSION=0.2.0
DISTNAME= python-mpd-${MODPY_EGG_VERSION}
PKGNAME= py-mpd-${MODPY_EGG_VERSION}
REVISION = 1
CATEGORIES= audio
MODPY_EGG_VERSION = 0.3.0
DISTNAME = python-mpd-${MODPY_EGG_VERSION}
PKGNAME = py-mpd-${MODPY_EGG_VERSION}
CATEGORIES = audio
HOMEPAGE= http://www.musicpd.org/~jat/python-mpd/
HOMEPAGE = http://jatreuman.indefero.net/p/python-mpd/
MAINTAINER = Martin Pieuchot <mp@nolizard.org>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-mpd/}
MASTER_SITES = ${MASTER_SITE_PYPI:=p/python-mpd/}
MODULES= lang/python
MODULES = lang/python
NO_REGRESS= Yes
NO_REGRESS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-mpd
${INSTALL_DATA} ${WRKSRC}/doc/commands.txt \
${PREFIX}/share/doc/py-mpd
${INSTALL_DATA} ${WRKSRC}/doc/commands.txt ${PREFIX}/share/doc/py-mpd
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (python-mpd-0.2.0.tar.gz) = mDUH7jCLWJVggVbaEMPPyw==
RMD160 (python-mpd-0.2.0.tar.gz) = e7S+mHEaF8p1AQOuSIJPaEEksfA=
SHA1 (python-mpd-0.2.0.tar.gz) = d69Y1N+pbBZlyw33PLJk4c4YLXQ=
SHA256 (python-mpd-0.2.0.tar.gz) = tmF0k0JZMDtbIzThinoDTG2GRwdzGShvkTFR/h46DMc=
SIZE (python-mpd-0.2.0.tar.gz) = 17383
MD5 (python-mpd-0.3.0.tar.gz) = WzhJsTHi+xLyUUNFl9ZWNQ==
RMD160 (python-mpd-0.3.0.tar.gz) = LUVVOQygXVDbPC6wfhkkFGoP4Jo=
SHA1 (python-mpd-0.3.0.tar.gz) = v1wh4i04BdDh34Zd/eUDTQHVNCA=
SHA256 (python-mpd-0.3.0.tar.gz) = AoEuuh0uD0bjdFf1pvojuiA2IuS8qwoZsmXmawjNIbQ=
SIZE (python-mpd-0.3.0.tar.gz) = 20507

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-mpd_py,v 1.1.1.1 2008/04/19 15:08:31 ajacoutot Exp $
--- mpd.py.orig Sat Apr 19 12:10:21 2008
+++ mpd.py Sat Apr 19 12:10:43 2008
@@ -293,7 +293,7 @@ class MPDClient(object):
msg = "getaddrinfo returns an empty list"
for res in socket.getaddrinfo(host, port, socket.AF_UNSPEC,
socket.SOCK_STREAM, socket.IPPROTO_TCP,
- socket.AI_ADDRCONFIG):
+ socket.AF_INET):
af, socktype, proto, canonname, sa = res
try:
self._sock = socket.socket(af, socktype, proto)