Date: Fri, 4 Jan 2013 15:28:33 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309932 - in head/audio: . py-mpd2 Message-ID: <201301041528.r04FSXJK052224@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Fri Jan 4 15:28:32 2013 New Revision: 309932 URL: http://svnweb.freebsd.org/changeset/ports/309932 Log: A fork of the original MPD (Music Player Daemon) client library written in pure Python. WWW: https://github.com/Mic92/python-mpd2/ Use new Makefile header and optionsNG Added: head/audio/py-mpd2/ - copied from r309922, head/audio/py-mpd/ Modified: head/audio/Makefile head/audio/py-mpd2/Makefile (contents, props changed) head/audio/py-mpd2/distinfo (contents, props changed) head/audio/py-mpd2/pkg-descr (contents, props changed) head/audio/py-mpd2/pkg-plist (contents, props changed) Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Fri Jan 4 15:25:41 2013 (r309931) +++ head/audio/Makefile Fri Jan 4 15:28:32 2013 (r309932) @@ -610,6 +610,7 @@ SUBDIR += py-karaoke SUBDIR += py-mad SUBDIR += py-mpd + SUBDIR += py-mpd2 SUBDIR += py-musicbrainz2 SUBDIR += py-mutagen SUBDIR += py-ogg Modified: head/audio/py-mpd2/Makefile ============================================================================== --- head/audio/py-mpd/Makefile Fri Jan 4 09:08:34 2013 (r309922) +++ head/audio/py-mpd2/Makefile Fri Jan 4 15:28:32 2013 (r309932) @@ -1,32 +1,47 @@ -# New ports collection makefile for: py-mpd -# Date created: 2008-04-05 -# Whom: Nicola Vitale <nivit@FreeBSD.org> -# +# Created by: rene@FreeBSD.org (repocopied from audio/py-mpd) # $FreeBSD$ -# -PORTNAME= mpd -PORTVERSION= 0.3.0 -#PORTREVISION= 0 -#PORTEPOCH= 0 +PORTNAME= mpd2 +PORTVERSION= 0.4.6 CATEGORIES= audio python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} -MAINTAINER= nivit@FreeBSD.org -COMMENT= Python MPD client library +MAINTAINER= rene@FreeBSD.org +COMMENT= Fork of the Python MPD client library + +USE_GITHUB= yes +GH_ACCOUNT= Mic92 +GH_PROJECT= python-${PORTNAME} +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 52d5280 USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= python_mpd +USE_PYDISTUTILS= easy_install +PYDISTUTILS_PKGNAME= python_mpd2 + +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options +OPTIONS_DEFINE= DOCS EXAMPLES -.if !defined(NOPORTDOCS) -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +PORTDOCS= commands.txt +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +PORTEXAMPLES= locking.py logger.py + +.include <bsd.port.options.mk> post-install: - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/commands.txt ${DOCSDIR}/ +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} +.endfor +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} +.for f in ${PORTEXAMPLES} + @${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EXAMPLESDIR} +.endfor .endif .include <bsd.port.mk> Modified: head/audio/py-mpd2/distinfo ============================================================================== --- head/audio/py-mpd/distinfo Fri Jan 4 09:08:34 2013 (r309922) +++ head/audio/py-mpd2/distinfo Fri Jan 4 15:28:32 2013 (r309932) @@ -1,2 +1,2 @@ -SHA256 (python-mpd-0.3.0.tar.gz) = 02812eba1d2e0f46e37457f5a6fa23ba203622e4bcab0a19b265e66b08cd21b4 -SIZE (python-mpd-0.3.0.tar.gz) = 20507 +SHA256 (python-mpd2-0.4.6.tar.gz) = 4e0f18a467ebbb2b08e07579c4744f0a7640d15107eb9813fcea2bf12cdadbf0 +SIZE (python-mpd2-0.4.6.tar.gz) = 27340 Modified: head/audio/py-mpd2/pkg-descr ============================================================================== --- head/audio/py-mpd/pkg-descr Fri Jan 4 09:08:34 2013 (r309922) +++ head/audio/py-mpd2/pkg-descr Fri Jan 4 15:28:32 2013 (r309932) @@ -1,3 +1,4 @@ -An MPD (Music Player Daemon) client library written in pure Python. +A fork of the original MPD (Music Player Daemon) client library written +in pure Python. -WWW: http://pypi.python.org/pypi/python-mpd/ +WWW: https://github.com/Mic92/python-mpd2/ Modified: head/audio/py-mpd2/pkg-plist ============================================================================== --- head/audio/py-mpd/pkg-plist Fri Jan 4 09:08:34 2013 (r309922) +++ head/audio/py-mpd2/pkg-plist Fri Jan 4 15:28:32 2013 (r309932) @@ -1,6 +1 @@ -@comment $FreeBSD$ -%%PYTHON_SITELIBDIR%%/mpd.py -%%PYTHON_SITELIBDIR%%/mpd.pyc -%%PYTHON_SITELIBDIR%%/mpd.pyo -%%PORTDOCS%%%%DOCSDIR%%/commands.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301041528.r04FSXJK052224>