mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
Move audio/py-mpd2 to audio/py-python-mpd2
- Remove no-op DOCSDIR and EXAMPLESDIR: they are overwritten by USE_PYTHON=concurrent - Take maintainership
This commit is contained in:
parent
2da89afef8
commit
77ca6d59fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524053
@ -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
|
||||
|
@ -1,4 +0,0 @@
|
||||
A fork of the original MPD (Music Player Daemon) client library written
|
||||
in pure Python.
|
||||
|
||||
WWW: https://github.com/Mic92/python-mpd2
|
@ -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>
|
4
audio/py-python-mpd2/pkg-descr
Normal file
4
audio/py-python-mpd2/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
python-mpd2 is a Python library which provides a client interface for the Music
|
||||
Player Daemon.
|
||||
|
||||
WWW: https://github.com/Mic92/python-mpd2
|
21
audio/py-python-mpd2/pkg-plist
Normal file
21
audio/py-python-mpd2/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user