svn commit: r556358 - head/audio/py-python-mpd2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Nov 26 21:17:27 UTC 2020
Author: sunpoet
Date: Thu Nov 26 21:17:23 2020
New Revision: 556358
URL: https://svnweb.freebsd.org/changeset/ports/556358
Log:
Update to 2.0.0
- Change MASTER_SITES from GitHub to CHEESESHOP
- Remove EXAMPLES option
Changes: https://github.com/Mic92/python-mpd2/blob/master/doc/changes.rst
Modified:
head/audio/py-python-mpd2/Makefile
head/audio/py-python-mpd2/distinfo
head/audio/py-python-mpd2/pkg-plist
Modified: head/audio/py-python-mpd2/Makefile
==============================================================================
--- head/audio/py-python-mpd2/Makefile Thu Nov 26 21:17:18 2020 (r556357)
+++ head/audio/py-python-mpd2/Makefile Thu Nov 26 21:17:23 2020 (r556358)
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= python-mpd2
-PORTVERSION= 1.1.0
-DISTVERSIONPREFIX= v
+PORTVERSION= 2.0.0
CATEGORIES= audio python
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet at FreeBSD.org
@@ -13,26 +13,15 @@ COMMENT= Python MPD client library
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= python shebangfix
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
-USE_GITHUB= yes
-GH_ACCOUNT= Mic92
+OPTIONS_DEFINE= DOCS
-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 ${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 ${WRKSRC}/examples/summary.txt ${STAGEDIR}${EXAMPLESDIR}/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
Modified: head/audio/py-python-mpd2/distinfo
==============================================================================
--- head/audio/py-python-mpd2/distinfo Thu Nov 26 21:17:18 2020 (r556357)
+++ head/audio/py-python-mpd2/distinfo Thu Nov 26 21:17:23 2020 (r556358)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1579953627
-SHA256 (Mic92-python-mpd2-v1.1.0_GH0.tar.gz) = 2402b4a264bfc96fe743e7e8ee0128d896fc76a7847ae38d467fa58c03833d5f
-SIZE (Mic92-python-mpd2-v1.1.0_GH0.tar.gz) = 61104
+TIMESTAMP = 1606307703
+SHA256 (python-mpd2-2.0.0.tar.gz) = 5d0dac5d0d15aa5345aa6cefb4b793b83811926a155993c10829c48166553576
+SIZE (python-mpd2-2.0.0.tar.gz) = 53648
Modified: head/audio/py-python-mpd2/pkg-plist
==============================================================================
--- head/audio/py-python-mpd2/pkg-plist Thu Nov 26 21:17:18 2020 (r556357)
+++ head/audio/py-python-mpd2/pkg-plist Thu Nov 26 21:17:23 2020 (r556358)
@@ -1,21 +1,7 @@
%%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
More information about the svn-ports-all
mailing list