Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2020 18:16:18 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r524053 - in head/audio: . py-mpd2 py-python-mpd2
Message-ID:  <202001251816.00PIGIrd062018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Jan 25 18:16:18 2020
New Revision: 524053
URL: https://svnweb.freebsd.org/changeset/ports/524053

Log:
  Move audio/py-mpd2 to audio/py-python-mpd2
  
  - Remove no-op DOCSDIR and EXAMPLESDIR: they are overwritten by USE_PYTHON=concurrent
  - Take maintainership

Added:
  head/audio/py-python-mpd2/
     - copied from r524052, head/audio/py-mpd2/
  head/audio/py-python-mpd2/pkg-plist   (contents, props changed)
Deleted:
  head/audio/py-mpd2/
Modified:
  head/audio/Makefile
  head/audio/py-python-mpd2/Makefile
  head/audio/py-python-mpd2/pkg-descr

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Sat Jan 25 18:00:42 2020	(r524052)
+++ head/audio/Makefile	Sat Jan 25 18:16:18 2020	(r524053)
@@ -659,7 +659,6 @@
     SUBDIR += py-id3
     SUBDIR += py-karaoke
     SUBDIR += py-mpd
-    SUBDIR += py-mpd2
     SUBDIR += py-music21
     SUBDIR += py-musicbrainzngs
     SUBDIR += py-mutagen
@@ -673,6 +672,7 @@
     SUBDIR += py-pyliblo
     SUBDIR += py-pymad
     SUBDIR += py-pysndfile
+    SUBDIR += py-python-mpd2
     SUBDIR += py-shout
     SUBDIR += py-soundcloud
     SUBDIR += py-sounddevice

Modified: head/audio/py-python-mpd2/Makefile
==============================================================================
--- head/audio/py-mpd2/Makefile	Sat Jan 25 18:00:42 2020	(r524052)
+++ head/audio/py-python-mpd2/Makefile	Sat Jan 25 18:16:18 2020	(r524053)
@@ -1,44 +1,38 @@
 # Created by: rene@FreeBSD.org (repocopied from audio/py-mpd)
 # $FreeBSD$
 
-PORTNAME=	mpd2
+PORTNAME=	python-mpd2
+PORTVERSION=	1.1.0
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.0
 CATEGORIES=	audio python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Fork of the Python MPD client library
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python MPD client library
 
 LICENSE=	LGPL3+
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	Mic92
-GH_PROJECT=	python-${PORTNAME}
-
-USES=		shebangfix python
-SHEBANG_FILES=	examples/*.py doc/*.py
+USES=		python shebangfix
 USE_PYTHON=	autoplist concurrent distutils
+
 NO_ARCH=	yes
 
-DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
-PORTDOCS=	*
-EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
-PORTEXAMPLES=	*
+USE_GITHUB=	yes
+GH_ACCOUNT=	Mic92
 
+SHEBANG_FILES=	doc/*.py examples/*.py
+
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/topics
-	${INSTALL_DATA} ${WRKSRC}/doc/commands_header.txt ${STAGEDIR}${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/doc/*.rst ${STAGEDIR}${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/doc/commands_header.txt ${WRKSRC}/doc/*.rst ${STAGEDIR}${DOCSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/doc/topics/*.rst ${STAGEDIR}${DOCSDIR}/topics/
 	${INSTALL_SCRIPT} ${WRKSRC}/doc/generate_command_reference.py ${STAGEDIR}${DOCSDIR}/
 
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}/
-	${INSTALL_DATA} ${WRKSRC}/examples/summary.txt ${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${WRKSRC}/examples/summary.txt ${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.mk>

Modified: head/audio/py-python-mpd2/pkg-descr
==============================================================================
--- head/audio/py-mpd2/pkg-descr	Sat Jan 25 18:00:42 2020	(r524052)
+++ head/audio/py-python-mpd2/pkg-descr	Sat Jan 25 18:16:18 2020	(r524053)
@@ -1,4 +1,4 @@
-A fork of the original MPD (Music Player Daemon) client library written
-in pure Python.
+python-mpd2 is a Python library which provides a client interface for the Music
+Player Daemon.
 
 WWW: https://github.com/Mic92/python-mpd2

Added: head/audio/py-python-mpd2/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/py-python-mpd2/pkg-plist	Sat Jan 25 18:16:18 2020	(r524053)
@@ -0,0 +1,21 @@
+%%PORTDOCS%%%%DOCSDIR%%/changes.rst
+%%PORTDOCS%%%%DOCSDIR%%/commands_header.txt
+%%PORTDOCS%%%%DOCSDIR%%/generate_command_reference.py
+%%PORTDOCS%%%%DOCSDIR%%/index.rst
+%%PORTDOCS%%%%DOCSDIR%%/topics/advanced.rst
+%%PORTDOCS%%%%DOCSDIR%%/topics/commands.rst
+%%PORTDOCS%%%%DOCSDIR%%/topics/getting-started.rst
+%%PORTDOCS%%%%DOCSDIR%%/topics/logging.rst
+%%PORTDOCS%%%%DOCSDIR%%/topics/porting.rst
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asyncio_example.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorhandling.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/helloworld.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/idle.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/locking.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logger.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multitags.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/randomqueue.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stats.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stickers.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/summary.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/twisted_example.py



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001251816.00PIGIrd062018>